From 31145f72bb7cfbdbf12ac689ca573f458515b5b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Fern=C3=A1ndez=20Casta=C3=B1o?= Date: Mon, 18 Dec 2023 18:28:15 +0100 Subject: [PATCH] Request indexing memory pressure metrics in APM node metrics publisher (#103520) Relates https://github.com/elastic/elasticsearch/pull/103172 --- docs/changelog/103520.yaml | 5 +++++ .../java/org/elasticsearch/monitor/metrics/NodeMetrics.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 docs/changelog/103520.yaml diff --git a/docs/changelog/103520.yaml b/docs/changelog/103520.yaml new file mode 100644 index 0000000000000..0ef7124eb1ed2 --- /dev/null +++ b/docs/changelog/103520.yaml @@ -0,0 +1,5 @@ +pr: 103520 +summary: Request indexing memory pressure in APM node metrics publisher +area: Distributed +type: bug +issues: [] diff --git a/server/src/main/java/org/elasticsearch/monitor/metrics/NodeMetrics.java b/server/src/main/java/org/elasticsearch/monitor/metrics/NodeMetrics.java index 16b0b9a10d914..2e3bc0935c6e3 100644 --- a/server/src/main/java/org/elasticsearch/monitor/metrics/NodeMetrics.java +++ b/server/src/main/java/org/elasticsearch/monitor/metrics/NodeMetrics.java @@ -441,7 +441,7 @@ private NodeStats getNodeStats() { false, false, false, - false, + true, false ); }