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

feat(metrics): drop container label for non-container kube state metrics #2144

Merged
merged 2 commits into from
Feb 23, 2022

Conversation

sumo-drosiek
Copy link
Contributor

Description

Drop container label for non-container kube state metrics. It requires to extract kube_pod_status_phase which shouldn't have container label but should have pod/service labels.

Fixes #2097


Checklist

Remove items which don't apply to your PR.

  • Changelog updated
Testing performed
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
@sumo-drosiek sumo-drosiek requested a review from a team as a code owner February 23, 2022 13:19
Copy link
Contributor

@pmalek-sumo pmalek-sumo left a comment

Choose a reason for hiding this comment

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

Changelog entry?

@github-actions github-actions bot added the documentation documentation label Feb 23, 2022
@sumo-drosiek sumo-drosiek added this to the v2.6 milestone Feb 23, 2022
CHANGELOG.md Outdated
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- feat: add otelcol's liveness and readiness probes configuration [#2105][#2105]
- docs: add fluentd buffers vs DPM calculations info for metrics [#2128][#2128]
- feat(otelcol/metrics): adjust metric otelcol configuration [#2134][#2134]
- feat(metrics): drop container label for non-container kube state metrics [#2144][#2144]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's more of a Changed entry, isn't it?

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
@sumo-drosiek sumo-drosiek merged commit 50810af into main Feb 23, 2022
@sumo-drosiek sumo-drosiek deleted the drosiek-drop-container-labels branch February 23, 2022 14:13
@sumo-drosiek sumo-drosiek restored the drosiek-drop-container-labels branch July 15, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explorer view in Sumo UI shows kube-state-metrics container added to every pod
2 participants