diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-06 12:07:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-06 12:07:41 +0300 |
commit | d2485dbfedc4759eba5243e0d155e34494c4429b (patch) | |
tree | 0cdd51c58aef728db2e3c7e9de09976e85c062bb /config/metrics | |
parent | d111e00680d2b3e46a7ee37af5499407c4a93a22 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/metrics')
-rw-r--r-- | config/metrics/objects_schemas/batched_background_migrations_metric.json | 18 | ||||
-rw-r--r-- | config/metrics/settings/20230602180038_batched_background_migrations_metric.yml | 24 |
2 files changed, 42 insertions, 0 deletions
diff --git a/config/metrics/objects_schemas/batched_background_migrations_metric.json b/config/metrics/objects_schemas/batched_background_migrations_metric.json new file mode 100644 index 00000000000..968e804f600 --- /dev/null +++ b/config/metrics/objects_schemas/batched_background_migrations_metric.json @@ -0,0 +1,18 @@ +{ + "type": "array", + "items": { + "type": [ + { + "type": "object", + "properties": { + "job_class_name": { + "type": "string" + }, + "elapsed_time": { + "type": "integer" + } + } + } + ] + } +} diff --git a/config/metrics/settings/20230602180038_batched_background_migrations_metric.yml b/config/metrics/settings/20230602180038_batched_background_migrations_metric.yml new file mode 100644 index 00000000000..aa96cb8da50 --- /dev/null +++ b/config/metrics/settings/20230602180038_batched_background_migrations_metric.yml @@ -0,0 +1,24 @@ +--- +key_path: batched_background_migrations_metric +name: "batched_background_migrations" +description: "Tracks the execution time of batched background migrations" +product_section: enablement +product_stage: data_stores +product_group: database +value_type: object +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/122510 +time_frame: 7d +data_source: database +data_category: optional +instrumentation_class: BatchedBackgroundMigrationsMetric +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +value_json_schema: "config/metrics/objects_schemas/batched_background_migrations_metric.json" |