diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-30 00:09:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-30 00:09:59 +0300 |
commit | b5eff9f970d14c07742d3bbc60344cd738d4a9d2 (patch) | |
tree | 506389dda1530b37382085590c8ae482f8ae613d /generator_templates | |
parent | 2d239d2421eea466ff5c51aebdbf05a18ded20c7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'generator_templates')
-rw-r--r-- | generator_templates/gitlab_internal_events/event_definition.yml | 4 | ||||
-rw-r--r-- | generator_templates/gitlab_internal_events/metric_definition.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/generator_templates/gitlab_internal_events/event_definition.yml b/generator_templates/gitlab_internal_events/event_definition.yml index 0c5399a3d1b..928b3138687 100644 --- a/generator_templates/gitlab_internal_events/event_definition.yml +++ b/generator_templates/gitlab_internal_events/event_definition.yml @@ -7,8 +7,8 @@ property_description: value_description: extra_properties: identifiers:<%= event_identifiers %> -product_section: <%= options.fetch(:section) %> -product_stage: <%= options.fetch(:stage) %> +product_section: <%= Gitlab::Analytics::GroupFetcher.section_text(options.fetch(:group)) %> +product_stage: <%= Gitlab::Analytics::GroupFetcher.stage_text(options.fetch(:group)) %> product_group: <%= options.fetch(:group) %> milestone: "<%= milestone %>" introduced_by_url: <%= options.fetch(:mr) %> diff --git a/generator_templates/gitlab_internal_events/metric_definition.yml b/generator_templates/gitlab_internal_events/metric_definition.yml index 3717774cd3c..2be343ca8d1 100644 --- a/generator_templates/gitlab_internal_events/metric_definition.yml +++ b/generator_templates/gitlab_internal_events/metric_definition.yml @@ -1,8 +1,8 @@ --- key_path: <%= args.second %> description: <%= args.last %> -product_section: <%= options.fetch(:section) %> -product_stage: <%= options.fetch(:stage) %> +product_section: <%= Gitlab::Analytics::GroupFetcher.section_text(options.fetch(:group)) %> +product_stage: <%= Gitlab::Analytics::GroupFetcher.stage_text(options.fetch(:group)) %> product_group: <%= options.fetch(:group) %> performance_indicator_type: [] value_type: number |