From 9a6945ad3232350d4b31ce61828c935c33899d07 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Thu, 25 May 2023 09:32:29 -0400 Subject: [PATCH 1/2] Fix broken links from APM-Server 10874 --- docs/agent-api.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/agent-api.asciidoc b/docs/agent-api.asciidoc index ddcbed5134..fdb8050264 100644 --- a/docs/agent-api.asciidoc +++ b/docs/agent-api.asciidoc @@ -164,7 +164,7 @@ apm.addMetadataFilter(function dropArgv(metadata) { Warning: It is the responsibility of the author to ensure the returned object conforms to the -{apm-guide-ref}/metadata-api.html#metadata-schema[metadata schema] +{apm-guide-ref}/metadata-api.html[metadata schema] otherwise all APM data injest will fail. A metadata filter that breaks the metadata will result in error logging from the agent, something like: From 25c538914ad17ed1975742f9272af3fbc45a825a Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Thu, 25 May 2023 09:39:52 -0400 Subject: [PATCH 2/2] fix url --- docs/agent-api.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/agent-api.asciidoc b/docs/agent-api.asciidoc index fdb8050264..530db6c68a 100644 --- a/docs/agent-api.asciidoc +++ b/docs/agent-api.asciidoc @@ -164,7 +164,7 @@ apm.addMetadataFilter(function dropArgv(metadata) { Warning: It is the responsibility of the author to ensure the returned object conforms to the -{apm-guide-ref}/metadata-api.html[metadata schema] +{apm-guide-ref}/api-metadata.html[metadata schema] otherwise all APM data injest will fail. A metadata filter that breaks the metadata will result in error logging from the agent, something like: