Skip to content

feat(app/inbound): introduce request duration metrics#4432

Open
cratelyn wants to merge 1 commit intomainfrom
kate/app-inbound.duration-metrics-pt-2
Open

feat(app/inbound): introduce request duration metrics#4432
cratelyn wants to merge 1 commit intomainfrom
kate/app-inbound.duration-metrics-pt-2

Conversation

@cratelyn
Copy link
Member

this commit introduces a new middleware layer to the inbound proxy.
this instruments inbound traffic with Prometheus telemetry that records
request body latency, and emits a histogram of request body durations.

as in #4420, the buckets are chosen to mimic the
request and response buckets emitted by the outbound proxy, with their
granularity flipped. in other words, the inbound proxy is more
interested in fine-grained request body metrics than response body
metrics, while the outbound proxy is more interested in fine-grained
response body metrics than request body metrics.

Signed-off-by: katelyn martin kate@buoyant.io

@cratelyn cratelyn self-assigned this Feb 11, 2026
@cratelyn cratelyn marked this pull request as ready for review February 11, 2026 20:19
@cratelyn cratelyn requested a review from a team as a code owner February 11, 2026 20:19
this commit introduces a new middleware layer to the inbound proxy.
this instruments inbound traffic with Prometheus telemetry that records
request body latency, and emits a histogram of request body durations.

as in #4420, the buckets are chosen to mimic the
request and response buckets emitted by the outbound proxy, with their
granularity flipped. in other words, the inbound proxy is more
interested in fine-grained request body metrics than response body
metrics, while the outbound proxy is more interested in fine-grained
response body metrics than request body metrics.

* #4420

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn force-pushed the kate/app-inbound.duration-metrics-pt-2 branch from 988b620 to 30a37c6 Compare February 17, 2026 19:25
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