diff --git a/docs/en/serverless/apm-agents/apm-agents-opentelemetry-opentelemetry-native-support.mdx b/docs/en/serverless/apm-agents/apm-agents-opentelemetry-opentelemetry-native-support.mdx index 09aef4a1cb..d009cfeb62 100644 --- a/docs/en/serverless/apm-agents/apm-agents-opentelemetry-opentelemetry-native-support.mdx +++ b/docs/en/serverless/apm-agents/apm-agents-opentelemetry-opentelemetry-native-support.mdx @@ -133,6 +133,13 @@ java -javaagent:/path/to/opentelemetry-javaagent-all.jar \ `OTEL_EXPORTER_OTLP_HEADERS` Authorization header that includes the Elastic APM API key: `"Authorization=ApiKey an_api_key"`. + Note the required space between `ApiKey` and `an_api_key`. + + For information on how to format an API key, refer to Secure communication with APM agents. + + + If you are using a version of the Python OpenTelemetry agent _before_ 1.27.0, the content of the header _must_ be URL-encoded. You can use the Python standard library's `urllib.parse.quote` function to encode the content of the header. +