talira

OpenTelemetry Operator

Kubernetes operator for the OpenTelemetry Collector and auto-instrumentation

open sourceApache-2.0self-hostablefree

The OpenTelemetry Operator is a Kubernetes operator from the OpenTelemetry project. It runs OpenTelemetry Collector instances from an OpenTelemetryCollector custom resource, as a Deployment, DaemonSet, StatefulSet or sidecar injected into pods, and it injects auto-instrumentation into workloads from an Instrumentation resource, so Apache HTTPD, .NET, Go, Java, Nginx, Node.js, PHP, Python and Ruby services emit traces and metrics without code changes. Its Target Allocator spreads Prometheus scrape targets across collectors, and an OpAMP bridge manages collectors remotely. It's installed with one kubectl manifest, needs cert-manager, and is licensed Apache-2.0.

Problems it solves

  • add OpenTelemetry tracing to all our Java and Python services on Kubernetes without changing their code
  • run OpenTelemetry Collectors on Kubernetes as a DaemonSet or sidecar managed declaratively
  • inject OpenTelemetry auto-instrumentation into pods with an annotation
  • scrape Prometheus targets with several OpenTelemetry Collectors without duplicating work
  • manage collector configuration as Kubernetes custom resources in GitOps
  • get traces from Node.js, .NET and Go services in our cluster into our observability backend

Features

  • OpenTelemetryCollector custom resource with Deployment, DaemonSet, StatefulSet and sidecar modes
  • sidecar injection of collectors into pods
  • Instrumentation custom resource that injects auto-instrumentation
  • auto-instrumentation for Apache HTTPD, .NET, Go, Java, Nginx, Node.js, PHP, Python and Ruby
  • Target Allocator for distributing Prometheus scrape targets
  • OpAMP Bridge for remote collector management

Limitations

  • Needs cert-manager installed in the cluster first1

Alternatives

The same job

These do what OpenTelemetry Operator does.

  1. Odigos Production context. For every decision.
  2. Grafana Alloy OpenTelemetry Collector distribution with programmable pipelines
  3. OpenTelemetry eBPF Instrumentation eBPF-based zero-code instrumentation following the OpenTelemetry standard
  4. Pixie Instant Kubernetes-Native Application Observability
  5. Grafana Beyla eBPF-based auto-instrumentation: OpenTelemetry traces and RED metrics with no code changes
  6. OpenTelemetry Vendor-neutral APIs, SDKs and tools for traces, metrics and logs

Compare OpenTelemetry Operator with the top 3