Commit 5e4d74e8 authored by Kati Paizee's avatar Kati Paizee

Merge branch...

Merge branch '327736-add-extra-arguments-to-metric-yaml-defintion-for-filtering-data-in-instrumentation-class' into 'master'

Add extra arguments to Metric YAML defintion

See merge request gitlab-org/gitlab!61037
parents db328436 c3e81dbb
......@@ -43,6 +43,9 @@
"introduced_by_url": {
"type": ["string", "null"]
},
"extra": {
"type": "object"
},
"time_frame": {
"type": "string",
"enum": ["7d", "28d", "all", "none"]
......
......@@ -43,6 +43,7 @@ Each metric is defined in a separate YAML file consisting of a number of fields:
| `milestone` | no | The milestone when the metric is introduced. |
| `milestone_removed` | no | The milestone when the metric is removed. |
| `introduced_by_url` | no | The URL to the Merge Request that introduced the metric. |
| `extra` | no | `object`: extra information needed to calculate the metric value. |
| `skip_validation` | no | This should **not** be set. [Used for imported metrics until we review, update and make them valid](https://gitlab.com/groups/gitlab-org/-/epics/5425). |
### Metric statuses
......
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