Skip to content

Provide last_terminated_reason_timestamp for when last_terminated_reason event happens in K8s Integration #3802

@gizas

Description

@gizas

Describe the enhancement:
Provide the time that last_terminated_reason of cotainer occurred in Kubernetes Integration
Possible fields that can support that (from KSM-Pod metrics) can be kube_pod_status_container_ready_time.

Describe a specific use case for the enhancement or feature:
The "kubernetes.container.status.last_terminated_reason" is a useful field, especially in the case of missed metrics. This metric on its own can be difficult to identify when it happened as the container or pod can keep this error since last restart and also can be
This request is specifically for a timestamp for when this last_terminated_reason occurred.

What is the definition of done?

  • Elastic Kubernetes Inetegration package update
  • Beats code update to support the new field eg. last_terminated_reason_timestamp
  • Update Relevant documentation
  • Provide Test/ Evidence that new field is present and integration works as expected

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions