observability-edot-java-migrate▌
elastic/agent-skills · updated Apr 8, 2026
Read the migration guide before making changes:
EDOT Java Migration
Read the migration guide before making changes:
Guidelines
- Remove ALL classic APM references:
elastic-apm-agent.jar,elasticapm.properties, allELASTIC_APM_*env vars, and anyco.elastic.apmMaven/Gradle dependencies - Use
elastic-otel-javaagent.jar(download from Maven Central, not a Maven/Gradle compile dependency) - Attach via
-javaagent:/path/to/elastic-otel-javaagent.jarorJAVA_TOOL_OPTIONS="-javaagent:/path/to/elastic-otel-javaagent.jar"— without this the agent does nothing - Set exactly three required environment variables:
OTEL_SERVICE_NAME(replacesELASTIC_APM_SERVICE_NAME)OTEL_EXPORTER_OTLP_ENDPOINT— must be the managed OTLP endpoint or EDOT Collector URL. Do NOT reuse the oldELASTIC_APM_SERVER_URLvalue. Never use an APM Server URL (noapm-server, no:8200, no/intake/v2/events)OTEL_EXPORTER_OTLP_HEADERS—"Authorization=ApiKey <key>"or"Authorization=Bearer <token>"(replacesELASTIC_APM_SECRET_TOKEN/API_KEY)
- Do NOT set
OTEL_TRACES_EXPORTER,OTEL_METRICS_EXPORTER, orOTEL_LOGS_EXPORTER— the defaults are already correct - Never run both classic Elastic APM agent and EDOT agent on the same JVM
Examples
See the EDOT Java migration guide for complete examples.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★37 reviews- ★★★★★Dhruvi Jain· Dec 12, 2024
observability-edot-java-migrate fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Dev Anderson· Dec 12, 2024
I recommend observability-edot-java-migrate for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Oshnikdeep· Nov 3, 2024
Registry listing for observability-edot-java-migrate matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Ganesh Mohane· Oct 22, 2024
observability-edot-java-migrate reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Dev Robinson· Sep 17, 2024
Keeps context tight: observability-edot-java-migrate is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Sakshi Patil· Sep 13, 2024
I recommend observability-edot-java-migrate for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Meera Robinson· Sep 13, 2024
We added observability-edot-java-migrate from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Chaitanya Patil· Aug 4, 2024
Useful defaults in observability-edot-java-migrate — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Meera Choi· Aug 4, 2024
observability-edot-java-migrate fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Dev Sethi· Jul 27, 2024
Useful defaults in observability-edot-java-migrate — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 37