Skip to content

Usage ping for incident auto create issue

Sean Arnold requested to merge usage-ping-for-incident-auto-create-issue into master

What does this MR do?

Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/66781.

CE Database MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32736

This adds metrics on 'the number of projects that have auto issue creation enabled in the Incident Management settings' to the Usage Data exporter.

The new count field is projects_auto_issue_creation_enabled.

I've added a new incident_management section to the Usage Data JSON, which we can use to next the remaining Incident Management related metrics under.

Under this I've added the existing incident_issues attribute. The new attribute is auto_issue_creation_projects * [ ] How do we go about remove the existing incident_issues attribute and just keep the nested one?

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66781

Edited by Sean Arnold

Merge request reports