-
Notifications
You must be signed in to change notification settings - Fork 458
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] Add last_terminated_timestamp metric to state_container datastream #10503
[Kubernetes] Add last_terminated_timestamp metric to state_container datastream #10503
Conversation
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@@ -32,6 +32,9 @@ | |||
type: keyword | |||
description: > | |||
The last reason the container was in terminated state (Completed, ContainerCannotRun, Error or OOMKilled). | |||
- name: last_terminated_timestamp | |||
type: double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question: how this field is displayed if you change the type to date
?
Because I see other timestamp fields are marked as such
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gizas If changed to date
:
{"log.level":"warn","@timestamp":"2024-07-16T09:17:20.612Z","message":"Cannot index event (status=400): dropping event! Look at the event log to view the event and cause." ...
some of fields indeed are of type date
, but some - long
or double
, I've listed it here - elastic/beats#39200 (comment)
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
|
Quality Gate passedIssues Measures |
Package kubernetes - 1.65.0 containing this change is available at https://epr.elastic.co/search?package=kubernetes |
Proposed commit message
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Relates elastic/elastic-agent#3802
Related issues
Screenshots