Skip to content

Commit

Permalink
rename field to last_terminated_timestamp
Browse files Browse the repository at this point in the history
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
  • Loading branch information
tetianakravchenko committed Apr 26, 2024
1 parent 180afdf commit 90d82b6
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45985,10 +45985,10 @@ type: keyword

--

*`kubernetes.container.status.last_terminated_reason_timestamp`*::
*`kubernetes.container.status.last_terminated_timestamp`*::
+
--
Last terminated time (epoch) of a container
Last terminated time (epoch) of the container


type: double
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions metricbeat/module/kubernetes/state_container/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
type: keyword
description: >
The last reason the container was in terminated state (Completed, ContainerCannotRun, Error or OOMKilled).
- name: last_terminated_reason_timestamp
- name: last_terminated_timestamp
type: double
description: >
Last terminated time (epoch) of a container
Last terminated time (epoch) of the container
- name: cpu
type: group
fields:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
"name": "kube-scheduler",
"status": {
"last_terminated_reason": "Error",
"last_terminated_reason_timestamp": 1713935860,
"last_terminated_timestamp": 1713935860,
"phase": "running",
"ready": true,
"restarts": 0
Expand Down
Loading

0 comments on commit 90d82b6

Please sign in to comment.