Menu
Open source
Version 2.5.0 release notes
Grafana Pyroscope 2.5.0 improves dataset lookup, compaction memory management, and time series queries. It adds tenant-scoped dataset deletion, temporary capture of incoming profiles, and object storage support for profile replay. This release also removes experimental server-side symbolization and changes how V2 compaction handles duplicate profiles.
Notable changes are listed below. For the full diff, see the 2.5.0 changelog.
Breaking changes
- Removed experimental server-side symbolization, which was disabled by default. Before upgrading, remove the
symbolizer:configuration block, thesymbolizertarget, and the-symbolizer.enabled,-symbolizer.debuginfod-url,-symbolizer.max-debuginfod-concurrency, and-valdation.symbolizer.max-symbol-size-bytesflags. Removesymbolizer:from per-tenant overrides as well. Retaining these settings prevents startup or runtime configuration reload. Debug-info upload andprofilecli debuginforemain available (#5978). - V2 compaction no longer deduplicates profile rows. Profiles submitted more than once are retained more than once. The
pyroscope_compaction_worker_duplicate_profile_rows_dropped_totalmetric was removed. V1 compaction is unchanged (#6097).
Features and enhancements
- Resolve datasets through each block’s dataset index by default, including queries with a strict
service_namematcher. The per-tenant flags remain available to restore the previous behavior (#5986, #5997, #5998, #6163). - Add an optional memory budget for concurrent compaction jobs with
-compaction-worker.job-byte-capacity. The budget is disabled by default (#5988). - Read compaction source block metadata from object storage. The
-compaction-worker.metadata-sourcesetting is now a deprecated no-op (#6053, #6098). - Allow administrators to delete a service’s datasets from compacted V2 blocks without deleting unrelated tenant data (#5837).
- Add temporary, opt-in capture of incoming Connect pprof profiles in V2 storage deployments, with expiry, sampling, size limits, and
profilecli admin profile-dumpscommands to inspect and extract captures (#5689). - Add object storage input and output to
profilecli replay, and allow replayed profiles to receive additional labels (#6133). - Add time series anomaly analysis for spikes, drops, and sustained changes, and prioritize anomalies by total resource usage (#5787, #5820).
- Add a separate experimental query-backend timeout for asynchronous queries, defaulting to two minutes (#6000).
- Reduce allocations and row scanning during time series and span heatmap queries (#6138, #6139, #6140, #6148, #6151).
- Reduce object storage reads for block metadata and limit retained index buffers and label snapshots during compaction (#5985, #5984, #5983).
- Add query planning and processing diagnostics, including backend work estimates and in-flight estimated bytes (#5796, #5846, #6072).
Bug fixes
- Accept valid OTLP profiles while reporting malformed profiles through
partial_success(#5924). - Decode resource and scope attributes stored in the OpenTelemetry profiles dictionary (#5857).
- Make metastore block registration idempotent and honor
SkipPrefixon an iterator’s initial seek (#6054, #5836). - Preserve source symbol lines during merging and clear pooled tree selector state before reuse (#6081, #6080).
- Refresh query-backend DNS discovery without reconnecting existing clients (#5864).
- Include the final shard when falling back through a segment-writer parent ring (#5757).
- Preserve full profiles in asynchronous
profilecliqueries and report profile upload file-read errors (#5956, #6067). - Reject non-finite time series steps, recycle query iterator results consistently, and deduplicate time series annotations to bound response size (#5794, #6146, #5816).
- Display UTF-8 label names correctly in the query bar (#5839).
- Validate the tenant parameter used by query diagnostics and avoid including string contents in invalid UTF-8 errors (#6112, #5834).
- Handle Helm
extraCustomEnvVarsas a list (#6135).
Security updates
- Update the build toolchain to Go 1.26.11 and
golang.org/x/cryptoto v0.59.0 (#6170, #6091). - Update
github.com/klauspost/compress,github.com/go-jose/go-jose/v4,golang.org/x/net,github.com/andybalholm/brotli, andgithub.com/getkin/kin-openapifor security fixes (#6055, #5961, #5969, #6015, #5931, #5831). - Update UI Undici and Vite dependencies and refresh container certificate trust images (#6035, #5872, #5989).
Documentation updates
- Clarify legacy V1 guidance and V2 storage paths, including V2 microservices deployment with Helm (#5812, #6117).
- Expand .NET and Rust SDK guidance and explain namespace labels for profile correlation (#6002, #6096).
- Correct Alloy pod sampling labels, clarify Helm
extraArgs, and repair documentation links (#5813, #5786, #5992).


