Skip to content

fix(observability): parse Prometheus text with an explicit name scheme - #1170

Closed
jadhavsaurabh wants to merge 1 commit into
apache:mainfrom
jadhavsaurabh:fix/prometheus-text-parser
Closed

jadhavsaurabh wants to merge 1 commit into
apache:mainfrom
jadhavsaurabh:fix/prometheus-text-parser

Conversation

@jadhavsaurabh

Copy link
Copy Markdown

Summary

  • observability/integration built a zero expfmt.TextParser. prometheus/common v0.70.1, pulled in when dubbo-go integration tests replace the module, panics on that value: Invalid name validation scheme requested: unset.
  • Parse with expfmt.NewTextParser(model.LegacyValidation) and align the Prometheus modules with dubbo-go (common v0.70.1).
  • This is the failure in https://github.com/apache/dubbo-go/actions/runs/45200250884/job/137781952784

Test plan

  • go test ./observability/integration/internal/verify/ against prometheus/common v0.70.1

Made with Cursor

dubbo-go now requires prometheus/common v0.70.1. A zero TextParser panics
there with "Invalid name validation scheme requested: unset", which fails
the dubbo-go integration job in observability/integration.

Signed-off-by: Saurabh Jadhav <jadhavsaurabh1998@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Alanxtl

Alanxtl commented Nov 24, 2026

Copy link
Copy Markdown
Member

close via #1169

@Alanxtl Alanxtl closed this Nov 24, 2026
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.

2 participants