Commit a21b2c07 authored by Tetiana Chupryna's avatar Tetiana Chupryna

Merge branch 'sisense-snippet-yaml' into 'master'

Add performance_indicator_type

See merge request gitlab-org/gitlab!66812
parents db755a1d aeaab915
......@@ -72,6 +72,13 @@
"enum": ["ee", "ce"]
}
},
"performance_indicator_type": {
"type": "array",
"items": {
"type": "string",
"enum": ["gmau", "smau", "paid_gmau", "umau"]
}
},
"tier": {
"type": "array",
"items": {
......
......@@ -40,6 +40,7 @@ Each metric is defined in a separate YAML file consisting of a number of fields:
| `data_category` | yes | `string`; [categories](#data-category) of the metric, may be set to `Operational`, `Optional`, `Subscription`, `Standard`. The default value is `Optional`.|
| `instrumentation_class` | no | `string`; [the class that implements the metric](metrics_instrumentation.md). |
| `distribution` | yes | `array`; may be set to one of `ce, ee` or `ee`. The [distribution](https://about.gitlab.com/handbook/marketing/strategic-marketing/tiers/#definitions) where the tracked feature is available. |
| `performance_indicator_type` | no | `array`; may be set to one of [`gmau`, `smau`, `paid_gmau`, or `umau`](https://about.gitlab.com/handbook/business-technology/data-team/data-catalog/xmau-analysis/). |
| `tier` | yes | `array`; may be set to one of `free, premium, ultimate`, `premium, ultimate` or `ultimate`. The [tier]( https://about.gitlab.com/handbook/marketing/strategic-marketing/tiers/) where the tracked feature is available. |
| `milestone` | no | The milestone when the metric is introduced. |
| `milestone_removed` | no | The milestone when the metric is removed. |
......
......@@ -12,6 +12,7 @@ introduced_by_url:
time_frame: <%= time_frame %>
data_source:
data_category: Optional
performance_indicator_type:
distribution:
<%= distribution %>
tier:
......
......@@ -13,6 +13,7 @@ introduced_by_url:
time_frame: 7d
data_source:
data_category: Operational
performance_indicator_type:
distribution:
- ce
# Add here corresponding tiers
......
......@@ -13,6 +13,7 @@ introduced_by_url:
time_frame: 7d
data_source:
data_category: Optional
performance_indicator_type:
distribution:
- ee
tier:
......
......@@ -14,6 +14,7 @@ introduced_by_url:
time_frame: 7d
data_source:
data_category: Optional
performance_indicator_type:
distribution:
- ce
- ee
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment