Add metrics for compliance group
What does this MR do and why?
Add metrics for compliance group
This MR add metrics for the compliance's group pages
Related to #416918 (closed)
How to set up and validate locally
- Visit one of the pages:
Project level
- Secure > Audit Events
Group level
- Secure > Audit Events
- Secure > Compliance center
- In the
rails console
, check for a non-zero counter value for the metric:
Gitlab::UsageDataCounters::HLLRedisCounter.unique_events(event_names: ['g_compliance_dashboard', 'users_visiting_audit_events'], start_date: Date.current.beginning_of_week, end_date: Date.current.next_week)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marcos Rocha