You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
#/models/metrics/metrics_definitions.ymlversion: 2metrics:
- name: slack_joinerslabel: Members of Community Slackmodel: ref('dim_slack_users')type: counttimestamp: joined_attime_grains: [day, week, month] #does it make sense to have num weekly active members over a month?dimensions:
- has_messaged
- is_active_past_quarter
then run dbt compile
Relevant log output
(dbt-preprod) joel@Joel-Labes internal-analytics % dbt compile
17:19:10 | [ info ] | Running with dbt=1.0.0-rc1
17:19:10 | [ warn ] |* Deprecation Warning: The `source-paths` config has been deprecated in favor of
`model-paths`. Please update your `dbt_project.yml` configuration to reflect
this change.
17:19:10 | [ info ] | Found 477 models, 732 tests, 4 snapshots, 5 analyses, 572 macros, 1 operation, 19 seed files, 719 sources, 7 exposures, 0 metrics
17:19:10 | [ info ] |
17:19:10 | [ error ] | Encountered an error:
Database Error
250001 (08001): Failed to connect to DB: kw27752.snowflakecomputing.com:443. IP 151.210.160.244 is not allowed to access Snowflake. Contact your local security administrator.
^^ I wasn't on the VPN, but the node enumeration happens without that
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: