Metrics enable developers to monitor how Knative services are performing.
To view metrics for Knative components on OpenShift Dedicated, you need access to the web console Developer perspective.
If Service Mesh is enabled with mTLS, metrics for Knative Serving are disabled by default because Service Mesh prevents Prometheus from scraping metrics. For information about resolving this issue, see Integrating Service Mesh with OpenShift Serverless. |
Each 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.
You can use the following metrics to measure if requests are queued at the proxy side and the actual delay in serving requests at the application side.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
The number of requests that are routed to |
Counter |
|
Integer (no units) |
|
The response time of revision requests. |
Histogram |
|
Milliseconds |
|
The number of requests that are routed to the |
Counter |
|
Integer (no units) |
|
The response time of revision app requests. |
Histogram |
|
Milliseconds |
|
The current number of items in the |
Gauge |
|
Integer (no units) |