#- name: unique name of aggregated metric # operator: aggregation operator. Valid values are: # - "OR": counts unique elements that were observed triggering any of following events # - "AND": counts unique elements that were observed triggering all of following events # events: list of events names to aggregate into metric. All events in this list must have the same 'redis_slot' and 'aggregation' attributes # see from lib/gitlab/usage_data_counters/known_events/ for the list of valid events. # feature_flag: name of development feature flag that will be checked before metrics aggregation is performed. # Corresponding feature flag should have `default_enabled` attribute set to `false`. # This attribute is OPTIONAL and can be omitted, when `feature_flag` is missing no feature flag will be checked. --- - name: product_analytics_test_metrics_union operator: OR events: ['i_search_total', 'i_search_advanced', 'i_search_paid'] - name: product_analytics_test_metrics_intersection operator: AND events: ['i_search_total', 'i_search_advanced', 'i_search_paid'] - name: incident_management_alerts_total_unique_counts operator: OR events: [ 'incident_management_alert_status_changed', 'incident_management_alert_assigned', 'incident_management_alert_todo', 'incident_management_alert_create_incident' ] - name: incident_management_incidents_total_unique_counts operator: OR events: [ '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' ]