observability-edot-java-migrate

elastic/agent-skills · updated Apr 8, 2026

$npx skills add https://github.com/elastic/agent-skills --skill observability-edot-java-migrate
0 commentsdiscussion
summary

Read the migration guide before making changes:

skill.md

EDOT Java Migration

Read the migration guide before making changes:

Guidelines

  1. Remove ALL classic APM references: elastic-apm-agent.jar, elasticapm.properties, all ELASTIC_APM_* env vars, and any co.elastic.apm Maven/Gradle dependencies
  2. Use elastic-otel-javaagent.jar (download from Maven Central, not a Maven/Gradle compile dependency)
  3. Attach via -javaagent:/path/to/elastic-otel-javaagent.jar or JAVA_TOOL_OPTIONS="-javaagent:/path/to/elastic-otel-javaagent.jar" — without this the agent does nothing
  4. Set exactly three required environment variables:
    • OTEL_SERVICE_NAME (replaces ELASTIC_APM_SERVICE_NAME)
    • OTEL_EXPORTER_OTLP_ENDPOINT — must be the managed OTLP endpoint or EDOT Collector URL. Do NOT reuse the old ELASTIC_APM_SERVER_URL value. Never use an APM Server URL (no apm-server, no :8200, no /intake/v2/events)
    • OTEL_EXPORTER_OTLP_HEADERS"Authorization=ApiKey <key>" or "Authorization=Bearer <token>" (replaces ELASTIC_APM_SECRET_TOKEN / API_KEY)
  5. Do NOT set OTEL_TRACES_EXPORTER, OTEL_METRICS_EXPORTER, or OTEL_LOGS_EXPORTER — the defaults are already correct
  6. 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.
general reviews

Ratings

4.837 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

1 / 4