From d7d6266cf4009d61ab0b2ff0cbf649ceb8e9eaab Mon Sep 17 00:00:00 2001 From: Stuart Tettemer Date: Thu, 18 Jan 2024 08:18:36 -0600 Subject: [PATCH] APMJvmOptions global labels error --- .../main/java/org/elasticsearch/server/cli/APMJvmOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/APMJvmOptions.java b/distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/APMJvmOptions.java index a90b13960bc5e..de5d34ddba60b 100644 --- a/distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/APMJvmOptions.java +++ b/distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/APMJvmOptions.java @@ -246,7 +246,7 @@ static Map extractApmSettings(Settings settings) throws UserExce StringJoiner tracingGlobalLabels = extractGlobalLabels(deprecatedTelemetryAgentPrefix, propertiesMap, settings); if (tracingGlobalLabels.length() != 0) { throw new IllegalArgumentException( - "Cannot have global labels using tracing.agent prefix [" + "Cannot have global labels with tracing.agent prefix [" + globalLabels + "] and telemetry.apm.agent prefix [" + tracingGlobalLabels