Skip to content

Commit

Permalink
rename status.last.reason -> status.last_terminated_reason
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 Feb 10, 2022
1 parent 3f6426a commit 28f2f7e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 53 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...main[Check the HEAD dif
- Add `xpack.enabled` support for Enterprise Search module. {pull}29871[29871]
- Add gcp firestore metricset. {pull}29918[29918]
- Remove strict parsing on RabbitMQ module {pull}30090[30090]
- Add `kubernetes.container.status.last.reason` metric {issue}27840|[27840]
- Add `kubernetes.container.status.last.reason` metric {pull}30306|[30306]

*Packetbeat*

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44263,7 +44263,7 @@ type: keyword

--

*`kubernetes.container.status.last.reason`*::
*`kubernetes.container.status.last_terminated_reason`*::
+
--
The last reason the container was in terminated state (Completed, ContainerCannotRun, Error or OOMKilled).
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.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
description: >
The reason the container is currently in waiting (ContainerCreating, CrashLoopBackoff, ErrImagePull,
ImagePullBackoff) or terminated (Completed, ContainerCannotRun, Error, OOMKilled) state.
- name: last.reason
- name: last_terminated_reason
type: keyword
description: >
The last reason the container was in terminated state (Completed, ContainerCannotRun, Error or OOMKilled).
Expand Down
Loading

0 comments on commit 28f2f7e

Please sign in to comment.