- Clone https://github.com/open-telemetry/opentelemetry-demo-webstore
- On an Elastic Cloud instance, add a new agent on your local machine
- Enable the APM integration.
curl http://localhost:8200
should respond with JSON indicating the APM server is running - Follow the instructions for modifying otelcol-config.yml, but make it:
otlp:
endpoint: host.docker.internal:8200
tls:
insecure: true
- There's a bug on M1 Macs that won't allow the load generator to run: open-telemetry/opentelemetry-demo#178. If this is still open, comment out the loadgenerator service in docker-compose.yml
docker compose up
- Access the web store at http://localhost:8080
- Go to Elastic APM and see the services