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: custom metrics for kube client #264

Merged
merged 2 commits into from
Mar 16, 2021
Merged

Conversation

diafour
Copy link
Contributor

@diafour diafour commented Mar 15, 2021

Overview

Custom labels for metrics exported by the kube client.

What this PR does / why we need it

It is needed to distinguish metrics when multiply clients are in use. addon-operator needs this.

Special notes for your reviewer

Does this PR introduce a user-facing change?


@diafour diafour requested a review from nabokihms March 15, 2021 12:16
Copy link
Member

@nabokihms nabokihms left a comment

Choose a reason for hiding this comment

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

lgtm

@diafour diafour force-pushed the feat_kube_client_custom_metrics branch from 261d8a0 to 7ce44d3 Compare March 15, 2021 15:57
@diafour diafour force-pushed the feat_kube_client_custom_metrics branch from 7ce44d3 to 9b8bc50 Compare March 15, 2021 16:18
@diafour diafour requested a review from nabokihms March 15, 2021 17:08
@diafour diafour force-pushed the feat_kube_client_custom_metrics branch from 3511752 to b766356 Compare March 16, 2021 14:24
Timeout for 'main' kube client resets Watcher sessions. So, separate kube client with timeout for object patcher is the best what we can do without huge upgrade to 0.20.
@diafour diafour force-pushed the feat_kube_client_custom_metrics branch from b766356 to ab305a6 Compare March 16, 2021 16:48
@diafour diafour merged commit 954e833 into master Mar 16, 2021
@diafour diafour deleted the feat_kube_client_custom_metrics branch March 16, 2021 17:12
@diafour diafour added this to the 1.0.0 milestone Mar 31, 2021
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.

2 participants