Skip to content

Make events root property prohibited in redis_event metrics

Jonas Larsen requested to merge j_lar/tighten_metric_schema into master

What does this MR do and why?

It looks like we forgot to update the data_source for a few metrics that were already migrated.

This MR makes events root properties prohibited in redis_hll 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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports