Skip to content

Add ability to use options in #relation

What does this MR do and why?

This MR migrates projects_with_expiration_policy_enabled to instrumentation class.

Resolves part of #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_enabled"]
=> 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