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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-30 12:09:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-30 12:09:22 +0300
commitef144889c1bb80372e25f38fc89c7832ce84417a (patch)
tree54fa644c7be78fa1a562ca5f97b7f295647e1ce1 /generator_templates
parent286bddcf3c62ca6fc499e1d5b6e678c0866fecc4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'generator_templates')
-rw-r--r--generator_templates/gitlab_internal_events/metric_definition.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/generator_templates/gitlab_internal_events/metric_definition.yml b/generator_templates/gitlab_internal_events/metric_definition.yml
new file mode 100644
index 00000000000..88823355acc
--- /dev/null
+++ b/generator_templates/gitlab_internal_events/metric_definition.yml
@@ -0,0 +1,18 @@
+---
+key_path: <%= args.second %>
+name: <%= args.second %>
+description: <%= args.last %>
+product_section: <%= options.fetch(:section) %>
+product_stage: <%= options.fetch(:stage) %>
+product_group: <%= options.fetch(:group) %>
+performance_indicator_type: []
+value_type: number
+status: active
+milestone: "<%= milestone %>"
+introduced_by_url: <%= options.fetch(:mr) %>
+time_frame: <%= args.third %>
+data_source: redis_hll
+data_category: optional
+instrumentation_class: <%= class_name %>
+<%= distribution %>
+<%= tier %>