From e2262274be8b315d0d18694675d416687260f37e Mon Sep 17 00:00:00 2001 From: jack-berg <34418638+jack-berg@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:54:36 -0500 Subject: [PATCH] Fix OTLP endpoint in micrometer-metrics-registry.mdx --- .../micrometer/micrometer-metrics-registry.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/apm/agents/java-agent/related-integrations/micrometer/micrometer-metrics-registry.mdx b/src/content/docs/apm/agents/java-agent/related-integrations/micrometer/micrometer-metrics-registry.mdx index fe7edbea9ad..ede6888b8b1 100644 --- a/src/content/docs/apm/agents/java-agent/related-integrations/micrometer/micrometer-metrics-registry.mdx +++ b/src/content/docs/apm/agents/java-agent/related-integrations/micrometer/micrometer-metrics-registry.mdx @@ -104,7 +104,7 @@ These are generalized steps to set up Micrometer metrics forwarding. You may wan .registerMetricReader( PeriodicMetricReader.builder( OtlpHttpMetricExporter.builder() - .setEndpoint("https://otlp.nr-data.net") + .setEndpoint("https://otlp.nr-data.net/v1/metrics") .addHeader("api-key", Optional .ofNullable(System.getenv("NEW_RELIC_LICENSE_KEY"))