-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
kubernetes_state.node.count does not get the node labels from K8s #12570
Comments
hi @alexbowers the fact that
Please let us know if we can help in another way. Thanks and regards |
Can some way of defining specific labels from nodes to be put onto the aggregate metrics so that for example, you can aggregate by environment be considered? As it stands, the aggregation isn't useful to us at all, because it combines our staging, QA, and production environments together and pollutes the actual data that we'd be looking for. If there was a way for us to say "include |
Hey, |
Great workaround, thanks @13013SwagR. I just popped in to mention that this issue affected us as well - we have a number of monitors in which we aggregate |
Hi @drmaciej We now provide a set of "service checks" to represent the different "standard" Node conditions:
See: https://docs.datadoghq.com/integrations/kubernetes_state_core/?tab=helm#service-checks Because these service checks generate a status of each node and they are attached to the corresponding host, All the host tags can be use to "group by" in the monitor. |
Thanks @clamoriniere, that makes sense. I actually do not see |
@drmaciej I am seeing the same as yours, been wondering about this as well. |
for what it's worth, I still do not have those two checks on my end; my |
Describe the results you received:
![CleanShot 2022-07-22 at 12 17 29](https://user-images.githubusercontent.com/842974/180428441-b294d215-522a-4e2a-ba69-465382c27ad7.png)
Describe the results you expected:
I would expect
kubernetes_state.node.count
to have the labels that are passed from the node, so that I can get the number of nodes that are within each node-group for monitoring.Additional information you deem important (e.g. issue happens only occasionally):
![CleanShot 2022-07-22 at 12 17 41](https://user-images.githubusercontent.com/842974/180428473-16953ca1-30e0-4ce5-b487-83a8aad7a06e.png)
As you can see
kubernetes_state.node.age
(and others) have the node-group name and other information that I want to use.The text was updated successfully, but these errors were encountered: