Skip to content

Commit 850a8b8

Browse files
Update docs/_edot-sdks/java/troubleshooting.md
Co-authored-by: SylvainJuge <763082+SylvainJuge@users.noreply.github.com>
1 parent 0a4cf9a commit 850a8b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/_edot-sdks/java/troubleshooting.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Ensure you have set a service name (eg `-Dotel.service.name=Service1` or environ
2121

2222
1. Check _from_ the host/VM/pod/container/image running the app, that connectivity is available to the APM server or collector. The examples here use a default URL, which you should replace with the endpoint you are using:
2323

24-
- OpenTelemetry or EDOT collector: `curl -i http://127.0.0.1:4318/v1/traces -X POST -d '{}' -H content-type:application/json`
25-
- APM server on http: `curl --verbose -X GET http://127.0.0.1:8200`
26-
- APM server on https with secret token: `curl -X POST http://127.0.0.1:8200/ -H "Authorization: Bearer <secret_token>"`
27-
- APM server on https with API key: `curl -X POST http://127.0.0.1:8200/ -H "Authorization: ApiKey <api_key>"`
24+
- OpenTelemetry or EDOT collector without authentication: `curl -i http://127.0.0.1:4318/v1/traces -X POST -d '{}' -H content-type:application/json`
25+
- APM server without authentication: `curl --verbose -X GET http://127.0.0.1:8200`
26+
- APM server with secret token authentication: `curl -X POST http://127.0.0.1:8200/ -H "Authorization: Bearer <secret_token>"`
27+
- APM server with API key authentication: `curl -X POST http://127.0.0.1:8200/ -H "Authorization: ApiKey <api_key>"`
2828

2929
The collector should produce output similar to
3030
```

0 commit comments

Comments
 (0)