Skip to content

Add active_user_count instrumentations metric

Niko Belokolodov requested to merge add_active_user_instr_metric into master

What does this MR do and why?

Migrates subscription active_user_count metric to use instrumental class.

Related to #338461 (closed)

How to set up and validate locally

  1. Collect instrumentation metrics q = Gitlab::UsageDataMetrics.uncached_data
  2. Make sure active_user_count gets collected
> q[:active_user_count].present?
=> true

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 Niko Belokolodov

Merge request reports