Skip to content

Commit

Permalink
Update metrics-overview.md
Browse files Browse the repository at this point in the history
Hey @mirnawong1 . I learned recently that "meta" was deprecated, and instead we need to add a "meta" under config for metric, kind of like here with semantic-model.

```semantic_models:
  - name: semantic_model_name
    config:
      meta: {<dictionary>}
```

We haven't added it yet, so for now I just removed meta. Once we add it under "config", we can add an example back. cc: @Jstein77
  • Loading branch information
rpourzand authored Jan 25, 2024
1 parent 7fbd066 commit 144fa2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/metrics-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The keys for metrics definitions are:
| `config` | Provide the specific configurations for your metric. | Optional |
| `label` | The display name for your metric. This value will be shown in downstream tools. | Required |
| `filter` | You can optionally add a filter string to any metric type, applying filters to dimensions, entities, or time dimensions during metric computation. Consider it as your WHERE clause. | Optional |
| `meta` | Additional metadata you want to add to your metric. | Optional |


Here's a complete example of the metrics spec configuration:

Expand Down

0 comments on commit 144fa2e

Please sign in to comment.