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(metrics): Correct the name of k8s hpa metrics (part of kube-state-metrics) #3832

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

rnishtala-sumo
Copy link
Contributor

@rnishtala-sumo rnishtala-sumo commented Aug 21, 2024

Correct the name of k8s hpa metrics (part of kube-state-metrics). There's an open customer issue for this.

  • Changelog updated or skip changelog label added
  • Documentation updated
  • Integration tests

@rnishtala-sumo rnishtala-sumo requested a review from a team as a code owner August 21, 2024 15:39
Copy link

@ccressent ccressent left a comment

Choose a reason for hiding this comment

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

Could you explain the impact, if any, this would have on existing deployments? Could some people be relying on the kube_hpa* names?

@rnishtala-sumo
Copy link
Contributor Author

@ccressent this currently doesn't work because the metrics were renamed a while ago
https://github.com/kubernetes/kube-state-metrics/blob/main/docs/metrics/workload/horizontalpodautoscaler-metrics.md

Looks like this was changed in v2.0 a while back
https://github.com/kubernetes/kube-state-metrics/blob/f7304dc8d8337ad4028c6e9f02dd47ab2fb0aa52/CHANGELOG.md?plain=1#L377C72-L377C76

Unless the customer is using a much older version for some reason they shouldn't be impacted. I doubt this is even a breaking change because this currently wouldn't work for most customers.

@ccressent
Copy link

Thanks for the links and the clarification!

@rnishtala-sumo rnishtala-sumo merged commit 16d439f into main Aug 21, 2024
66 checks passed
@rnishtala-sumo rnishtala-sumo deleted the kube-hpa-metrics branch August 21, 2024 18:31
jagan2221 added a commit that referenced this pull request Sep 13, 2024
* feat: Add labels to setup Pods for easy logs collection (#3817)

* Add labels to setup Pods for easy logs collection

* Addressing comments

* remove unwanted line

* Addressing reviews and fixing bugs

* Fixing name and indent

* Fix test

* Removing the extra space

* Changed events to setup

* feat(metrics): Define allowlist for histogram metrics (#3821)

* feat(metrics): Define allowlist for histogram metrics

* Adding template and integration tests

* Removed KOPs 1.30, not supported yet (#3823)

* docs(histogram-metrics): Updates to the doc around allowing histogram metrics (#3824)

* chore: Upgrade OpenTelemetry Collector to 0.104.0-sumo-1 (#3829)

* chore: update OpenTelemetry Collector to 0.104.0-sumo-1

* Remove deprecated compress_encoding to use compression

* Change the bind address for the otel collector and the health check ext to the pod IP

* Regenerate test files after changes to bind IP address configuration across all pods

* Add otel collector labels to metrics collection

* fix(metrics): Correct the name of k8s hpa metrics (part of kube-state-metrics) (#3832)

* chore: Prepare release 4.10.0 (#3834)

* feat: Add support for the Korea region of the Sumologic deployment (#3835)

---------

Co-authored-by: Harsh Shah <[email protected]>
Co-authored-by: Raj Nishtala <[email protected]>
Co-authored-by: Tim <[email protected]>
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