[CT-1339] [Feature] dbt exposures should support metrics #6057
Labels
enhancement
New feature or request
exposures
semantic
Issues related to the semantic layer
support_rotation
A good task to pick up during support rotation
Is this your first time submitting a feature request?
Describe the feature
As a dbt user, I want to be able to use metrics in my exposures. For example, if I have a dashboard, I should be able to add it as an exposure in my DAG, and show that it uses certain models and metrics. This is especially useful once I can directly query those metrics via the Semantic Layer.
Describe alternatives you've considered
I've tried adding metrics in my project under the ref'd models in the exposure definition (i.e. using the metric(...) syntax used to define dependencies in derived metrics), but the metrics don't appear in the lineage graph after the project compiles.
Who will this benefit?
Exposures are a great way to 'extend the DAG' and should support models and metrics. I want to see where my metrics are used and how:
This will benefit organizations adopting dbt metrics, especially those querying them via the Semantic Layer.
Are you interested in contributing this feature?
I'm happy to give feedback and help user test the functionality!
Anything else?
No response
The text was updated successfully, but these errors were encountered: