Skip to content

Commit

Permalink
Precompute network programming latency percentailes by endpoint
Browse files Browse the repository at this point in the history
Hopefully this should allow to easily find an offending kube-proxy

\#experimental
  • Loading branch information
oxddr committed Jan 30, 2020
1 parent 89fca92 commit e6ddd83
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions clusterloader2/pkg/prometheus/manifests/prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,21 @@ spec:
record: kubeproxy:kubeproxy_network_programming_duration:histogram_quantile
labels:
quantile: "0.50"
- expr: |
histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket[5m])) by (le, endpoint))
record: kubeproxy:kubeproxy_network_programming_duration:histogram_quantile_by_endpoint
labels:
quantile: "0.99"
- expr: |
histogram_quantile(0.90, sum(rate(kubeproxy_network_programming_duration_seconds_bucket[5m])) by (le, endpoint))
record: kubeproxy:kubeproxy_network_programming_duration:histogram_quantile_by_endpoint
labels:
quantile: "0.90"
- expr: |
histogram_quantile(0.50, sum(rate(kubeproxy_network_programming_duration_seconds_bucket[5m])) by (le, endpoint))
record: kubeproxy:kubeproxy_network_programming_duration:histogram_quantile_by_endpoint
labels:
quantile: "0.50"
- name: apiserver.1m.rules
rules:
- expr: |
Expand Down

0 comments on commit e6ddd83

Please sign in to comment.