Skip to content

Add instrumentation classes for Jira usage metrics

What does this MR do and why?

Related to #409634 (closed).

This migrates two Jira usage metrics in Service Ping to instrumentation classes framework.

They have been subsequently removed from Gitlab::UsageData, as they are generated directly from instrumentation classes.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

This is covered by RSpec tests, but can be validated manually by building the payload with ServicePing::BuildPayload.new.execute and checking if the metrics are present.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Piotr Skorupa

Merge request reports