-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] v.1.0.0-rc1 doesn't count metrics #4290
Labels
bug
Something isn't working
Comments
@joellabes Nice catch!! Metrics are missing here: dbt-core/core/dbt/compilation.py Lines 84 to 96 in 719b202
We need this to include: for metric in manifest.metrics.values():
stats[metric.resource_type] += 1 Then I get:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior
I'm experimenting with metrics, and noticed that after creating one and running
dbt compile
that it was not being counted.Expected Behavior
Found 477 models, [...], 1 metric
Steps To Reproduce
Create this file:
then run
dbt compile
Relevant log output
Environment
What database are you using dbt with?
snowflake
Additional Context
manifest.json contains the metric:
The text was updated successfully, but these errors were encountered: