Skip to content

Add pendingResponses to ServerMetrics #5666

Description

@minwoox

Currently, pendingResponses are managed in GracefulShutdownSupport. It would be beneficial to manage all server-related metrics within ServerMetrics, which will be added in #5627.

meterRegistry.gauge("armeria.server.pending.responses", gracefulShutdownSupport,
GracefulShutdownSupport::pendingResponses);

Side note: the difference between activeRequests and pendingResponses is that the pendingResponses does not include the request count for transient services.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions