Tools/open-telemetry/opentelemetry-java-instrumentation

opentelemetry-java-instrumentation

OpenTelemetry auto-instrumentation and instrumentation libraries for Java

2.6k+3/wkemergingJavaApache License 2.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Apr 2026

This is how you get it. One JAR file, one JVM flag, and it auto-instruments your Spring Boot, Kafka, gRPC, JDBC, and dozens of other libraries. Zero code changes. CNCF project, Apache 2.0, completely free.

The agent itself is trivial to deploy. Add it to your JVM startup, point it at an OTLP endpoint, done. The real ops burden is the backend: you need somewhere to send the data. OpenTelemetry Collector plus Jaeger or Grafana Tempo is the common self-hosted stack. That's a meaningful setup, but it's a one-time cost shared across all your services.

Solo devs and small teams can point it at a managed backend (Grafana Cloud free tier, Honeycomb, Datadog) and skip the infrastructure entirely. Larger teams running their own Grafana/Tempo stack get full control and zero per-host licensing. The agent is vendor-neutral by design, so you're never locked to one backend.

The catch: it's Java-only. If you're running a polyglot stack, you need separate OpenTelemetry agents for Python, Node, Go, etc. And "zero code changes" means "zero code changes until you need custom spans," at which point you're adding SDK calls anyway.

Free vs Self-Hosted vs Paid

fully free

Free tier: Everything. The agent is 100% free and open source under Apache 2.0. No paid version exists.

Self-hosted: The agent is a single JAR. No infrastructure needed for the agent itself. You need an OTLP-compatible backend (self-hosted Jaeger/Tempo or a managed service).

Paid options: None from OpenTelemetry. Commercial vendors (Splunk, Datadog, Grafana Cloud) sell managed backends that consume the telemetry this agent produces. The agent is vendor-neutral.

Completely free. The cost is in the backend, not the instrumentation.

What to do by team size

Solo
free with managed backend
Small team
free with managed backend
Larger team
free with self hosted backend
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
80/100 · A
Adoption19/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Growing adoption: 2,510 starsActive community: 1,085 forksPermissive license (Apache-2.0)

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
OpenTelemetry - CNCF (Organization)
Stars
2,603
Forks
1,131

Explore Further

More tools in the directory