Skip to content

Conversation

@cratelyn
Copy link
Member

@cratelyn cratelyn commented Oct 7, 2025

linkerd_http_prom::record_response defines a pair of traits that are
used to derive labels for prometheus metrics. this is used to install
telemetry that inspects the response body, which is helpful for
recording response latency, and inspecting gRPC status codes.

this is a helpful model. to help reuse this trait, we hoist it out of
record_response and into a dedicated submodule.

Signed-off-by: katelyn martin [email protected]

`linkerd_http_prom::record_response` defines a pair of traits that are
used to derive labels for prometheus metrics. this is used to install
telemetry that inspects the response body, which is helpful for
recording response latency, and inspecting gRPC status codes.

this is a helpful model. to help reuse this trait, we hoist it out of
`record_response` and into a dedicated submodule.

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn self-assigned this Oct 7, 2025
@cratelyn cratelyn marked this pull request as ready for review October 7, 2025 17:08
@cratelyn cratelyn requested a review from a team as a code owner October 7, 2025 17:08
@cratelyn cratelyn merged commit f771532 into main Oct 8, 2025
15 checks passed
@cratelyn cratelyn deleted the kate/http-prom.hoist-mk-stream-label-traits branch October 8, 2025 14:57
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.

3 participants