Skip to content

Migrate projects_with_expiration_policy_disabled

What does this MR do and why?

This MR migrate counts.projects_with_expiration_policy_disabled metric to instrumentation class.

It resolves one of the metric included in #339315 (closed)

Screenshots or screen recordings

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

How to set up and validate locally

In rails console

[1] pry(main)> payload = ServicePing::BuildPayload.new.execute
[2] pry(main)> payload["counts"]["projects_with_expiration_policy_disabled"]
=> 19

MR acceptance checklist

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

Merge request reports