Instant Kubernetes-Native Application Observability
open sourceApache-2.0self-hostablefree
Pixie is an open source observability tool for Kubernetes applications that uses eBPF to collect telemetry without code changes: full-body requests for HTTP, HTTP/2 and gRPC, DNS, MySQL, PostgreSQL, Cassandra, Redis, Kafka, AMQP, MongoDB and NATS (including TLS traffic from OpenSSL, BoringSSL and Go), resource and network metrics, JVM metrics and continuous CPU profiles of Go, Rust and C/C++ programs. Its per-node agents store data in memory inside the cluster, where scripts in PxL, a Pythonic query language, run from the web UI, the CLI or the Go and Python client APIs; retention is on the order of hours, and a plugin system exports data in OpenTelemetry format to other tools. Pixie Cloud handles users and authentication and can be self-hosted or hosted (Cosmic Cloud, or New Relic's Community Cloud with Pixie), while telemetry stays on the cluster. New Relic created Pixie and contributed it to the CNCF as a sandbox project in June 2021; it is Apache-2.0.
Ways to install
On Kubernetes
Package managers
Problems it solves
- see every HTTP request between our Kubernetes services, with full bodies, without adding instrumentation
- get a service map of who talks to whom in our cluster in minutes
- debug slow MySQL or PostgreSQL queries coming from a pod without touching application code
- inspect gRPC and Kafka traffic between microservices while an incident is happening
- find which function is burning CPU in a Go or Rust service in production with a flame graph
- observe Kubernetes apps with eBPF instead of installing language agents in every service
- keep telemetry data inside our cluster instead of shipping it to a SaaS vendor
- see request latency and error rates per pod and service without code changes
- trace TLS-encrypted traffic between services without terminating TLS
- add a log line to a running Go program to debug it without redeploying
- query live cluster telemetry with scripts and share them with the team
- export eBPF-collected Kubernetes metrics and spans to our OpenTelemetry backend
- free, open source Kubernetes observability we can run in an air-gapped cluster
- look at network traffic and connection stats between pods to find a misbehaving service
Features
- eBPF auto-telemetry with no code changes or redeploys
- protocol tracing: HTTP, HTTP/2 and gRPC, DNS, NATS, MySQL, PostgreSQL, Cassandra, Redis, Kafka, AMQP, MongoDB
- tracing of TLS traffic from OpenSSL, BoringSSL and Go TLS
- resource, network and JVM metrics
- always-on continuous CPU profiling for Go, Rust and C/C++
- dynamic logging in Go applications and custom bpftrace scripts
- in-cluster, in-memory storage and query execution, using under 5% of cluster CPU
- PxL, a Pythonic query language, with community scripts
- web UI, CLI and Go and Python client APIs
- plugin system and OpenTelemetry export for long-term retention
View 3 more
- end-to-end encryption of telemetry in flight
- self-hosted or hosted Pixie Cloud; air-gapped installs
- Helm charts with or without the operator
Limitations
- Doesn't run on Windows nodes: Pixie runs on Linux nodes only, with kernel 4.14 or later3
- Doesn't support EKS Fargate or GKE Autopilot: neither supports eBPF3
- Doesn't run in Kubernetes environments that run inside containers, such as kind, k3d or Docker Desktop3
- Doesn't keep telemetry long term: in-cluster retention is on the order of hours, and plugins export data to other tools for longer4
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Pixie does.
- Odigos Production context. For every decision.
- Kubeshark Network Observability for SREs & AI Agents
- Grafana Beyla eBPF-based auto-instrumentation: OpenTelemetry traces and RED metrics with no code changes
- Hubble Network, service and security observability for Kubernetes using eBPF
- groundcover The full-stack observability platform for engineers & agents
- Anteon eBPF-powered Kubernetes monitoring and performance testing
