Skip to content

Drop deprecated dstack_server_request* Prometheus metrics - #4130

Merged
r4victor merged 1 commit into
masterfrom
pr_drop_deprecated_http_metrics
Aug 11, 2026
Merged

Drop deprecated dstack_server_request* Prometheus metrics#4130
r4victor merged 1 commit into
masterfrom
pr_drop_deprecated_http_metrics

Conversation

@r4victor

@r4victor r4victor commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Part of #4129

Removes dstack_server_requests_total and dstack_server_request_duration_seconds, along with the log_http_metrics middleware that populated them.

They were already marked deprecated in favour of the OpenTelemetry http_server_* metrics (DSTACK_OTEL_METRICS_ENABLED), and they are incorrect under multiple replicas: scraping /metrics through a load balancer interleaves the replicas' counters into the same series. They also made up >50% of the /metrics payload.

This PR was written primarily by Claude Code.

Superseded by the OpenTelemetry http_server_* metrics, which are correct
under multiple replicas. Scraping /metrics through a load balancer
interleaved the replicas' counters into the same series.
@r4victor
r4victor merged commit 533e204 into master Aug 11, 2026
27 checks passed
@r4victor
r4victor deleted the pr_drop_deprecated_http_metrics branch August 11, 2026 10:31
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