Skip to content

Instrument job_token_inbound_access_counter metric

Thong Kuah requested to merge metrics_job_token_inbound_access_counter into master

What does this MR do and why?

Instrument job_token_inbound_access_counter metric

We add this metric to determine what is the level of legacy access vs non-legacy access.

Today, it is possible to use ProjectCiCdSetting#inbound_job_token_scope_enabled but this does not give a complete picture as we do not know whether cross-project access is taking place, or not.

Related issue: #366378

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

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

Numbered steps to set up and validate the change are strongly suggested.

Edited by Thong Kuah

Merge request reports

Loading