From 29f597c64e94da717302780943e7552a841c7125 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Fri, 26 Jan 2024 15:25:46 +0000 Subject: [PATCH] add changes --- .../docs/docs/build/metricflow-commands.md | 41 +++++++----- .../docs/docs/dbt-cloud-apis/sl-graphql.md | 63 +++++++++++++++++++ website/docs/docs/dbt-cloud-apis/sl-jdbc.md | 37 ++++++----- 3 files changed, 110 insertions(+), 31 deletions(-) diff --git a/website/docs/docs/build/metricflow-commands.md b/website/docs/docs/build/metricflow-commands.md index a0964269e68..19f1b095da0 100644 --- a/website/docs/docs/build/metricflow-commands.md +++ b/website/docs/docs/build/metricflow-commands.md @@ -25,7 +25,7 @@ Using MetricFlow with dbt Cloud means you won't need to manage versioning &mdash -- MetricFlow commands are embedded in the dbt Cloud CLI. This means you can immediately run them once you install the dbt Cloud CLI and don't need to install MetricFlow separately. +- MetricFlow [commands](#metricflow-commands) are embedded in the dbt Cloud CLI. This means you can immediately run them once you install the dbt Cloud CLI and don't need to install MetricFlow separately. - You don't need to manage versioning — your dbt Cloud account will automatically manage the versioning for you. @@ -36,21 +36,17 @@ Using MetricFlow with dbt Cloud means you won't need to manage versioning &mdash You can create metrics using MetricFlow in the dbt Cloud IDE. However, support for running MetricFlow commands in the IDE will be available soon. ::: - - +:::tip Use dbt Cloud CLI for semantic layer development -:::info Use dbt Cloud CLI for semantic layer development - -Use the dbt Cloud CLI for the experience in defining and querying metrics in your dbt project on dbt Cloud or dbt Core with MetricFlow. +You can use the dbt Cloud CLI for the experience in defining and querying metrics in your dbt project. A benefit to using the dbt Cloud is that you won't need to manage versioning — your dbt Cloud account will automatically manage the versioning. ::: - You can install [MetricFlow](https://github.com/dbt-labs/metricflow#getting-started) from [PyPI](https://pypi.org/project/dbt-metricflow/). You need to use `pip` to install MetricFlow on Windows or Linux operating systems: 1. Create or activate your virtual environment `python -m venv venv` @@ -70,16 +66,16 @@ Something to note, MetricFlow `mf` commands return an error if you have a Metafo MetricFlow provides the following commands to retrieve metadata and query metrics. - + -Use the `dbt sl` prefix before the command name to execute them in dbt Cloud. For example, to list all metrics, run `dbt sl list metrics`. +You can use the `dbt sl` prefix before the command name to execute them in the dbt Cloud CLI. For example, to list all metrics, run `dbt sl list metrics`. - [`list`](#list) — Retrieves metadata values. - [`list metrics`](#list-metrics) — Lists metrics with dimensions. - [`list dimensions`](#list) — Lists unique dimensions for metrics. - [`list dimension-values`](#list-dimension-values) — List dimensions with metrics. - [`list entities`](#list-entities) — Lists all unique entities. -- [`query`](#query) — Query metrics and dimensions you want to see in the command line interface. Refer to [query examples](#query-examples) to help you get started. +- [`query`](#query) — Query metrics, saved queries, and dimensions you want to see in the command line interface. Refer to [query examples](#query-examples) to help you get started.