Skip to content

Backfill instroduced_by_url for old metrics

Jonas Larsen requested to merge j_lar/set_introduced_by_url_for_mr_54332 into master

What does this MR do and why?

See gitlab-org/analytics-section/analytics-instrumentation/metric-dictionary#12 (closed) for context.

This MR updates 1310 metrics with the same introduced_by_url as the metric dictionary infers every time it is deployed.

You can find the metrics by going to https://metrics.gitlab.com/ and search for "54332".

I have split up the change in 14 commits with maximum 100 changes in each so it should be possible to review it using the UI.

All 1310 metrics were introduced in !54332 (merged) so they belong together.

It might be useful to run curl https://gitlab.com/gitlab-org/gitlab/-/merge_requests/163103.diff | grep '^\+' |grep -Ev '^\+\+\+' | uniq to verify that all changes are indeed the same.

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 Jonas Larsen

Merge request reports

Loading