Skip to content

Mirror compliance_total_unique_counts_monthly metric as Snowplow event

What does this MR do and why?

Related to #362280 (closed).

This mirrors the following Redis HLL events that are part of the redis_hll_counters.compliance.compliance_total_unique_counts_monthly metric as Snowplow events (a mirrored version of g_compliance_dashboard event has already been instrumented):

  • i_compliance_credential_inventory
  • i_compliance_audit_events
  • g_compliance_audit_events
  • a_compliance_audit_events_api

The Snowplow events are complete with a custom context for Redis metrics migrated to Snowplow events. See the new schema for details.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Set up Snowplow Micro.
  2. Satisfy one of the conditions in event descriptions at config/events/*.yml to fire a Snowplow event and observe it in Snowplow Micro at http://localhost:9091/micro/good or other configured URL.

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 Piotr Skorupa

Merge request reports