Commit 4c6b1149 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak Committed by Mark Chao

Update Metrics definitions for Product Intelligence group

parent 23289c19
---
title: Deprecate Product Intelligence test aggregated metrics
merge_request: 57377
author:
type: deprecated
...@@ -27,22 +27,6 @@ ...@@ -27,22 +27,6 @@
- 'i_compliance_audit_events' - 'i_compliance_audit_events'
- 'a_compliance_audit_events_api' - 'a_compliance_audit_events_api'
- 'i_compliance_credential_inventory' - 'i_compliance_credential_inventory'
- name: product_analytics_test_metrics_union
operator: OR
source: redis
time_frame: [7d, 28d]
events:
- 'i_search_total'
- 'i_search_advanced'
- 'i_search_paid'
- name: product_analytics_test_metrics_intersection
operator: AND
source: redis
time_frame: [7d, 28d]
events:
- 'i_search_total'
- 'i_search_advanced'
- 'i_search_paid'
- name: incident_management_alerts_total_unique_counts - name: incident_management_alerts_total_unique_counts
operator: OR operator: OR
source: redis source: redis
......
--- ---
key_path: counts_monthly.aggregated_metrics.product_analytics_test_metrics_union key_path: counts_monthly.aggregated_metrics.product_analytics_test_metrics_union
description: '' description: This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
product_section: '' product_section: growth
product_stage: '' product_stage: growth
product_group: '' product_group: group::product intelligence
product_category: '' product_category: collection
value_type: number value_type: number
status: data_available status: removed
time_frame: 28d milestone_removed: '13.11'
data_source: database milestone: '13.7'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49886
time_frame: 7d
data_source: redis_hll
distribution: distribution:
- ce - ce
- ee
tier: tier:
- free - free
skip_validation: true - premium
- ultimate
--- ---
key_path: counts_monthly.aggregated_metrics.product_analytics_test_metrics_intersection key_path: counts_monthly.aggregated_metrics.product_analytics_test_metrics_intersection
description: '' description: This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
product_section: '' product_section: growth
product_stage: '' product_stage: growth
product_group: '' product_group: group::product intelligence
product_category: '' product_category: collection
value_type: number value_type: number
status: data_available status: removed
milestone_removed: '13.11'
milestone: '13.7'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49886
time_frame: 28d time_frame: 28d
data_source: database data_source: redis_hll
distribution: distribution:
- ce - ce
- ee
tier: tier:
- free - free
skip_validation: true - premium
- ultimate
---
key_path: counts_weekly.aggregated_metrics.product_analytics_test_metrics_union
description: This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
product_section: growth
product_stage: growth
product_group: group::product intelligence
product_category: collection
value_type: number
status: removed
milestone_removed: '13.11'
milestone: '13.7'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49886
time_frame: 7d
data_source: redis_hll
distribution:
- ce
- ee
tier:
- free
- premium
- ultimate
---
key_path: counts_weekly.aggregated_metrics.product_analytics_test_metrics_intersection
description: This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
product_section: growth
product_stage: growth
product_group: group::product intelligence
product_category: collection
value_type: number
status: removed
milestone_removed: '13.11'
milestone: '13.7'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49886
time_frame: 7d
data_source: redis_hll
distribution:
- ce
- ee
tier:
- free
- premium
- ultimate
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
}, },
"status": { "status": {
"type": ["string"], "type": ["string"],
"enum": ["data_available", "implemented", "not_used", "deprecated"] "enum": ["data_available", "implemented", "not_used", "deprecated", "removed"]
}, },
"milestone": { "milestone": {
"type": ["string", "null"], "type": ["string", "null"],
......
...@@ -6154,27 +6154,27 @@ Tiers: `free` ...@@ -6154,27 +6154,27 @@ Tiers: `free`
### `counts_monthly.aggregated_metrics.product_analytics_test_metrics_intersection` ### `counts_monthly.aggregated_metrics.product_analytics_test_metrics_intersection`
Missing description This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183205_product_analytics_test_metrics_intersection.yml) [YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183205_product_analytics_test_metrics_intersection.yml)
Group: `` Group: `group::product intelligence`
Status: `data_available` Status: `removed`
Tiers: `free` Tiers: `free`, `premium`, `ultimate`
### `counts_monthly.aggregated_metrics.product_analytics_test_metrics_union` ### `counts_monthly.aggregated_metrics.product_analytics_test_metrics_union`
Missing description This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183203_product_analytics_test_metrics_union.yml) [YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183203_product_analytics_test_metrics_union.yml)
Group: `` Group: `group::product intelligence`
Status: `data_available` Status: `removed`
Tiers: `free` Tiers: `free`, `premium`, `ultimate`
### `counts_monthly.deployments` ### `counts_monthly.deployments`
...@@ -6322,27 +6322,27 @@ Tiers: ...@@ -6322,27 +6322,27 @@ Tiers:
### `counts_weekly.aggregated_metrics.product_analytics_test_metrics_intersection` ### `counts_weekly.aggregated_metrics.product_analytics_test_metrics_intersection`
Missing description This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/config/metrics/counts_7d/20210216183215_product_analytics_test_metrics_intersection.yml) [YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_7d/20210216183215_product_analytics_test_metrics_intersection.yml)
Group: `` Group: `group::product intelligence`
Status: `data_available` Status: `removed`
Tiers: Tiers: `free`, `premium`, `ultimate`
### `counts_weekly.aggregated_metrics.product_analytics_test_metrics_union` ### `counts_weekly.aggregated_metrics.product_analytics_test_metrics_union`
Missing description This was test metric used for purpose of assuring correct implementation of aggregated metrics feature
[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/config/metrics/counts_7d/20210216183213_product_analytics_test_metrics_union.yml) [YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_7d/20210216183213_product_analytics_test_metrics_union.yml)
Group: `` Group: `group::product intelligence`
Status: `data_available` Status: `removed`
Tiers: Tiers: `free`, `premium`, `ultimate`
### `database.adapter` ### `database.adapter`
......
...@@ -33,7 +33,7 @@ Each metric is defined in a separate YAML file consisting of a number of fields: ...@@ -33,7 +33,7 @@ Each metric is defined in a separate YAML file consisting of a number of fields:
| `product_group` | yes | The [group](https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/data/stages.yml) that owns the metric. | | `product_group` | yes | The [group](https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/data/stages.yml) that owns the metric. |
| `product_category` | no | The [product category](https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/data/categories.yml) for the metric. | | `product_category` | no | The [product category](https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/data/categories.yml) for the metric. |
| `value_type` | yes | `string`; one of [`string`, `number`, `boolean`, `object`](https://json-schema.org/understanding-json-schema/reference/type.html). | | `value_type` | yes | `string`; one of [`string`, `number`, `boolean`, `object`](https://json-schema.org/understanding-json-schema/reference/type.html). |
| `status` | yes | `string`; [status](#metric-statuses) of the metric, may be set to `data_available`, `implemented`, `not_used`, `deprecated`. | | `status` | yes | `string`; [status](#metric-statuses) of the metric, may be set to `data_available`, `implemented`, `not_used`, `deprecated`, `removed`. |
| `time_frame` | yes | `string`; may be set to a value like `7d`, `28d`, `all`, `none`. | | `time_frame` | yes | `string`; may be set to a value like `7d`, `28d`, `all`, `none`. |
| `data_source` | yes | `string`; may be set to a value like `database`, `redis`, `redis_hll`, `prometheus`, `ruby`. | | `data_source` | yes | `string`; may be set to a value like `database`, `redis`, `redis_hll`, `prometheus`, `ruby`. |
| `distribution` | yes | `array`; may be set to one of `ce, ee` or `ee`. The [distribution](https://about.gitlab.com/handbook/marketing/strategic-marketing/tiers/#definitions) where the tracked feature is available. | | `distribution` | yes | `array`; may be set to one of `ce, ee` or `ee`. The [distribution](https://about.gitlab.com/handbook/marketing/strategic-marketing/tiers/#definitions) where the tracked feature is available. |
...@@ -52,6 +52,7 @@ Metric definitions can have one of the following statuses: ...@@ -52,6 +52,7 @@ Metric definitions can have one of the following statuses:
status for newly added metrics awaiting inclusion in a new release. status for newly added metrics awaiting inclusion in a new release.
- `not_used`: Metric is not used in any dashboard. - `not_used`: Metric is not used in any dashboard.
- `deprecated`: Metric is deprecated and possibly planned to be removed. - `deprecated`: Metric is deprecated and possibly planned to be removed.
- `removed`: Metric was removed, but it may appear in Usage Ping payloads sent from instances running on older versions of GitLab.
### Example YAML metric definition ### Example YAML metric definition
......
...@@ -14,10 +14,11 @@ ...@@ -14,10 +14,11 @@
# feature_flag: name of development feature flag that will be checked before metrics aggregation is performed. # 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`. # 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. # This attribute is OPTIONAL and can be omitted, when `feature_flag` is missing no feature flag will be checked.
- name: product_analytics_test_metrics_intersection_database_sourced # Example:
source: database #- name: product_analytics_test_metrics_intersection_database_sourced
time_frame: [28d] # source: database
events: # time_frame: [28d]
- 'dependency_scanning_pipeline' # events:
- 'container_scanning_pipeline' # - 'dependency_scanning_pipeline'
operator: AND # - 'container_scanning_pipeline'
# operator: AND
---
key_path: counts_weekly.aggregated_metrics.product_analytics_test_metrics_union
description: ''
product_section: ''
product_stage: ''
product_group: ''
product_category: ''
value_type: number
status: data_available
time_frame: 7d
data_source: database
distribution:
- ee
tier: []
skip_validation: true
---
key_path: counts_weekly.aggregated_metrics.product_analytics_test_metrics_intersection
description: ''
product_section: ''
product_stage: ''
product_group: ''
product_category: ''
value_type: number
status: data_available
time_frame: 7d
data_source: database
distribution:
- ee
tier: []
skip_validation: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment