From bb91c94085f8134ce81a46c0b0a93a15eca8b0fe Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Mon, 20 Jan 2025 07:14:38 +0000 Subject: [PATCH] Move metrics key This pr moves the metrics so it's not nested under semantic_models. Raised by user in community slack https://getdbt.slack.com/archives/C02CCBBBR1D/p1737248111053329 --- website/docs/docs/build/metrics-overview.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/website/docs/docs/build/metrics-overview.md b/website/docs/docs/build/metrics-overview.md index 93a33759dd5..fdca70d7779 100644 --- a/website/docs/docs/build/metrics-overview.md +++ b/website/docs/docs/build/metrics-overview.md @@ -120,14 +120,15 @@ semantic_models: - name: orders expr: 1 agg: sum - metrics: - - name: orders - type: simple - label: Count of Orders - type_params: - measure: - name: orders - time_granularity: month -- Optional, defaults to day + +metrics: + - name: orders + type: simple + label: Count of Orders + type_params: + measure: + name: orders + time_granularity: month -- Optional, defaults to day ```