diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-07 12:10:27 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-07 12:10:27 +0000 |
commit | 53f456b167f19877d663ee6ed510673cebee0f91 (patch) | |
tree | fcc0bb52b79c195bf0eda100cc5d7e7a16dc0c0b /config/metrics | |
parent | e8a31d8dc2afd673ca50d74d26edab0a0fec83ca (diff) | |
download | gitlab-ce-53f456b167f19877d663ee6ed510673cebee0f91.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/metrics')
-rw-r--r-- | config/metrics/license/20210201124933_uuid.yml | 1 | ||||
-rw-r--r-- | config/metrics/schema.json | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/metrics/license/20210201124933_uuid.yml b/config/metrics/license/20210201124933_uuid.yml index 9146bf1e070..d2e6edec884 100644 --- a/config/metrics/license/20210201124933_uuid.yml +++ b/config/metrics/license/20210201124933_uuid.yml @@ -11,6 +11,7 @@ milestone: "9.1" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1521 time_frame: none data_source: database +instrumentation_class: 'Gitlab::Usage::Metrics::Instrumentations::UuidMetric' distribution: - ee - ce diff --git a/config/metrics/schema.json b/config/metrics/schema.json index a5d408c36fd..e9e3ac5ef40 100644 --- a/config/metrics/schema.json +++ b/config/metrics/schema.json @@ -51,6 +51,10 @@ "type": "string", "enum": ["database", "redis", "redis_hll", "prometheus", "ruby"] }, + "instrumentation_class": { + "type": "string", + "pattern": "^(Gitlab::Usage::Metrics::Instrumentations::)(([A-Z][a-z]+)+::)*(([A-Z][a-z]+)+)$" + }, "distribution": { "type": "array", "items": { |