Skip to content

Add incident management analytics events

Sean Arnold requested to merge 233933-poc-inicident-management-metrics into master

What does this MR do?

This is an initial start on implementing the Incident Management analytics.

We can use this to feed into Gitlab::UsageData.

In order to make the tracking of events easy and generic, we've added #track_usage_event to Gitlab::Utils::UsageData, which can be used anywhere the module is included.

I've added the events to the event directory:

  • redis_hll_counters.incident_management.incident_management_activity
  • redis_hll_counters.incident_management.incident_management_alert_status_changed
  • redis_hll_counters.incident_management.incident_management_alert_assigned
  • redis_hll_counters.incident_management.incident_management_alert_todo
  • redis_hll_counters.incident_management.incident_management_incident_created
  • redis_hll_counters.incident_management.incident_management_incident_closed
  • redis_hll_counters.incident_management.incident_management_incident_assigned
  • redis_hll_counters.incident_management.incident_management_incident_todo
  • redis_hll_counters.incident_management.incident_management_incident_comment
  • redis_hll_counters.incident_management.incident_management_incident_zoom_meeting
  • redis_hll_counters.incident_management.incident_management_incident_published
  • redis_hll_counters.incident_management.incident_management_incident_relate
  • redis_hll_counters.incident_management.incident_management_incident_unrelate
  • redis_hll_counters.incident_management.incident_management_incident_change_confidential

Feature flags that have been enabled by default:

  • incident_management_alert_status_changed
  • incident_management_alert_assigned
  • incident_management_alert_todo
  • incident_management_incident_created
  • incident_management_incident_reopened
  • incident_management_incident_closed
  • incident_management_incident_assigned
  • incident_management_incident_todo
  • incident_management_incident_comment
  • incident_management_incident_zoom_meeting
  • incident_management_incident_published
  • incident_management_incident_relate
  • incident_management_incident_unrelate
  • incident_management_incident_change_confidential

Does this MR meet the acceptance criteria?

Conformity

Related to #233933 (closed)

Edited by Sean Arnold

Merge request reports