| What it is | Dynamic dispatching library for metrics and instrumentation on the Erlang VM | Vendor-neutral APIs, SDKs and tools for traces, metrics and logs | Define metrics from Telemetry events in Elixir | eBPF-based auto-instrumentation: OpenTelemetry traces and RED metrics with no code changes |
| Features | - telemetry:execute emits events with measurements and metadata
- Attach handlers to one or many events by name
- telemetry:span emits start, stop and exception events with durations
- Works from both Erlang and Elixir
| - specification for APIs, SDKs, data and components
- OTLP protocol for traces, metrics and logs
- semantic conventions for naming common telemetry
- language APIs and SDKs for C++, .NET, Erlang/Elixir, Go, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust and Swift
- zero-code instrumentation for Go, .NET, PHP, Python, Java and JavaScript
- OpenTelemetry Operator for Kubernetes injects zero-code instrumentation
- registry of instrumentation libraries for common libraries and frameworks
- context propagation, baggage, sampling and resources
- All 10 features
| - One interface for defining metrics from Telemetry events
- Reporters publish the same metric definitions to different backends
- Reporters for Prometheus and StatsD
| - zero-code trace spans and RED metrics from eBPF probes
- HTTP/S, HTTP/2, gRPC, SQL, Redis, Kafka and MongoDB instrumentation
- Go, Java, .NET, Node.js, Python, Ruby, Rust and C/C++ services
- exports OpenTelemetry (OTLP) data and native Prometheus metrics
- Kubernetes metadata decoration (Pod, namespace and more)
- runs on Linux hosts, in containers, in Kubernetes or as a Grafana Alloy component
- Grafana Cloud OTLP configuration section and GRAFANA_CLOUD_* variables
- process metrics (CPU, memory, disk, network) for instrumented processes
- All 13 features
|
| Limitations | - Handlers run synchronously on each telemetry:execute call, so a slow handler slows the code that emits the event
| - Stability varies by language and signal: for example logs are still in development for JavaScript and Python, metrics for Ruby, and Kotlin is in development throughout
- Experimental semantic conventions can break: instrumentation that relies on conventions marked experimental may see breaking changes regardless of the SDK's status
- Not a backend: it generates and exports telemetry but leaves storage and visualization to other tools
| | - Doesn't run on macOS or Windows: it needs Linux kernel 5.8 or later with BTF, or a RHEL-family 4.18 kernel from build 348
|