Skip to content

Commit 5b9d109

Browse files
Port #4280 to serverless (#4296)
* update otel doc with note * fix copy-paste error
1 parent e1ded97 commit 5b9d109

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/en/serverless/apm-agents/apm-agents-opentelemetry-opentelemetry-native-support.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ java -javaagent:/path/to/opentelemetry-javaagent-all.jar \
133133
<DocCell>`OTEL_EXPORTER_OTLP_HEADERS`</DocCell>
134134
<DocCell>
135135
Authorization header that includes the Elastic APM API key: `"Authorization=ApiKey an_api_key"`.
136+
Note the required space between `ApiKey` and `an_api_key`.
137+
138+
For information on how to format an API key, refer to <DocLink slug="/serverless/observability/apm-keep-data-secure" section="secure-communication-with-apm-agents">Secure communication with APM agents</DocLink>.
139+
140+
<DocCallOut title="Note">
141+
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.
142+
</DocCallOut>
136143
</DocCell>
137144
</DocRow>
138145
<DocRow>

0 commit comments

Comments
 (0)