elastic avatar

Observability Edot Java Migrate

If you're moving a Java app from Elastic's classic APM agent to their newer EDOT (Elastic Distribution of OpenTelemetry) agent, this walks you through the switch. It handles the mechanical stuff: swapping out elastic-apm-agent.jar for elastic-otel-javaagent.jar, translating environment variables from the ELASTIC_APM_* format to OTEL_* equivalents, and making sure you point at the right OTLP endpoint instead of the old APM Server URL. The main gotcha it avoids is running both agents simultaneously, which will cause problems. It's built by Elastic and covers the javaagent attachment methods and the three required config variables you absolutely need to set.

GitHub stars
503
last updated
Jun 1, 2026

Install

$ npx -y skills add elastic/agent-skills --skill observability-edot-java-migrate --agent claude-code

Installs into .claude/skills of the current project.

Files

If you're moving a Java app from Elastic's classic APM agent to their newer EDOT (Elastic Distribution of OpenTelemetry) agent, this walks you through the switch. It handles the mechanical stuff: swapping out elastic-apm-agent.jar for elastic-otel-javaagent.jar, translating environment variables from the ELASTIC_APM_* format to OTEL_* equivalents, and making sure you point at the right OTLP endpoint instead of the old APM Server URL. The main gotcha it avoids is running both agents simultaneously, which will cause problems. It's built by Elastic and covers the javaagent attachment methods and the three required config variables you absolutely need to set.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/elastic/agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, Java & JVM
License
Apache-2.0
First seen
Jun 11, 2026

More from elastic/agent-skills

All 57
1elastic avatarobservability-edot-python-instrumentelastic/agent-skills>0skills.sh installs
2elastic avatarobservability-edot-python-migrateelastic/agent-skills>0skills.sh installs
3elastic avatarobservability-logs-searchelastic/agent-skills>0skills.sh installs
4elastic avatarobservability-manage-sloselastic/agent-skills>0skills.sh installs
5elastic avatarobservability-service-healthelastic/agent-skills>0skills.sh installs
6hoangnguyen0403 avatardeploy-releasehoangnguyen0403/agent-skills-standardPrepare and verify a staged or production deployment with rollback and smoke checks.0skills.sh installs