Service metrics¶
Every Knative Service has a proxy container that proxies the connections to the application container. A number of metrics are reported for the queue proxy performance.
Using the following metrics, you can measure if requests are queued at the proxy side (need for backpressure) and what is the actual delay in serving requests at the application side.
Queue proxy metrics¶
Requests endpoint.
| Metric Name | Description | Type | Tags | Unit | Status |
|---|---|---|---|---|---|
revision_request_count |
The number of requests that are routed to queue-proxy | Counter | configuration_namecontainer_namenamespace_namepod_nameresponse_coderesponse_code_classrevision_nameservice_name |
Dimensionless | Stable |
revision_request_latencies |
The response time in millisecond | Histogram | configuration_namecontainer_namenamespace_namepod_nameresponse_coderesponse_code_classrevision_nameservice_name |
Milliseconds | Stable |
revision_app_request_count |
The number of requests that are routed to user-container | Counter | configuration_namecontainer_namenamespace_namepod_nameresponse_coderesponse_code_classrevision_nameservice_name |
Dimensionless | Stable |
revision_app_request_latencies |
The response time in millisecond | Histogram | configuration_namenamespace_namepod_nameresponse_coderesponse_code_classrevision_nameservice_name |
Milliseconds | Stable |
revision_queue_depth |
The current number of items in the serving and waiting queue, or not reported if unlimited concurrency | Gauge | configuration_nameevent-displaycontainer_namenamespace_namepod_nameresponse_code_classrevision_nameservice_name |
Dimensionless | Stable |