Skip to content

Add issues metric instrumentation

What does this MR do?

Add metrics exemple for DatabaseMetric

Add issues metric instrumentation:

  • IssuesCountMetric
  • UsersCreatingIssuesMetric
  • Add issues to UsageDataMetrics

Screenshots (strongly suggested)

Usage Ping with this changes

=> {:uuid=>"7cc411ec-c1c7-46ea-93fd-1563342e6137",
 :counts=>{:issues=>0},
 :usage_activity_by_stage=>{:plan=>{:issues=>0}},
 :usage_activity_by_stage_monthly=>{:plan=>{:issues=>0}}}

Previous MR !59649 (merged)

Part of #299448 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability 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

Related issue #299448 (closed)

Edited by Alina Mihaila

Merge request reports