Skip to content

[Metricbeat] Add support for node conditions to state_node metricset #18049

@sorantis

Description

@sorantis

Today the state_node metricset in Kubernetes module only covers the following states:

"status": {
        "ready": "true",
        "unschedulable": false
      }

However the kube_node_state_condition kube_node_status_condition in node metrics covers many other conditions, such as: MemoryPressure, DiskPressure, OutOfDisk.

These conditions are useful for alerting purposes because it allows users to monitor resource states rather than health: "Is MemoryUsed > 80%" vs. "Are my nodes running out of memory?"

Add support for node status conditions to the Metricbeat's Kubernetes module that would allow building conditions like:
if kube node status condition is "MemoryPressure" and status is "true" then fire an alert

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions