observability-edot-java-instrument

elastic/agent-skills · updated Apr 8, 2026

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

Read the setup guide before making changes:

skill.md

EDOT Java Instrumentation

Read the setup guide before making changes:

Guidelines

  1. Use elastic-otel-javaagent.jar (download from Maven Central, not a Maven/Gradle compile dependency)
  2. 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
  3. Set exactly three required environment variables:
    • OTEL_SERVICE_NAME
    • OTEL_EXPORTER_OTLP_ENDPOINT — must be the managed OTLP endpoint or EDOT Collector URL. 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>"
  4. Do NOT set OTEL_TRACES_EXPORTER, OTEL_METRICS_EXPORTER, or OTEL_LOGS_EXPORTER — the defaults are already correct
  5. Never run both classic Elastic APM agent and EDOT agent on the same JVM

Examples

See the EDOT Java setup guide for complete Dockerfile and docker-compose examples.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.534 reviews
  • Dhruvi Jain· Dec 24, 2024

    Keeps context tight: observability-edot-java-instrument is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Anika Harris· Dec 24, 2024

    observability-edot-java-instrument fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Aanya Srinivasan· Dec 4, 2024

    We added observability-edot-java-instrument from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Kiara Mensah· Dec 4, 2024

    Useful defaults in observability-edot-java-instrument — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Aanya Rao· Nov 23, 2024

    observability-edot-java-instrument reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Oshnikdeep· Nov 15, 2024

    observability-edot-java-instrument has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Mei Sethi· Nov 15, 2024

    Registry listing for observability-edot-java-instrument matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Aditi Ramirez· Oct 14, 2024

    Registry listing for observability-edot-java-instrument matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Ganesh Mohane· Oct 6, 2024

    Solid pick for teams standardizing on skills: observability-edot-java-instrument is focused, and the summary matches what you get after install.

  • Sofia Jain· Oct 6, 2024

    observability-edot-java-instrument reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 34

1 / 4