Migrate RedisHLL metrics to instrumentation classes
Migrate RedisHLL metrics to instrumentation classes.
Example of metric instrumented with RedisHLLMetric class: redis_hll_counters.quickactions.i_quickactions_approve_monthly
Example of MR migrating one event and the 2 related metrics !66655 (closed)
Example of MR: !61685 (merged)
The metrics definitions under ee should have the tests under ee/spec/lib/gitlab/usage_data_metrics_spec.rb
This can be done in multiple MRs. One way could be an MR for a category of events. Events are defined in known_events
Proposed split per MRs:
-
Migrate metrics related with compliance events category -
Migrate metrics ide_edit
category -
Migrate search category -
Migrate source_code
-
Migrate incident_management
-
Migrate testing
-
Migrate issues_edit
-
Migrate ci_secrets_management
-
Migrate terraform
-
Migrate pipeline_authoring
-
Migrate secure
-
Migrate analytics -
Migrate ci_templates -
Migrate code_review_events -
Migrate ecosystem -
Migrate epic_board_events -
Migrate epic_events -
Migrate package_events -
Migrate quick_actions
Edition:
Added
-
Migrate snippets -
Migrate network_policies
Removed from scope
-
After all metrics are migrated remove theIssue #338463 (closed)redis_hll_counters
method fromusage_data.rb
Edited by Luis Mejia