Self-host pyroscope
v2.4.3Continuous profiling platform for CPU and memory hot spots
docker run -it -p 4040:4040 grafana/pyroscope- Stars
- 11 715
- Ports
- 4040 (Main HTTP server (API, UI, ingest and queries)), 4042 (Admin HTTP server: metrics, pprof, admin)
grafana/pyroscopeWhat is pyroscope?
A continuous profiling platform from Grafana Labs, Pyroscope keeps sampling profiles of your services over time so developers can find hot code paths and cut CPU, memory and I/O consumption - before an incident, or while chasing one. Ingest works three ways: language SDKs for Go, Java, .NET, Python, Ruby, Node.js and Rust push profiles, Grafana Alloy scrapes or receives them (including eBPF auto-instrumentation of processes), and OpenTelemetry sources such as the eBPF profiler send OTLP. Since the 2.0 release the redesigned v2 architecture is the default: profile segments go straight to object storage and background compaction workers merge them, so there are no ingesters holding local disks; v1 installs can opt in and migrate without losing data. Analysis is mostly done in Grafana - Profiles Drilldown gives a queryless flame-graph experience and the Pyroscope data source feeds dashboards - though a profile CLI and the older Pyroscope UI exist too. Operating side: monolithic single-process mode or scaled-out microservices mode, multi-tenancy with tenant IDs, shuffle sharding, per-tenant limits, and write-path sampling to trim stored volume. Self-hosting is one binary, a container image (port 4040), a Homebrew formula, Linux packages or a Helm chart; retention defaults to 31 days and anonymous usage statistics are on until disabled.
Should you self-host pyroscope?
pyroscope scores 73/100 on selfhost.directory (how scoring works) and ranks #3 of 9 in Application Performance Monitoring. It has 11 715 GitHub stars, +25 in the last 30 days.
It shipped 22 stable releases in the past year. The latest, v2.3.5, came out on 3 November 2026. New versions land roughly every 6 days.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is sentry (80/100, 45 737 stars). It scores higher overall, so compare the two before you pick. See pyroscope vs sentry side by side.
Features
- Continuous profiling
- Durable long-term storagev2 writes profiles directly to object storage.
- Flame graph visualization
- High Availability
- Horizontal Scaling
- Language SDK instrumentation
- Line-level analysis
- Multi-tenancy
- Pprof endpoint scraping
- Profiling CLI
- Self-profiling
- Single Binary Deployment
- Trace-to-profile correlation
- Write-path sampling
More in Application Performance Monitoring
rivetRivet is an open-source, self-hostable orchestrator for AI agents, workflows, and sandboxes as lightweight Actors with SQLite and realtime.
RustrakRustrak is a self-hosted, open-source error tracker compatible with Sentry SDKs. Change one config line to send data to your own infrastructure.
sentrySelf-hosted error tracking and APM platform for developers to detect, trace, and fix production issues. Open-source under Fair Source license.
Sentry Self-HostedSelf-hosted Sentry: the error monitoring platform as a Docker Compose stack of web, workers, Kafka, ClickHouse and PostgreSQL, aimed at low-volume deployments.
SeqSeq is a self-hosted log server for structured logs, traces, and metrics with real-time search, alerting, and AI integration.
signozOpen-source observability tool you host yourself, combining APM, logs, traces, and dashboards on OpenTelemetry to replace DataDog.
StatLiteSelf-hosted monitoring for Spring Boot, Quarkus, Micronaut. Single Go binary, SQLite storage, built-in dashboard — no Prometheus/Grafana needed.
uptraceSelf-hosted open-source APM unifying OpenTelemetry traces, metrics, logs in one platform. Replaces Datadog/New Relic at lower cost with ClickHouse for billions of spans.
ZabbixZabbix is a self-hosted, open-source observability platform for monitoring networks, servers, VMs, and cloud infrastructure with distributed monitoring.
Apache SkyWalkingOpen-source, self-hosted APM platform for cloud-native systems: tracing, metrics, logs, profiling and alerting on pluggable storage such as BanyanDB.
corootSelf-hosted, open-source APM and observability platform where eBPF agents capture every telemetry signal without code changes, with service maps and SLO alerting.
Durable ActorsSelf-hosted runtime for stateful serverless actors with durable persistence and serialized execution, replacing Cloudflare Durable Objects.
0 comments