gitlab-ce/generator_templates/gitlab_internal_events/metric_definition.yml

22 lines
644 B
YAML

---
key_path: <%= args.second %>
description: <%= args.last %>
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
status: active
milestone: "<%= milestone %>"
introduced_by_url: <%= options.fetch(:mr) %>
time_frame: <%= args.third %>
data_source: internal_events
data_category: optional
distribution:<%= distributions %>
tier:<%= tiers %>
options:
events:
- <%= event %>
events:
- name: <%= event %><%= unique %>