Skip to content

Commit

Permalink
[metricbeat/kubernetes] Remove fallback to the Node's limit for the p…
Browse files Browse the repository at this point in the history
…od 'usage.limit.pct' metrics (#40029)

* Remove fallback to the node limit for the usage.limit.pct metrics calculation

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

* remove debug files

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

* fix the fields description

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

* Update metricbeat/docs/fields.asciidoc

Co-authored-by: Andrew Gizas <andreas.gkizas@elastic.co>

* Update metricbeat/docs/fields.asciidoc

Co-authored-by: Andrew Gizas <andreas.gkizas@elastic.co>

* Update metricbeat/docs/fields.asciidoc

Co-authored-by: Andrew Gizas <andreas.gkizas@elastic.co>

* update fields description

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

---------

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Co-authored-by: Andrew Gizas <andreas.gkizas@elastic.co>
  • Loading branch information
tetianakravchenko and gizas authored Jul 1, 2024
1 parent 77d71d5 commit 53bf67c
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 52 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]

- Setting period for counter cache for Prometheus remote_write at least to 60sec {pull}38553[38553]
- Add support of Graphite series 1.1.0+ tagging extension for statsd module. {pull}39619[39619]
- Remove fallback to the node limit for the `kubernetes.pod.cpu.usage.limit.pct` and `kubernetes.pod.memory.usage.limit.pct` metrics calculation

*Osquerybeat*

Expand Down
6 changes: 3 additions & 3 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45158,7 +45158,7 @@ format: percent
*`kubernetes.pod.cpu.usage.limit.pct`*::
+
--
CPU usage as a percentage of the defined limit for the pod containers (or total node CPU if one or more containers of the pod are unlimited). If one or more containers of the pod is unlimited and the `node` and `state_node` metricsets are both disabled on that node, this metric will be missing entirely.
CPU usage as a percentage of the defined cpu limits sum of the pod containers. If any container is missing a limit the metric is not emitted.


type: scaled_float
Expand Down Expand Up @@ -45196,7 +45196,7 @@ format: percent
*`kubernetes.pod.memory.usage.limit.pct`*::
+
--
Memory usage as a percentage of the defined limit for the pod containers (or total node allocatable memory if unlimited). If one or more containers of the pod is unlimited and the `node` and `state_node` metricsets are both disabled on that node, this metric will be missing entirely.
Memory usage as a percentage of the defined memory limits sum of the pod containers. If any container is missing a limit the metric is not emitted.


type: scaled_float
Expand Down Expand Up @@ -45234,7 +45234,7 @@ format: bytes
*`kubernetes.pod.memory.working_set.limit.pct`*::
+
--
Working set memory usage as a percentage of the defined limit for the pod containers (or total node allocatable memory if unlimited)
Working set memory usage as a percentage of the defined limits sum of the pod containers. If any container is missing a limit the metric is not emitted.


type: scaled_float
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.

Loading

0 comments on commit 53bf67c

Please sign in to comment.