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

[bug] kubernetes-views-namespaces: created_by_name doesn't work #116

Closed
dohnto opened this issue Jul 25, 2024 · 4 comments · Fixed by #117
Closed

[bug] kubernetes-views-namespaces: created_by_name doesn't work #116

dohnto opened this issue Jul 25, 2024 · 4 comments · Fixed by #117
Assignees
Labels
bug Something isn't working released

Comments

@dohnto
Copy link

dohnto commented Jul 25, 2024

Describe the bug

The created_by_name variable doesn't work as expected and doesn't offer a drill down:
image

I found out that this is caused by the variable selector container!="" (source link):
image

As kube_pod_info metric doesn't contain the container label (official docs).

When I remove the container!="" selector, the variable will start working again.

How to reproduce?

No response

Expected behavior

No response

Additional context

No response

@dohnto dohnto added the bug Something isn't working label Jul 25, 2024
@dotdc
Copy link
Owner

dotdc commented Jul 25, 2024

Hi @dohnto,

That's interesting, it works on my side:

image

Can you give more information on your setup ? (kubernetes version, kubernetes distribution, kube-prometheus-stack version...)

I'll make additional tests and see what I can do.

@dotdc
Copy link
Owner

dotdc commented Jul 25, 2024

I'm pretty sure we can delete it from the created_by variable as you suggested.
Do you want to open a PR for this?

@dotdc
Copy link
Owner

dotdc commented Jul 27, 2024

Done in #117

@dotdc
Copy link
Owner

dotdc commented Jul 27, 2024

🎉 This issue has been resolved in version 2.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dotdc dotdc added the released label Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants