Commit 699bf74a authored by Nick Thomas's avatar Nick Thomas

Merge branch 'fix-metric-schema' into 'master'

Make milestone a string in metrics schema

See merge request gitlab-org/gitlab!55140
parents ab742125 dfca723f
...@@ -7,7 +7,7 @@ product_group: group::ops release ...@@ -7,7 +7,7 @@ product_group: group::ops release
product_category: product_category:
value_type: number value_type: number
status: data_available status: data_available
milestone: 13.2 milestone: "13.2"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35493 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35493
time_frame: 28d time_frame: 28d
data_source: database data_source: database
......
...@@ -8,7 +8,7 @@ product_group: group::product planning ...@@ -8,7 +8,7 @@ product_group: group::product planning
product_category: issue_tracking product_category: issue_tracking
value_type: number value_type: number
status: implemented status: implemented
milestone: 13.10 milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264
time_frame: 28d time_frame: 28d
data_source: redis_hll data_source: redis_hll
......
...@@ -8,7 +8,7 @@ product_group: group::product planning ...@@ -8,7 +8,7 @@ product_group: group::product planning
product_category: issue_tracking product_category: issue_tracking
value_type: number value_type: number
status: implemented status: implemented
milestone: 13.10 milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264
time_frame: 28d time_frame: 28d
data_source: redis_hll data_source: redis_hll
......
...@@ -7,7 +7,7 @@ product_group: group::project management ...@@ -7,7 +7,7 @@ product_group: group::project management
product_category: issue_tracking product_category: issue_tracking
value_type: number value_type: number
status: data_available status: data_available
milestone: 13.6 milestone: "13.6"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/229918 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/229918
time_frame: 7d time_frame: 7d
data_source: redis_hll data_source: redis_hll
......
...@@ -6,7 +6,7 @@ product_stage: release ...@@ -6,7 +6,7 @@ product_stage: release
product_group: group::ops release product_group: group::ops release
value_type: number value_type: number
status: data_available status: data_available
milestone: 8.12 milestone: "8.12"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/735 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/735
time_frame: all time_frame: all
data_source: database data_source: database
......
...@@ -7,7 +7,7 @@ product_group: group::product intelligence ...@@ -7,7 +7,7 @@ product_group: group::product intelligence
product_category: collection product_category: collection
value_type: string value_type: string
status: data_available status: data_available
milestone: 8.10 milestone: "8.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/557 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/557
time_frame: none time_frame: none
data_source: ruby data_source: ruby
......
...@@ -7,7 +7,7 @@ product_group: group::product intelligence ...@@ -7,7 +7,7 @@ product_group: group::product intelligence
product_category: collection product_category: collection
value_type: string value_type: string
status: data_available status: data_available
milestone: 9.1 milestone: "9.1"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1521 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1521
time_frame: none time_frame: none
data_source: database data_source: database
......
...@@ -29,10 +29,12 @@ ...@@ -29,10 +29,12 @@
"enum": ["data_available", "planned", "in_progress", "implemented", "not_used", "deprecated"] "enum": ["data_available", "planned", "in_progress", "implemented", "not_used", "deprecated"]
}, },
"milestone": { "milestone": {
"type": ["number", "null"] "type": ["string", "null"],
"pattern": "^[0-9]+\\.[0-9]+$"
}, },
"milestone_removed": { "milestone_removed": {
"type": ["number", "null"] "type": ["string", "null"],
"pattern": "^[0-9]+\\.[0-9]+$"
}, },
"introduced_by_url": { "introduced_by_url": {
"type": ["string", "null"] "type": ["string", "null"]
......
...@@ -11211,7 +11211,7 @@ When the Usage Ping computation was started ...@@ -11211,7 +11211,7 @@ When the Usage Ping computation was started
| `product_category` | `collection` | | `product_category` | `collection` |
| `value_type` | string | | `value_type` | string |
| `status` | data_available | | `status` | data_available |
| `milestone` | 8.1 | | `milestone` | 8.10 |
| `introduced_by_url` | [Introduced by](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/557) | | `introduced_by_url` | [Introduced by](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/557) |
| `time_frame` | none | | `time_frame` | none |
| `data_source` | Ruby | | `data_source` | Ruby |
...@@ -17653,7 +17653,7 @@ Missing description ...@@ -17653,7 +17653,7 @@ Missing description
| `product_category` | `issue_tracking` | | `product_category` | `issue_tracking` |
| `value_type` | number | | `value_type` | number |
| `status` | implemented | | `status` | implemented |
| `milestone` | 13.1 | | `milestone` | 13.10 |
| `introduced_by_url` | [Introduced by](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264) | | `introduced_by_url` | [Introduced by](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264) |
| `time_frame` | 28d | | `time_frame` | 28d |
| `data_source` | Redis_hll | | `data_source` | Redis_hll |
...@@ -17674,7 +17674,7 @@ Missing description ...@@ -17674,7 +17674,7 @@ Missing description
| `product_category` | `issue_tracking` | | `product_category` | `issue_tracking` |
| `value_type` | number | | `value_type` | number |
| `status` | implemented | | `status` | implemented |
| `milestone` | 13.1 | | `milestone` | 13.10 |
| `introduced_by_url` | [Introduced by](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264) | | `introduced_by_url` | [Introduced by](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49264) |
| `time_frame` | 28d | | `time_frame` | 28d |
| `data_source` | Redis_hll | | `data_source` | Redis_hll |
......
...@@ -6,7 +6,7 @@ product_group: group::geo ...@@ -6,7 +6,7 @@ product_group: group::geo
product_category: disaster_recovery product_category: disaster_recovery
value_type: number value_type: number
status: data_available status: data_available
milestone: 11.2 milestone: "11.2"
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -8,7 +8,7 @@ product_group: ...@@ -8,7 +8,7 @@ product_group:
product_category: product_category:
value_type: <%= value_type %> value_type: <%= value_type %>
status: implemented status: implemented
milestone: <%= milestone %> milestone: "<%= milestone %>"
introduced_by_url: introduced_by_url:
time_frame: <%= time_frame %> time_frame: <%= time_frame %>
data_source: data_source:
......
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