-
Notifications
You must be signed in to change notification settings - Fork 4.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
Handle K8s events with invalid count or invalid Timestamps #31126
Comments
I like this idea. To me is more clear and will help us maintain the module with the time being if k8s change/deprecate fields. So +1 for this. I would also suggest checking the API's compatibility between the different versions of k8s we support so as to ensure the that all these fields are exposed. The versions of k8s we test against can be found at https://github.com/elastic/beats/blob/main/deploy/kubernetes/Jenkinsfile.yml#L21. |
Checking new fields compatiblity
|
What about I think it is fine if we rely on major.minor versions for compatibility, I wouldn't expect a field removal/addition in a patch release ;). Also keep on mind that a visualisation about Events is probably coming at #31021 so maybe a coordination would help here so as to check if new fields would be more appropriate to be used in the visualisaton. |
Yes I agree that event.EventTime should be added as well. Just checked, it is supported across all versions in that list. I also noticed that https://github.com/elastic/beats/blob/main/metricbeat/module/kubernetes/event/_meta/data.json is missing the field event.source. I am not sure what that file is used for, if it is just for documentation or something else but I think it should reflect the code changes. About the coordination with #31021 I am not sure how that could play out. Maybe @MichaelKatsoulis could help there. |
@gsantoro check #31021 (comment), where there is a screenshot of how the Kubernetes overview dashboard could look like, including the events. I am showing some fields there but we could discuss what else cold be shown that would make sense. |
@MichaelKatsoulis I have checked your latest screenshot. I am wondering if we should show the kubernetes.event.reason next to kubernetes.event.message column. about the new fields that I suggested. I think they are probably too low level to show them in this dashboard but maybe they could be used in a drill-down of events per pod. |
@gsantoro sounds very good idea! |
Describe the enhancement:
Describe a specific use case for the enhancement or feature:
Notes
The text was updated successfully, but these errors were encountered: