Repository navigation
Fix missing volumesStreamedViaFallback Prometheus metric - #9503
Merged
taylorsilva merged 1 commit intoMar 25, 2026
Merged
Conversation
The volumesStreamedViaFallback metric was being tracked internally but not exposed via Prometheus. This metric is incremented when volume streaming falls back to streaming through the ATC instead of direct worker-to-worker streaming. The metric is exposed as: concourse_volumes_volumes_streamed_via_fallback
taylorsilva
approved these changes
Mar 25, 2026
taylorsilva
left a comment
Member
There was a problem hiding this comment.
LGTM - I trust you when you say you verified this locally :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The volumesStreamedViaFallback metric was being tracked internally but not exposed via Prometheus. This metric is incremented when volume streaming falls back to streaming through the ATC instead of direct worker-to-worker streaming. I think this was introduced in: #9390
The metric is exposed as:
concourse_volumes_volumes_streamed_via_fallback
I was preparing the (next) PR to extend a bit the streaming metrics like:
when I noticed the issue with pre-existing: volumesStreamedViaFallback.
I did some local manual test and checked that metrics increase as expected by the test:
I know it doesn't show much, but if you wish, I can post the full steps (docker compose with multiple workers in different networks with P2P enabled, + test pipeline.)