Skip to content

Migrate ci_secrets_management metrics to instrumentation framework

What does this MR do and why?

With #338463 (closed) foundation for migration of redis hll metrics into isturmentation classes framework has been implemented. Additional first batch of metrics was migrated. This issue is a follow up to migrate the pending ci_secrets_management ones.

Screenshots or screen recordings

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

How to set up and validate locally

pry(main)> Gitlab::UsageDataCounters::HLLRedisCounter.unique_events_data['ci_secrets_management']
=> nil

pry(main)> ServicePing::BuildPayload.new.execute[:redis_hll_counters]['ci_secrets_management']
=> {array of metrics}

MR acceptance checklist

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

Related to #368996 (closed)

Edited by Niko Belokolodov

Merge request reports