Skip to content

Conversation

cratelyn
Copy link
Member

@cratelyn cratelyn commented Oct 17, 2025

nb: this branch is based upon #4250 and #4251.

this branch re-frames the outbound proxy's stream labeling facilities in terms of the constituent status and error labeling facilities introduced to the linkerd-http-prom library in #4251.

  • feat(app/outbound): convenience constructors for HttpRsp, GrpcRsp
    Signed-off-by: katelyn martin [email protected]

  • feat(app/outbound): GrpcRsp, HttpRsp are From<&Error>
    Signed-off-by: katelyn martin [email protected]

  • feat(app/outbound): GrpcRsp and HttpRsp can be merged
    this commit introduces apply() methods to HttpRsp and GrpcRsp.
    this allows us to collect both the response status and response error
    when a body encounters an error whilst polling.

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

  • refactor(app/outbound): LabelHttpRsp uses LabelHttpStatus
    Signed-off-by: katelyn martin [email protected]

  • refactor(app/outbound): LabelGrpcRsp uses LabelGrpcStatus
    Signed-off-by: katelyn martin [email protected]

this commit introduces `apply()` methods to `HttpRsp` and `GrpcRsp`.
this allows us to collect both the response status and response error
when a body encounters an error whilst polling.

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn self-assigned this Oct 17, 2025
@cratelyn cratelyn changed the title kate/app outbound.decomposed stream labels refactor(app/outbound): decompose grpc and http labeling Oct 17, 2025
@cratelyn cratelyn marked this pull request as ready for review October 17, 2025 19:12
@cratelyn cratelyn requested a review from a team as a code owner October 17, 2025 19:12
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