Repository navigation
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).
Changelog
- 8819294 model: index the children of wide nodes in StacktraceTree (#5759)
- 9fd2240 Deduplicate time series annotations to bound response size (#5816)
- 86dbe09 Limit pooled index buffer capacity (#5984)
- 161eb4d Refresh query-backend DNS discovery without reconnects (#5864)
- 7f2603f Remove server-side symbolization (#5978)
- 7a7ebf9 Update golang version to 1.26.10 (#5885)
- ddfc99b [Docs] Update SDK docs for .NET and Rust as well as Profile types (#6002)
- 1751dc4 build: reduce dependencies compiled by clean builds (#6042)
- 2190046 chore(deps): bump github.com/andybalholm/brotli from v1.1.1 to v1.2.7 (#5931)
- 1c2d4d6 chore(deps): lock file maintenance (#5632)
- 5425510 chore(deps): pin dependencies (#5821)
- 764963d chore(deps): update actions/checkout digest to 11d5960 (#5822)
- b8a0f7e chore(deps): update actions/download-artifact action to v8.0.2 (#5828)
- 222c172 chore(deps): update actions/setup-go digest to 924ae3a (#5823)
- 458e933 chore(deps): update actions/upload-artifact action to v7.0.2 (#5829)
- 6a8d999 chore(deps): update azure/setup-helm action to v5.0.1 (#5830)
- 11af8bc chore(deps): update ca trust base images [security] (#5911)
- 1199287 chore(deps): update ca trust base images [security] (#5946)
- d1129f9 chore(deps): update ca trust base images [security] (#5989)
- aa5ba7f chore(deps): update dependency @vitejs/plugin-react to ^6.1.0 (#5852)
- d0c7e20 chore(deps): update distroless runtime images (#5886)
- c475c9c chore(deps): update github.com/coreos/pkg digest to bbd7aa9 (#5824)
- 9420f61 chore(deps): update github.com/prometheus/client_golang/exp digest to 2b01b52 (#5844)
- 77e1dc5 chore(deps): update go-openapi packages (#5990)
- 7d2fb02 chore(deps): update google.golang.org/genproto digest to 2ffab32 (#6018)
- cc09568 chore(deps): update google.golang.org/genproto digest to 4341edf (#5845)
- 7859b55 chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 2ffab32 (#6019)
- b48d4b0 chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4341edf (#5847)
- 0cf6bbf chore(deps): update module github.com/knadh/koanf/providers/confmap to v1.0.1 (#5957)
- 860667b chore(deps): update module github.com/mattn/go-colorable to v0.1.16 (#5958)
- 6e6950b chore(deps): update module github.com/mattn/go-runewidth to v0.0.31 (#5960)
- a6ebb1f chore(deps): update module github.com/oasdiff/yaml3 to v0.0.16 (#5991)
- b04ce8f chore(deps): update module github.com/pb33f/ordered-map/v2 to v2.3.2 (#5965)
- eeb93ee chore(deps): update module github.com/philhofer/fwd to v1.2.1 (#5971)
- 3ac98f3 chore(deps): update module github.com/pierrec/lz4/v4 to v4.1.33 (#5972)
- ffcae19 chore(deps): update sigs.k8s.io/json digest to 11ed52e (#5826)
- b4a6820 chore(deps): update ubuntu:26.04 docker digest to 6a06111 (#6020)
- 2290832 chore(deps): upgrade dskit, raft, raft-wal, memberlist, and serf (#5982)
- 3f325c5 chore(examples): update examples (#5807)
- 43c6020 chore(examples): update examples (#5818)
- 7fdf819 chore(examples): update examples (#5901)
- 747b56a chore(examples): update examples (#5918)
- 1f6ee3f chore(examples): update examples (#5928)
- 4d2d1e0 chore(examples): update examples (#5981)
- 066ceb2 chore(examples): update examples (#6014)
- eb5762b chore(examples): update examples (#6052)
- 91d06cc chore(examples): update examples (#6064)
- 85b9979 chore(examples): update examples (#6078)
- d239b39 chore(examples): update examples (#6136)
- 6f7bb2c chore(examples): update examples (#6161)
- d80443f chore(examples): update examples (#6166)
- 2988a37 chore(helm): release chart 2.4.0 (#5801)
- 8f3e69a chore(helm): release chart 2.4.4 (#6122)
- 4ba0467 chore(helm): release chart and app version 2.4.2 (#5939)
- 3ab0bc0 chore(helm): release chart and app version 2.4.3 (#6041)
- 71f519d chore(release): prepare v2.5.0 (#6167)
- 448bda4 chore: publish patch release notes and Helm chart 2.4.1 (#5899)
- 4f81f45 chore: remove frontend Corepack dependency and use Node.js 26 in workflows (#5940)
- 470760f chore: update Renovate release branches for v2.4 (#5797)
- fb80d7a chore: update build image and Ruby profiling examples (#5945)
- 5b8600b chore: update frontend Docker image to Node.js 26.12.1 (#5934)
- 970ede2 chore: update parquet-go to v0.32.0 (#5953)
- 6eaddfa chore: use golangci-lint fmt in make fmt (#5853)
- 77492a1 compaction: stop deduplicating profile rows in v2 (#6097)
- 7bc8629 compactionworker: budget concurrent jobs by estimated memory usage (#5988)
- eb6700f docs(dotnet): mark .NET Framework 4.7, 4.8 and IIS as supported on Windows (#5868)
- cd1cd7d docs(helm): clarify extraArgs configuration (#5786)
- aff1559 docs(helm): deploy v2 components in microservices mode (#6117)
- ec64d30 docs: add release notes for v2.3.4 and v2.4.2 (#5935)
- 6c20611 docs: add v2.3.5 and v2.4.3 release notes (#6040)
- 30c686e docs: add v2.3.6 and v2.4.4 release notes (#6121)
- 2ab9a5c docs: add v2.4 release notes (#5799)
- 065c94d docs: distinguish legacy v1 guidance from v2 storage paths (#5812)
- 789fac6 docs: explain namespace labels for profile correlation in SDK guides (#6096)
- 2ae9627 docs: fix dead links in docs, examples and Helm chart (#5992)
- cac706c docs: make Alloy pod sampling use Kubernetes discovery labels (#5813)
- 99626c0 docs: note that main, weekly and release branches require a PR (#6034)
- fea6810 docs: updates the list of contributors in README (#6007)
- fb6bebc docs: updates the list of contributors in README (#6164)
- d5d4824 expose compaction metric for duplicated dropped profile rows (#5996)
- 2ee5aca feat(compaction): always read block metadata from object storage (#6098)
- 25eb272 feat(compaction): read block metadata from object storage by default (#6053)
- c08b465 feat(frontend): add per-tenant flag to always use the dataset index (#5986)
- 646087a feat(frontend): resolve datasets from the dataset index by default (#6163)
- a6f1e6c feat(metastore): add tenant-scoped dataset deletion (#5837)
- c98dd6f feat(metastore): prune shards by service_name for dataset index lookups (#5997)
- f796dfb feat(profilecli): replay dumps in object storage and extra labels on replay push (#6133)
- ab8b3f6 feat(query-frontend): emit planned backend work metrics (#5796)
- 12ec299 feat(querybackend): Allow a separate query-backend timeout for async queries (#6000)
- dc607c7 feat(querybackend): resolve service_name datasets from block metadata (#5998)
- 4922dee feat(queryfrontend): track backend processing, backoff and unaccounted time (#5846)
- 054fc87 feat: add inflight profile dumping for Connect pprof (#5689)
- 2a9c06f feat: analyze time series anomalies (#5787)
- 6ec11a5 feat: prioritize time series anomalies by total resource usage (#5820)
- 0e01e3e feat: record client capabilities as span attributes (#5810)
- 1341b50 fix(ci): reuse the open examples update PR (#6047)
- c35f01d fix(compaction): bound retained label snapshots to each series (#5983)
- caccd82 fix(compactor): adjust pyroscope_compaction_size_bytes histogram buckets (#6043)
- 0be75ca fix(deps): update github.com/google/pprof digest to dbd0ed3 (#6021)
- c8d802f fix(deps): update golang.org/x/exp digest to f0251eb (#5850)
- 702b5cb fix(deps): update google.golang.org/genproto/googleapis/api digest to 4341edf (#5851)
- a4057ba fix(deps): update undici to 8.12.3 (#6035)
- d243f9a fix(examples): build real server binary in Rust rideshare image (#6120)
- 8df1a8e fix(examples): match ruby/X.Y.Z tags in the examples updater (#5809)
- a18e8b6 fix(examples): pin to Alloy dev build (#5871)
- ec0a658 fix(examples): revert to grafana/alloy:latest (#6119)
- 0ccde2f fix(helm): handle extraCustomEnvVars as list instead of map (#6135)
- cb1b516 fix(metastore): honor SkipPrefix on initial Seek in CursorIterator (#5836)
- 4494587 fix(metastore): make block registration idempotent (#6054)
- fbccbb2 fix(otlp): ingest valid profiles and report malformed ones via partial_success (#5924)
- cd207ad fix(phlaredb): close test RPC streams before server shutdown (#5838)
- 943cc1d fix(profilecli): preserve full profiles in async queries (#5956)
- 3a326fa fix(profilecli): report profile upload file read errors (#6067)
- 118b207 fix(query): recycle iterator results consistently (#6146)
- 0b3f1da fix(query-diagnostics): validate the tenant query parameter (#6112)
- e105816 fix(querybackend): use small repeated-row batches for span heatmaps (#6139)
- 8551b4c fix(queryfrontend): correct estimation accuracy ratio help text (#5805)
- cbbf2a6 fix(queryfrontend): reject non-finite SelectSeries steps (#5794)
- 324bd6d fix(security): update golang.org/x/net to v0.62.0 in api module (#6015)
- 0cb40c5 fix(security/high/): update module github.com/getkin/kin-openapi to v0.149.0 [security] (#5831)
- d5f6c25 fix(security/high/): update module github.com/go-jose/go-jose/v4 to v4.1.6 [security] (#5961)
- 5bf809e fix(security/high/ui): update dependency vite to v8.2.4 [security] (#5872)
- 6705869 fix(security/unknown/): update module github.com/klauspost/compress to v1.20.2 [security] (#6055)
- 5525df7 fix(security/unknown/): update module golang.org/x/crypto to v0.59.0 [security] (#6091)
- a92b8e4 fix(security/unknown/): update module golang.org/x/net to v0.62.0 [security] (#5969)
- d90f37a fix(security/unknown/api): update go toolchain directive to v1.26.11 [security] (#6082)
- 88c6d28 fix(security/unknown/lidia): update go toolchain directive to v1.26.11 [security] (#6083)
- bb1e309 fix(segmentwriter): visit the last shard of a parent ring in the fallback iterator (#5757)
- 10c3d6b fix(symdb): clear pooled tree selector state (#6080)
- 1756ad8 fix(symdb): preserve source symbol lines during merging (#6081)
- 1df994c fix(ui): show UTF-8 label names in the query bar (#5839)
- 929d0ce fix(validation): do not include string content in invalid utf8 error (#5834)
- dc35421 fix: resource and scope attributes encoded through the profiles dictionary (#5857)
- ad4f173 fix: return no series when every requested label name is filtered (#5840)
- a921e9e fix: update Go to 1.26.11 for security fixes (#6170)
- 73d39aa perf(block): read block metadata in a single range read (#5985)
- 855af8c perf(query): avoid boxing rows when extracting row numbers (#6151)
- d097518 perf(querybackend): bucket time series before building dataset reports (#6138)
- 137dd56 perf(querybackend): skip spanless row groups in span heatmaps (#6140)
- 5c52f6f perf(timeseries): reuse Value during range bucketing (#6148)
- abe2bcf perf: dictionary encode profile annotations (#6153)
- 2cfc858 querybackend: track in-flight estimated bytes (#6072)
- 4f91bca test(delayhandler): freeze clock in TestGRPCHandler to fix flake (#5819)
- d64993e tools: update otel-ebpf example images (#5920)
As always, feedback is more than welcome, feel free to open issues/discussions.
You can reach out to the team using:
Docker Images
docker pull grafana/pyroscope:2.5.0