mirror of https://github.com/istio/istio.io.git
Update Prometheus metrics label pod_name to pod (#7920)
This commit is contained in:
parent
a44e199c3b
commit
f8151f958c
|
@ -18,7 +18,7 @@ provided for collecting metrics generated for all mesh traffic. This deployment
|
|||
Prometheus is intentionally deployed with a very short retention window (6 hours). The
|
||||
default Prometheus deployment is also configured to collect metrics from each Envoy proxy
|
||||
running in the mesh, augmenting each metric with a set of labels about their origin (`instance`,
|
||||
`pod_name`, and `namespace`).
|
||||
`pod`, and `namespace`).
|
||||
|
||||
While the default configuration is well-suited for small clusters and monitoring for short time horizons,
|
||||
it is not suitable for large-scale meshes or monitoring over a period of days or weeks. In particular,
|
||||
|
@ -43,75 +43,75 @@ groups:
|
|||
rules:
|
||||
- record: "workload:istio_requests_total"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_requests_total)
|
||||
sum without(instance, namespace, pod) (istio_requests_total)
|
||||
|
||||
- record: "workload:istio_request_duration_milliseconds_count"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_request_duration_milliseconds_count)
|
||||
sum without(instance, namespace, pod) (istio_request_duration_milliseconds_count)
|
||||
|
||||
- record: "workload:istio_request_duration_milliseconds_sum"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_request_duration_milliseconds_sum)
|
||||
sum without(instance, namespace, pod) (istio_request_duration_milliseconds_sum)
|
||||
|
||||
- record: "workload:istio_request_duration_milliseconds_bucket"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_request_duration_milliseconds_bucket)
|
||||
sum without(instance, namespace, pod) (istio_request_duration_milliseconds_bucket)
|
||||
|
||||
- record: "workload:istio_request_bytes_count"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_request_bytes_count)
|
||||
sum without(instance, namespace, pod) (istio_request_bytes_count)
|
||||
|
||||
- record: "workload:istio_request_bytes_sum"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_request_bytes_sum)
|
||||
sum without(instance, namespace, pod) (istio_request_bytes_sum)
|
||||
|
||||
- record: "workload:istio_request_bytes_bucket"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_request_bytes_bucket)
|
||||
sum without(instance, namespace, pod) (istio_request_bytes_bucket)
|
||||
|
||||
- record: "workload:istio_response_bytes_count"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_response_bytes_count)
|
||||
sum without(instance, namespace, pod) (istio_response_bytes_count)
|
||||
|
||||
- record: "workload:istio_response_bytes_sum"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_response_bytes_sum)
|
||||
sum without(instance, namespace, pod) (istio_response_bytes_sum)
|
||||
|
||||
- record: "workload:istio_response_bytes_bucket"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_response_bytes_bucket)
|
||||
sum without(instance, namespace, pod) (istio_response_bytes_bucket)
|
||||
|
||||
- record: "workload:istio_tcp_connections_opened_total"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_connections_opened_total)
|
||||
sum without(instance, namespace, pod) (istio_tcp_connections_opened_total)
|
||||
|
||||
- record: "workload:istio_tcp_connections_closed_total"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_connections_opened_total)
|
||||
sum without(instance, namespace, pod) (istio_tcp_connections_opened_total)
|
||||
|
||||
- record: "workload:istio_tcp_sent_bytes_total_count"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_sent_bytes_total_count)
|
||||
sum without(instance, namespace, pod) (istio_tcp_sent_bytes_total_count)
|
||||
|
||||
- record: "workload:istio_tcp_sent_bytes_total_sum"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_sent_bytes_total_sum)
|
||||
sum without(instance, namespace, pod) (istio_tcp_sent_bytes_total_sum)
|
||||
|
||||
- record: "workload:istio_tcp_sent_bytes_total_bucket"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_sent_bytes_total_bucket)
|
||||
sum without(instance, namespace, pod) (istio_tcp_sent_bytes_total_bucket)
|
||||
|
||||
- record: "workload:istio_tcp_received_bytes_total_count"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_received_bytes_total_count)
|
||||
sum without(instance, namespace, pod) (istio_tcp_received_bytes_total_count)
|
||||
|
||||
- record: "workload:istio_tcp_received_bytes_total_sum"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_received_bytes_total_sum)
|
||||
sum without(instance, namespace, pod) (istio_tcp_received_bytes_total_sum)
|
||||
|
||||
- record: "workload:istio_tcp_received_bytes_total_bucket"
|
||||
expr: |
|
||||
sum without(instance, namespace, pod_name) (istio_tcp_received_bytes_total_bucket)
|
||||
sum without(instance, namespace, pod) (istio_tcp_received_bytes_total_bucket)
|
||||
{{< /text >}}
|
||||
|
||||
{{< tip >}}
|
||||
|
|
Loading…
Reference in New Issue