Usage ping for incident auto create issue
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
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios. -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Performance and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
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