Welcome to mirror list, hosted at ThFree Co, Russian Federation.

common.yml « aggregated_metrics « usage_data_counters « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 97ec8423b9527a2077f1ab16a9599e0f7a40405e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#- 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']
  feature_flag: product_analytics_aggregated_metrics
- name: product_analytics_test_metrics_intersection
  operator: AND
  events: ['i_search_total', 'i_search_advanced', 'i_search_paid']