Skip to content

[SPARK-53442]Make PrometheusServlet compatible with OpenMetrics#1

Open
jiangzho wants to merge 2 commits into
masterfrom
prometheus
Open

[SPARK-53442]Make PrometheusServlet compatible with OpenMetrics#1
jiangzho wants to merge 2 commits into
masterfrom
prometheus

Conversation

@jiangzho

Copy link
Copy Markdown
Owner

What changes were proposed in this pull request?

This PR makes PrometheusServlet publish snapshot that's compatible with OpenMetrics

Why are the changes needed?

Adopting OpenMetrics ensures our metrics output is forward-compatible with common observability tools, not only Prometheus, but also OpenTelemetry, Datadog and others.

Does this PR introduce any user-facing change?

This shall still be compatible witrh Prometheus, while adding more compatibility. No direct user facing changes otherwise.

How was this patch tested?

CIs with added unit test

Was this patch authored or co-authored using generative AI tooling?

No

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

@jiangzho jiangzho force-pushed the prometheus branch 2 times, most recently from 4542e2f to b020853 Compare August 29, 2025 23:38
@github-actions github-actions Bot added the CORE label Aug 29, 2025
### What changes were proposed in this pull request?

This PR makes PrometheusServlet publish snapshot that's compatible with OpenMetrics

### Why are the changes needed?

Adopting OpenMetrics ensures our metrics output is forward-compatible with common observability tools, not only Prometheus, but also OpenTelemetry, Datadog and others.

### Does this PR introduce _any_ user-facing change?

This shall still be compatible witrh Prometheus, while adding more compatibility. No direct user facing changes otherwise.

### How was this patch tested?

CIs with added unit test

### Was this patch authored or co-authored using generative AI tooling?

No
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