Skip to content

Commit 05cabbd

Browse files
Update docs/_edot-sdks/java/setup/index.md
Co-authored-by: SylvainJuge <763082+SylvainJuge@users.noreply.github.com>
1 parent 596d362 commit 05cabbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/_edot-sdks/java/setup/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ You need to have completed the steps in the [Quickstart](/quickstart/) section t
4242
*Self-managed EDOT Collector*
4343

4444
`OTEL_EXPORTER_OTLP_ENDPOINT` should be set to the OTLP endpoint of your selfmanaged EDOT Collector.
45+
46+
If EDOT Collector requires authentication, `OTEL_EXPORTER_OTLP_HEADERS` should be set to include `Authorization=ApiKey <ELASTIC_API_KEY>` (comma-separated key=value list).
4547

4648
*Elastic Managed OTLP endpoint*
4749

0 commit comments

Comments
 (0)