Skip to content

Add Optional data category to all metric definitions

What does this MR do?

Part of #332678.

This adds data_category: Optional for all metric definitions except the set of definitions that are meant to be part of the Standard category: uuid, hostname, license_subscription_id, license_md.

This is a large MR (in the sense of a massive number of files modified), but all these files have the exact same change and it wouldn't make sense to divide this into smaller parts. The changes were generated by this sed one-liner:

sed -i -e '1adata_category: Optional' config/metrics/**/*.yml 

The same has been done for ee/config/metrics/* files. Then I removed changes in aggregates subfolders and manually removed changes for the Standard metrics.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Piotr Skorupa

Merge request reports