Skip to content

Commit

Permalink
combining metrics profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 committed Sep 9, 2022
1 parent 65e41dd commit 4f0ee21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 137 deletions.
137 changes: 0 additions & 137 deletions workloads/kube-burner/metrics-profiles/metrics-ovn.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions workloads/kube-burner/metrics-profiles/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
metricName: serviceSyncLatency

# Containers & pod metrics
- query: sum(irate(container_cpu_usage_seconds_total{name!="",namespace=~"openshift-(etcd|oauth-apiserver|.*apiserver|ovn-kubernetes|sdn|ingress|authentication|.*controller-manager|.*scheduler|monitoring|logging|image-registry)"}[2m]) * 100) by (pod, namespace, node)
metricName: podCPU

- query: sum(container_memory_rss{name!="",namespace=~"openshift-(etcd|oauth-apiserver|.*apiserver|ovn-kubernetes|sdn|ingress|authentication|.*controller-manager|.*scheduler|monitoring|logging|image-registry)"}) by (pod, namespace, node)
metricName: podMemory

- query: (sum(irate(container_cpu_usage_seconds_total{name!="",container!~"POD|",namespace=~"openshift-(etcd|.*apiserver|ovn-kubernetes|sdn|ingress|.*controller-manager|.*scheduler)"}[2m]) * 100) by (container, pod, namespace, node)) > 0
metricName: containerCPU
Expand Down

0 comments on commit 4f0ee21

Please sign in to comment.