Skip to content

test: validate Micrometer opt-in compatibility#2123

Draft
zeitlinger wants to merge 4 commits into
prometheus:mainfrom
zeitlinger:validation/typed-descriptor-micrometer-opt-in
Draft

test: validate Micrometer opt-in compatibility#2123
zeitlinger wants to merge 4 commits into
prometheus:mainfrom
zeitlinger:validation/typed-descriptor-micrometer-opt-in

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

@zeitlinger zeitlinger commented May 18, 2026

Draft validation PR for the downstream opt-in path.

Depends on #2114 for the typed descriptor implementation. This branch is stacked on the #2114 head, so once #2114 lands this PR should shrink to only the Micrometer opt-in compatibility tooling.

This validates Micrometer using the new descriptor API, defaulting to:

  • MICROMETER_REPOSITORY=zeitlinger/micrometer
  • MICROMETER_REF=feat/prometheus-client-opt-in

That Micrometer branch provides MetricFamilyDescriptor metadata from the Prometheus registry without invoking scrape/sample callbacks during registration.

Local validation:

  • mise run lint
  • MICROMETER_DIR=/tmp/micrometer-compat-optin mise run micrometer:test

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger force-pushed the validation/typed-descriptor-micrometer-opt-in branch from d7e2791 to e10963e Compare May 18, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant