Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port #4280 to serverless #4296

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ java -javaagent:/path/to/opentelemetry-javaagent-all.jar \
<DocCell>`OTEL_EXPORTER_OTLP_HEADERS`</DocCell>
<DocCell>
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 <DocLink slug="/serverless/observability/apm-keep-data-secure" section="secure-communication-with-apm-agents">Secure communication with APM agents</DocLink>.

<DocCallOut title="Note">
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.
</DocCallOut>
</DocCell>
</DocRow>
<DocRow>
Expand Down
Loading