
Observability Edot Java Instrument
This sets up automatic observability for Java applications using Elastic's OpenTelemetry distribution. You attach the agent JAR with a javaagent flag, point it at your OTLP endpoint (not the old APM server URL), and set three environment variables for service name, endpoint, and auth header. The skill enforces the right patterns because it's easy to mess up: developers often try using the wrong exporter settings or mixing this with the classic Elastic APM agent, which breaks things. Good for greenfield services or migrating off legacy APM tooling. The attached agent automatically captures traces, metrics, and logs without code changes, which is the main appeal of the auto-instrumentation approach.
- GitHub stars
- 503
- last updated
- Jun 1, 2026
Install
$ npx -y skills add elastic/agent-skills --skill observability-edot-java-instrument --agent claude-codeInstalls into .claude/skills of the current project.
Files
This sets up automatic observability for Java applications using Elastic's OpenTelemetry distribution. You attach the agent JAR with a javaagent flag, point it at your OTLP endpoint (not the old APM server URL), and set three environment variables for service name, endpoint, and auth header. The skill enforces the right patterns because it's easy to mess up: developers often try using the wrong exporter settings or mixing this with the classic Elastic APM agent, which breaks things. Good for greenfield services or migrating off legacy APM tooling. The attached agent automatically captures traces, metrics, and logs without code changes, which is the main appeal of the auto-instrumentation approach.
Browse the repository on GitHubSponsors
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- Observability Edot Java Migrate
- Observability Edot Python Instrument
- Observability Edot Python Migrate
- Security Generate Security Sample Data
- Observability K8s Investigation
- Observability Llm Obs
- Observability Logs Search
- Cloud Manage Project
- Observability Manage Slos
- Cloud Network Security
- Observability Service Health
- Cloud Setup
- Kibana Streams
- Elasticsearch Esql5.2K
- Elasticsearch Onboarding4.7K
- Kibana Dashboards4.6K
- Security Case Management4.4K
- Kibana Alerting Rules4.3K
- Kibana Agent Builder4.3K
- Observability Llm Obs4.2K
- Security Alert Triage4.2K
- Security Detection Rule Management4.1K
- Security Generate Security Sample Data4.1K
- Kibana Anomaly Detection3.4K