diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /config/metrics/schema.json | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'config/metrics/schema.json')
-rw-r--r-- | config/metrics/schema.json | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/config/metrics/schema.json b/config/metrics/schema.json index e9a4a16ecd3..476e292e5c0 100644 --- a/config/metrics/schema.json +++ b/config/metrics/schema.json @@ -30,7 +30,7 @@ }, "status": { "type": ["string"], - "enum": ["data_available", "implemented", "not_used", "deprecated", "removed"] + "enum": ["data_available", "implemented", "not_used", "deprecated", "removed", "broken"] }, "milestone": { "type": ["string", "null"], @@ -43,7 +43,10 @@ "introduced_by_url": { "type": ["string", "null"] }, - "extra": { + "repair_issue_url": { + "type": ["string"] + }, + "options": { "type": "object" }, "time_frame": { @@ -52,11 +55,15 @@ }, "data_source": { "type": "string", - "enum": ["database", "redis", "redis_hll", "prometheus", "system"] + "enum": ["database", "redis", "redis_hll", "prometheus", "system", "license"] + }, + "data_category": { + "type": "string", + "enum": ["Operational", "Optional", "Subscription", "Standard"] }, "instrumentation_class": { "type": "string", - "pattern": "^(([A-Z][a-z]+)+::)*(([A-Z][a-z]+)+)$" + "pattern": "^(([A-Z][a-z]+)+::)*(([A-Z]+[a-z]+)+)$" }, "distribution": { "type": "array", @@ -78,5 +85,17 @@ "value_json_schema": { "type": "string" } - } + }, + "allOf": [ + { + "if": { + "properties": { + "status": { "const": "broken" } + } + }, + "then": { + "required": ["repair_issue_url"] + } + } + ] } |