Check if metrics that are added dynamic have corresponding metric defintions
Follow up issue from #340503 (closed)
Summary
We identified some metrics which were missing from service ping see details #340503 (closed)
We should check all metric that are added dynamic if have metrics definitions and they appear in filtered payload.
Identify all metrics that are added dynamic like and check if they have corresponding metric definitions
-
email_campaign_counts
-
services_usage
-
container_expiration_policies_usage
-
security_products_usage
-
usage_activity_by_stage_enablement
-
usage_activity_by_stage_secure
-
count_secure_scans
-
Add metrics definitions if they are missing -
Check if service ping payload is generated and filtered correct. -
Compare a service ping payload from gitlab.com before the filtering and after filtering. The payloads are available in raw_usage_data
table or in slack, looking at the monitoring issue- the filtering issue #333681 (closed)
Note: This is the list I came up with at the first look in usage_data.rb and ee usage_data.rb, please double check
Edited by Piotr Skorupa