From cf000ccaa9d552e34ede9b2858d134f759d79b65 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Mon, 13 Nov 2023 10:59:48 +0000 Subject: [PATCH] folding in williams' feedback --- .../semantic-layer-4-build-metrics.md | 2 +- website/docs/docs/build/metricflow-commands.md | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/website/docs/best-practices/how-we-build-our-metrics/semantic-layer-4-build-metrics.md b/website/docs/best-practices/how-we-build-our-metrics/semantic-layer-4-build-metrics.md index 8b112f2f828..da83adbdc69 100644 --- a/website/docs/best-practices/how-we-build-our-metrics/semantic-layer-4-build-metrics.md +++ b/website/docs/best-practices/how-we-build-our-metrics/semantic-layer-4-build-metrics.md @@ -36,7 +36,7 @@ metrics: Use [MetricFlow commands](/docs/build/metricflow-commands#metricflow) for metric validation or queries during development, and apply the following conventions based on your environment: -- For dbt Cloud, use the `dbt sl` prefix before the command (such as, `dbt sl parse` or `dbt sl query`). +- For dbt Cloud, use the `dbt sl` prefix before the command (such as, `dbt sl query`). - For dbt Core, use the `mf` prefix (such as `mf validate-configs` or `mf query)`. Follow these best practices when updating your semantic layer code, using the `mf` command as an example (replace `mf` with `dbt sl` if you're using dbt Cloud): diff --git a/website/docs/docs/build/metricflow-commands.md b/website/docs/docs/build/metricflow-commands.md index fd120591900..4d2477ad2ed 100644 --- a/website/docs/docs/build/metricflow-commands.md +++ b/website/docs/docs/build/metricflow-commands.md @@ -179,8 +179,9 @@ Options: ### Validate-configs -This command performs validations against the defined semantic model configurations: - +The following command performs validations against the defined semantic model configurations. + +Note, in dbt Cloud you don't need to validate the Semantic Layer config separately. Running a dbt command (such as `dbt parse`, `dbt build`, `dbt compile`, `dbt run`) automatically checks it. ```bash @@ -205,11 +206,12 @@ Options: ### Health checks -This command performs a health check against the data platform you provided in the configs: - +The following command performs a health check against the data platform you provided in the configs. + +Note, in dbt Cloud the `health-checks` command isn't required since it uses dbt Cloud's credentials to perform the health check. ```bash -mf health-checks #in dbt Core +mf health-checks # In dbt Core ``` ### Tutorial