Skip to content

Count approval project rule created monthly

What does this MR do and why?

Adds service ping count for approval project rules created for monthly time frame.

How to set up and validate locally

  1. Create approval project rule
  2. use below code to see if counter is incremented correctly.
Gitlab::UsageDataCounters::HLLRedisCounter.unique_events(event_names: 'approval_project_rule_created', 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.

Related to #382739 (closed)

Edited by Harsimar Sandhu

Merge request reports