Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cluster:node_cpu:ratio query #1628

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

ravilr
Copy link
Contributor

@ravilr ravilr commented Feb 10, 2022

Description

cluster:node_cpu:ratio query expression was referring to an non-existent metric, could have been a typo.

Also, once this is merged, planning to use cluster:node_cpu:ratio in the cluster resource usage dashboards here as the current query there is slower to evaluate on clusters having many nodes with multi-core cpus ( cores >= 64 ).

cc @paulfantom

Type of change

What type of changes does your code introduce to the kube-prometheus? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

Please put a one-line changelog entry below. Later this will be copied to the changelog file.

fix cluster:node_cpu:ratio query

Copy link
Contributor

@philipgough philipgough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

This should also close the similar PR #1504 which was never followed up on after my comment

@ravilr
Copy link
Contributor Author

ravilr commented Feb 14, 2022

Hi, Anything pending to get this merged. Thanks.

@ArthurSens ArthurSens merged commit d270540 into prometheus-operator:main Feb 15, 2022
@ArthurSens
Copy link
Member

Sorry for taking this long!

@ravilr ravilr deleted the fix_cluster_cpu_query branch February 15, 2022 19:57
jacobbaungard added a commit to jacobbaungard/multicluster-observability-operator that referenced this pull request Jul 1, 2024
There was a bug in the rule imported from kube-prometheus causing the
rule not to correctly return any results. This caused the data to be
missing on the optimized dashboard from *ks clusters.

Upstream fix was here:
prometheus-operator/kube-prometheus#1628

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
jacobbaungard added a commit to stolostron/multicluster-observability-operator that referenced this pull request Jul 1, 2024
There was a bug in the rule imported from kube-prometheus causing the
rule not to correctly return any results. This caused the data to be
missing on the optimized dashboard from *ks clusters.

Upstream fix was here:
prometheus-operator/kube-prometheus#1628

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/multicluster-observability-operator that referenced this pull request Jul 1, 2024
There was a bug in the rule imported from kube-prometheus causing the
rule not to correctly return any results. This caused the data to be
missing on the optimized dashboard from *ks clusters.

Upstream fix was here:
prometheus-operator/kube-prometheus#1628

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
openshift-merge-bot bot pushed a commit to stolostron/multicluster-observability-operator that referenced this pull request Jul 3, 2024
There was a bug in the rule imported from kube-prometheus causing the
rule not to correctly return any results. This caused the data to be
missing on the optimized dashboard from *ks clusters.

Upstream fix was here:
prometheus-operator/kube-prometheus#1628

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
Co-authored-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
thibaultmg pushed a commit to thibaultmg/multicluster-observability-operator that referenced this pull request Jul 10, 2024
There was a bug in the rule imported from kube-prometheus causing the
rule not to correctly return any results. This caused the data to be
missing on the optimized dashboard from *ks clusters.

Upstream fix was here:
prometheus-operator/kube-prometheus#1628

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants