Skip to content

Add helper for tracking Redis HLL events in controllers

What does this MR do?

Contex for this changes #232831 (closed)

  • Add feature per metric

  • Add a helper for tracking events using Redis HLL counter in controllers

  # Example:
  
   # In controller include helper
   # Track event for index action
  
   include RedisTracking
  
   track_redis_hll_event :index, name: 'i_analytics_dev_ops_score', feature: :my_feature

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Relates #235954 (closed)

Edited by Alina Mihaila

Merge request reports

Loading