Skip to content

Support dynamic metric name prefixes in the metrics registry check - #71276

Open
aeroyorch wants to merge 1 commit into
apache:mainfrom
aeroyorch:metrics-registry-leading-prefix-match
Open

Support dynamic metric name prefixes in the metrics registry check#71276
aeroyorch wants to merge 1 commit into
apache:mainfrom
aeroyorch:metrics-registry-leading-prefix-match

Conversation

@aeroyorch

Copy link
Copy Markdown
Contributor

The registry check turns each metric name into a template and looks it up in
metrics_template.yaml. When the variable comes first there's no static prefix to match
on, so the metric is flagged as missing even though every expansion is registered.

Those names now match on their static suffix, which must start with a dot so it only
aligns at segment boundaries. Nothing else changes.

Related to #69001 and #69007


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Claude Opus 5 for code planning and testing.


@aeroyorch

Copy link
Copy Markdown
Contributor Author

cc @ephraimbuddy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant