Skip to content

Remove legacy aggregated metric implementation

What does this MR do and why?

It completes 5th steps from #370963 (closed) after all aggregated metrics has been migrated to new syntax with #373830 (closed). With all existing aggregated metrics has been migrated to instrumentation classes, legacy code to is not used any more. This MR remove legacy implementation. This feature was for internal use only, therefore it does not require standard removal process

Describe in detail what your merge request does and why.

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

Use rails console to compare output on master and feature branch

Gitlab::UsageDataCounters::HLLRedisCounter.track_event('users_creating_work_items', values: 1, time: 6.days.ago)
Gitlab::UsageDataCounters::HLLRedisCounter.track_event('users_updating_work_item_title', values: 2, time: 6.days.ago)

payload = ServicePing::BuildPayload.new.execute
payload[:counts_monthly]
payload[:counts_weekly]

MR acceptance checklist

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

Edited by Mikołaj Wawrzyniak

Merge request reports