Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion workloads/baseline-performance/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
- query: count(kube_secret_info{})
metricName: secretCount

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount

- query: count(kube_configmap_info{})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@

- query: (max(sum(irate(node_cpu_seconds_total{}[1m])) by (mode,instance) and on (instance) label_replace(bottomk(1, min_over_time(sum(irate(node_cpu_seconds_total{mode=~"idle"}[1m])) by (mode,instance)[{{ .elapsed }}:])), "instance", "$1", "instance", "(.+)")) by (mode)) > 0
metricName: nodeCPU-MostUtilizedWorkers

- query: bottomk(1,min_over_time(node_memory_MemAvailable_bytes{}[{{ .elapsed }}:]))
metricName: nodeMemoryAvailable-MostUtilizedWorker

- query: avg(node_memory_MemTotal_bytes{} and on (instance) label_replace(kube_node_role{role="worker"}, "instance", "$1", "node", "(.+)"))
metricName: nodeMemoryTotal-AggregatedWorkers
instant: true
instant: true

# Cluster metrics

Expand All @@ -59,7 +59,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand Down Expand Up @@ -103,4 +103,4 @@
metricName: mutatingAPICallsLatency

- query: sum(irate(apiserver_request_total{verb!="WATCH"}[2m])) by (verb,resource,instance) > 0
metricName: APIRequestRate
metricName: APIRequestRate
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand All @@ -119,7 +119,7 @@
- query: sum(kube_node_status_condition{status="true"}) by (condition)
metricName: nodeStatus

- query: count(kube_replicaset_labels{})
- query: count(kube_replicaset_spec_replicas{})
metricName: replicaSetCount
instant: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand All @@ -128,7 +128,7 @@
- query: sum(kube_node_status_condition{status="true"}) by (condition)
metricName: nodeStatus

- query: count(kube_replicaset_labels{})
- query: count(kube_replicaset_spec_replicas{})
metricName: replicaSetCount
instant: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand All @@ -119,7 +119,7 @@
- query: sum(kube_node_status_condition{status="true"}) by (condition)
metricName: nodeStatus

- query: count(kube_replicaset_labels{})
- query: count(kube_replicaset_spec_replicas{})
metricName: replicaSetCount
instant: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@

- query: (max(sum(irate(node_cpu_seconds_total{}[1m])) by (mode,instance) and on (instance) label_replace(bottomk(1, min_over_time(sum(irate(node_cpu_seconds_total{mode=~"idle"}[1m])) by (mode,instance)[{{ .elapsed }}:])), "instance", "$1", "instance", "(.+)")) by (mode)) > 0
metricName: nodeCPU-MostUtilizedWorkers

- query: bottomk(1,min_over_time(node_memory_MemAvailable_bytes{}[{{ .elapsed }}:]))
metricName: nodeMemoryAvailable-MostUtilizedWorker

- query: avg(node_memory_MemTotal_bytes{} and on (instance) label_replace(kube_node_role{role="worker"}, "instance", "$1", "node", "(.+)"))
metricName: nodeMemoryTotal-AggregatedWorkers
instant: true
instant: true

# Cluster metrics

Expand All @@ -59,7 +59,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand Down Expand Up @@ -103,4 +103,4 @@
metricName: mutatingAPICallsLatency

- query: sum(irate(apiserver_request_total{job="kube-apiserver",verb!="WATCH"}[2m])) by (verb,resource,instance) > 0
metricName: APIRequestRate
metricName: APIRequestRate
2 changes: 1 addition & 1 deletion workloads/kube-burner/metrics-profiles/acs-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{openshift_cluster_name=~"${HOSTED_CLUSTER_NAME}"})
- query: count(kube_deployment_spec_replicas{openshift_cluster_name=~"${HOSTED_CLUSTER_NAME}"})
metricName: deploymentCount
instant: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand All @@ -125,6 +125,6 @@
metricName: clusterVersion
instant: true

- query: count(kube_replicaset_labels{})
- query: count(kube_replicaset_spec_replicas{})
metricName: replicaSetCount
instant: true
2 changes: 1 addition & 1 deletion workloads/kube-burner/metrics-profiles/metrics-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand Down
6 changes: 3 additions & 3 deletions workloads/kube-burner/metrics-profiles/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

- query: (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) and on (instance) label_replace(kube_node_role{role="master"}, "instance", "$1", "node", "(.+)")
metricName: nodeMemoryUtilization-Masters

- query: node_memory_MemAvailable_bytes and on (instance) label_replace(kube_node_role{role="infra"}, "instance", "$1", "node", "(.+)")
metricName: nodeMemoryAvailable-Infra

Expand Down Expand Up @@ -109,7 +109,7 @@
metricName: secretCount
instant: true

- query: count(kube_deployment_labels{})
- query: count(kube_deployment_spec_replicas{})
metricName: deploymentCount
instant: true

Expand All @@ -134,6 +134,6 @@
metricName: clusterVersion
instant: true

- query: count(kube_replicaset_labels{})
- query: count(kube_replicaset_spec_replicas{})
metricName: replicaSetCount
instant: true