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-06-20 13:43:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-20 13:43:29 +0300
commit3b1af5cc7ed2666ff18b718ce5d30fa5a2756674 (patch)
tree3bc4a40e0ee51ec27eabf917c537033c0c5b14d4 /generator_templates
parent9bba14be3f2c211bf79e15769cd9b77bc73a13bc (diff)
Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42
Diffstat (limited to 'generator_templates')
-rw-r--r--generator_templates/gitlab_internal_events/event_definition.yml16
-rw-r--r--generator_templates/gitlab_internal_events/metric_definition.yml17
2 files changed, 33 insertions, 0 deletions
diff --git a/generator_templates/gitlab_internal_events/event_definition.yml b/generator_templates/gitlab_internal_events/event_definition.yml
new file mode 100644
index 00000000000..26adc55726e
--- /dev/null
+++ b/generator_templates/gitlab_internal_events/event_definition.yml
@@ -0,0 +1,16 @@
+---
+description: <%= args.last %>
+category: GitlabInternalEvents
+action: <%= event %>
+label_description:
+property_description:
+value_description:
+extra_properties:
+identifiers:<%= event_identifiers %>
+product_section: <%= options.fetch(:section) %>
+product_stage: <%= options.fetch(:stage) %>
+product_group: <%= options.fetch(:group) %>
+milestone: "<%= milestone %>"
+introduced_by_url: <%= options.fetch(:mr) %>
+distributions:<%= distributions %>
+tiers:<%= tiers %>
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..c0ff71a09ce
--- /dev/null
+++ b/generator_templates/gitlab_internal_events/metric_definition.yml
@@ -0,0 +1,17 @@
+---
+key_path: <%= 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: <%= distributions %>
+tier: <%= tiers %>