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.
Currently,
pendingResponsesare managed inGracefulShutdownSupport. It would be beneficial to manage all server-related metrics withinServerMetrics, which will be added in #5627.armeria/core/src/main/java/com/linecorp/armeria/server/Server.java
Lines 581 to 582 in 8678567
Side note: the difference between
activeRequestsandpendingResponsesis that thependingResponsesdoes not include the request count for transient services.