diff --git a/config/events/gitlab_cli_command_used.yml b/config/events/gitlab_cli_command_used.yml new file mode 100644 index 0000000000000000000000000000000000000000..719c77a4b1b38ff20a25660a7420237838fed8fc --- /dev/null +++ b/config/events/gitlab_cli_command_used.yml @@ -0,0 +1,23 @@ +description: Command is executed from the GitLab CLI +internal_events: true +action: gitlab_cli_command_used +identifiers: + - project + - namespace + - user +additional_properties: + label: + description: Command used - e.g. 'mr' + property: + description: Subcommand used - e.g. 'view' + command_and_subcommand: + description: Command and subcommand used - e.g. 'mr view' +product_group: code_review +product_categories: + - gitlab_cli +milestone: '18.0' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/185183 +tiers: + - free + - premium + - ultimate diff --git a/config/metrics/schema/base.json b/config/metrics/schema/base.json index 465bf5f629e452f62f0b72c5b12cc682ec86b514..28bbab8476d1ba5c74c50268aff0a23b88415bbf 100644 --- a/config/metrics/schema/base.json +++ b/config/metrics/schema/base.json @@ -143,10 +143,8 @@ "name": { "type": "string" }, - "events": { - }, - "time_frame": { - } + "events": {}, + "time_frame": {} }, "oneOf": [ {