Repository navigation
feat(metrics): histograms for bridge request latency and TOAST values per fetch - #255
Merged
harshil-goel merged 1 commit intoNov 19, 2026
Conversation
8 tasks
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 10, 2026 18:13
9cdcbec to
ed58b73
Compare
harshil-goel
marked this pull request as ready for review
November 10, 2026 18:15
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 10, 2026 19:30
ed58b73 to
bf0fc26
Compare
harshil-goel
changed the base branch from
main
to
kaushik/source-lag-metrics
November 10, 2026 19:38
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 10, 2026 20:22
bf0fc26 to
9d85078
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 10, 2026 21:31
9d85078 to
7451ef3
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 11, 2026 07:26
7451ef3 to
fa0e229
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 11, 2026 07:48
fa0e229 to
7607fcc
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 11, 2026 08:58
7607fcc to
223d675
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 11, 2026 09:32
223d675 to
8b0c303
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 11, 2026 09:45
8b0c303 to
838dca1
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 11, 2026 11:38
838dca1 to
3252222
Compare
serprex
reviewed
Nov 11, 2026
| /// Upper bounds of the bridge request-latency buckets: 25us doubling to | ||
| /// 102.4ms, which spans a local socket round trip through a worker stalled on | ||
| /// slow storage. Slower requests land in `+Inf` | ||
| pub const REQUEST_LATENCY_BOUNDS_NANOS: [u64; REQUEST_LATENCY_BUCKETS] = { |
Member
There was a problem hiding this comment.
why have const array when this is basic function 25_000 << x
Makes me think we should support HistogramFn or there's something wrong with the Historgram concept
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 17, 2026 10:08
3252222 to
0a7577d
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 05:11
0a7577d to
d8918f1
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
2 times, most recently
from
November 18, 2026 08:44
d5f95c0 to
0b039a8
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 11:39
0b039a8 to
3b58942
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 12:18
3b58942 to
691e44d
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 13:23
691e44d to
d255e99
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 15:57
d255e99 to
ae7a210
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 17:16
ae7a210 to
7663990
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 18, 2026 18:04
7663990 to
3eabf78
Compare
serprex
approved these changes
Nov 18, 2026
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 19, 2026 10:48
3eabf78 to
95301ea
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 19, 2026 11:01
95301ea to
def74f5
Compare
harshil-goel
force-pushed
the
kaushik/bridge-latency-histograms
branch
from
November 19, 2026 11:03
def74f5 to
aa4a4cd
Compare
Amogh-Bharadwaj
approved these changes
Nov 19, 2026
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.
Histograms where only means existed:
walshadow_request_duration_seconds{database,target="bridge",op}: 25 us doubling to 102.4 ms.walshadow_toast_values_per_fetch: 1 doubling to 256.Bucket bounds are part of the histogram type.