Skip to content

Migrate issues_edit redis_hll metrics to instrumentation classes

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 issues_edit events.

Screenshots or screen recordings

No UI changes

How to set up and validate locally

# Metrics are not collected by HLLRedisCouner class
pry(main)> Gitlab::UsageDataCounters::HLLRedisCounter.unique_events_data['issues_edit']
=> nil

# Metrics present in ServicePing (using metrics definitions)
pry(main)> ServicePing::BuildPayload.new.execute[:redis_hll_counters]['issues_edit']
=> {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