-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[node metrics] add message field to kube_node_status_condition #2404
Comments
I would be happy to submit a patch to support your use case. However, I'm afraid such label could have a significant impact on cardinality. It seems to me that conditions Let's wait for others to comment on this. |
Thanks for that. I'm happy to contribute the patch as well. Regarding cardinality; Perhaps it could be feature flagged or something? |
I agree with @ricardoapl,
I wouldn't be in favor of adding any feature to kube-state-metrics that could harm users clusters, even behind feature flags. In the end we would still be responsible for the cardinality explosions that are bound to happen with such metrics. |
how about if enablement meant automatically adding a labeldrop blacklist that doesn't allow message / reason etc that the user had to repeal:
or perhaps a default regex sort of thing in kubernetes sd objects ( |
/assign @ricardoapl |
What would you like to be added:
the message field from
kube_node_status_condition
would be helpful to have for visualization and alerting purposes -- especially for custom conditionsWhy is this needed:
to enhance alerts based on these conditions or add context to visualizations of node status conditions
Describe the solution you'd like
add a
message
label to the existing timeseries generated by the generator family function that tracks this metricAdditional context
could it be as simple as adding the desired field as a label here
kube-state-metrics/internal/store/node.go
Lines 478 to 507 in 85762cd
The text was updated successfully, but these errors were encountered: