mirror of https://github.com/knative/docs.git
Moved metrics to dev guide (#4259)
This commit is contained in:
parent
b7923756e7
commit
f26949e10a
|
@ -65,6 +65,7 @@ nav:
|
|||
- Services:
|
||||
- About Knative Services: developer/serving/services/README.md
|
||||
- Creating a Service: developer/serving/services/creating-services.md
|
||||
- Service metrics: developer/serving/services/service-metrics.md
|
||||
- Configuring private Services: developer/serving/services/private-services.md
|
||||
- Configuring custom domains: developer/serving/services/custom-domains.md
|
||||
- Using a custom TLS certificate for DomainMapping: developer/serving/services/byo-certificate.md
|
||||
|
|
|
@ -99,21 +99,3 @@ As a baseline for monitoring purproses, user could start with a subset of the me
|
|||
|
||||
!!! note
|
||||
The name tag is empty.
|
||||
|
||||
## Developer - User Services
|
||||
|
||||
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 application
|
||||
developers, devops and others, could 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
|
||||
|
||||
Requests endpoint.
|
||||
|
||||
| Metric Name | Description | Type | Tags | Unit | Status |
|
||||
|:-|:-|:-|:-|:-|:-|
|
||||
| revision_request_count | The number of requests that are routed to queue-proxy | Counter | configuration_name<br>container_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_name | Dimensionless | Stable |
|
||||
| revision_request_latencies | The response time in millisecond | Histogram | configuration_name<br>container_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_name | Milliseconds | Stable |
|
||||
| revision_app_request_count | The number of requests that are routed to user-container | Counter | configuration_name<br>container_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_name | Dimensionless | Stable |
|
||||
| revision_app_request_latencies | The response time in millisecond | Histogram | configuration_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_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_name<br>event-display<br>container_name<br>namespace_name<br>pod_name<br>response_code_class<br>revision_name<br>service_name | Dimensionless | Stable |
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# 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_name<br>container_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_name | Dimensionless | Stable |
|
||||
| revision_request_latencies | The response time in millisecond | Histogram | configuration_name<br>container_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_name | Milliseconds | Stable |
|
||||
| revision_app_request_count | The number of requests that are routed to user-container | Counter | configuration_name<br>container_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_name | Dimensionless | Stable |
|
||||
| revision_app_request_latencies | The response time in millisecond | Histogram | configuration_name<br>namespace_name<br>pod_name<br>response_code<br>response_code_class<br>revision_name<br>service_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_name<br>event-display<br>container_name<br>namespace_name<br>pod_name<br>response_code_class<br>revision_name<br>service_name | Dimensionless | Stable |
|
Loading…
Reference in New Issue