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

Add alert for new agent version in prometheus collector #654

Merged
merged 24 commits into from
Oct 23, 2023

Conversation

Sohamdg081992
Copy link
Contributor

@Sohamdg081992 Sohamdg081992 commented Oct 20, 2023

In promql , I found this way to find the distinct count of image version labels in kube_pod_container_info, with a specific regex. Below is the screenshot of count of distinct regex by image. Used another count to get the count of image version.
Images

Below is screenshot of query output with single count.

singlecount

@Sohamdg081992 Sohamdg081992 requested a review from a team as a code owner October 20, 2023 23:46
@Sohamdg081992 Sohamdg081992 merged commit d925e87 into main Oct 23, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants