Skip to content

Conversation

@cratelyn
Copy link
Member

  • feat(http/prom): add linkerd-http-body-eos dependency
    Signed-off-by: katelyn martin [email protected]

  • feat(http/prom): add status middleware
    this commit introduces a new submodule to linkerd-http-prom.

    this submodule includes a NewRecordStatusCode<N> middleware that
    records Prometheus metrics counting response status codes for HTTP and
    gRPC traffic.

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

  • refactor(app/outbound): simplify backend layer construction
    this is akin to feat(app): Route frame count metrics #3334, which cleaned up the equivalent expression in
    linkerd/app/outbound/src/http/logical/policy/route/metrics.rs.

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

  • refactor(app/outbound): type aliases in backend metrics layer
    before we introduce additional layers to our backend stack, we should
    define type aliases as prophylaxis against:
    https://rust-lang.github.io/rust-clippy/stable/index.html#type_complexity

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

  • feat(app/outbound): add status counters to route metrics
    Signed-off-by: katelyn martin [email protected]

  • feat(app/outbound): add status counters to backend metrics
    Signed-off-by: katelyn martin [email protected]

  • feat(app/outbound): add route status counting middleware
    Signed-off-by: katelyn martin [email protected]

  • feat(app/outbound): add backend status counting middleware
    Signed-off-by: katelyn martin [email protected]

  • refactor(app/outbound): remove status counter from duration middleware
    Signed-off-by: katelyn martin [email protected]

@cratelyn cratelyn self-assigned this Nov 12, 2025
@cratelyn cratelyn changed the title kate/http prom.add status count middleware refactor(http/prom): decompose record_response middleware Nov 13, 2025
@cratelyn cratelyn force-pushed the kate/http-prom.add-status-count-middleware branch from 5881b73 to 78f506f Compare November 14, 2025 18:05
this commit introduces a new submodule to `linkerd-http-prom`.

this submodule includes a `NewRecordStatusCode<N>` middleware that
records Prometheus metrics counting response status codes for HTTP and
gRPC traffic.

Signed-off-by: katelyn martin <[email protected]>
this is akin to #3334, which cleaned up the equivalent expression in
`linkerd/app/outbound/src/http/logical/policy/route/metrics.rs`.

Signed-off-by: katelyn martin <[email protected]>
before we introduce additional layers to our backend stack, we should
define type aliases as prophylaxis against:
<https://rust-lang.github.io/rust-clippy/stable/index.html#type_complexity>

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn force-pushed the kate/http-prom.add-status-count-middleware branch from 78f506f to d63b598 Compare November 14, 2025 18:15
@cratelyn
Copy link
Member Author

decomposing this into separate pull requests. see #4298.

@cratelyn cratelyn closed this Nov 14, 2025
@cratelyn cratelyn deleted the kate/http-prom.add-status-count-middleware branch November 14, 2025 22:02
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.

2 participants