Skip to content

Commit

Permalink
Add missing by node aggregation (kube-burner#468)
Browse files Browse the repository at this point in the history
## Type of change

- [ ] Refactor
- [ ] New feature
- [x] Bug fix
- [ ] Optimization
- [ ] Documentation Update

## Description

<!--- Describe your changes in detail -->

## Related Tickets & Documents

- Related Issue #
- Closes #

## Checklist before requesting a review

- [x] I have performed a self-review of my code.
- [ ] If it is a core feature, I have added thorough tests.

Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 authored Sep 21, 2023
1 parent 4c7d0ef commit c62afad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kube-burner/ocp-config/metrics-aggregated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
metricName: replicaSetCount
instant: true

- query: count(kube_pod_info{} AND ON (pod) kube_pod_status_phase{phase="Running"}==1)
- query: count(kube_pod_info{} AND ON (pod) kube_pod_status_phase{phase="Running"}==1) by (node)
metricName: podDistribution

# Prometheus metrics
Expand Down
2 changes: 1 addition & 1 deletion cmd/kube-burner/ocp-config/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
metricName: replicaSetCount
instant: true

- query: count(kube_pod_info{} AND ON (pod) kube_pod_status_phase{phase="Running"}==1)
- query: count(kube_pod_info{} AND ON (pod) kube_pod_status_phase{phase="Running"}==1) by (node)
metricName: podDistribution

# Prometheus metrics
Expand Down

0 comments on commit c62afad

Please sign in to comment.