Skip to content
代码片段 群组 项目
未验证 提交 56e7aaaf 编辑于 作者: Jonas Larsen's avatar Jonas Larsen 提交者: GitLab
浏览文件

Make events root property prohibited in redis_event metrics

The root property `events` is used by metrics with the `data_source: internal_events`.
Sometimes we forget to update the `data_source` when we migrate a metric from RedisHLL to InternalEvents.

This change makes sure the spec will fail if we add a `events` root property and keep the `redis_hll` `data_source`.
上级 af2fd2a3
No related branches found
No related tags found
无相关合并请求
显示 14 个添加9 个删除
......@@ -8,7 +8,7 @@ product_group: source_code
value_type: number
status: active
time_frame: 28d
data_source: redis_hll
data_source: internal_events
instrumentation_class: RedisHLLMetric
options:
events:
......
......@@ -9,7 +9,7 @@ status: active
milestone: '14.6'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75187
time_frame: 28d
data_source: redis_hll
data_source: internal_events
data_category: optional
instrumentation_class: RedisHLLMetric
performance_indicator_type: []
......
......@@ -9,7 +9,7 @@ status: active
milestone: '14.6'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75187
time_frame: 28d
data_source: redis_hll
data_source: internal_events
data_category: operational
instrumentation_class: RedisHLLMetric
performance_indicator_type:
......
......@@ -9,7 +9,7 @@ status: active
milestone: '14.6'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75187
time_frame: 28d
data_source: redis_hll
data_source: internal_events
data_category: operational
instrumentation_class: RedisHLLMetric
performance_indicator_type:
......
......@@ -8,7 +8,7 @@ product_group: source_code
value_type: number
status: active
time_frame: 7d
data_source: redis_hll
data_source: internal_events
instrumentation_class: RedisHLLMetric
options:
events:
......
......@@ -9,7 +9,7 @@ status: active
milestone: '14.6'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75187
time_frame: 7d
data_source: redis_hll
data_source: internal_events
data_category: optional
instrumentation_class: RedisHLLMetric
performance_indicator_type: []
......
......@@ -9,7 +9,7 @@ status: active
milestone: '14.6'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75187
time_frame: 7d
data_source: redis_hll
data_source: internal_events
data_category: optional
instrumentation_class: RedisHLLMetric
performance_indicator_type: []
......
......@@ -9,7 +9,7 @@ status: active
milestone: '14.6'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75187
time_frame: 7d
data_source: redis_hll
data_source: internal_events
data_category: optional
instrumentation_class: RedisHLLMetric
performance_indicator_type: []
......
......@@ -32,7 +32,12 @@
"required": [
"instrumentation_class",
"options"
]
],
"not": {
"required": [
"events"
]
}
},
{
"properties": {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册