Docs epic: Update outdated Pyroscope documentation for V2-default architecture
Summary
Several areas of docs/sources/ are out of date with the current Pyroscope codebase and Helm chart defaults. Since Pyroscope 2.0, V2 storage is the OSS default (architecture.storage.v2: true), but many pages still read as if V1 (ingester/querier) is the primary deployment and operations model. Other user-facing docs (span profiles, Profiles Drilldown shared content) also lag behind recent product changes.
This epic tracks a structured documentation refresh across docs/sources/.
Why this matters
- New users following Helm or server-config docs may deploy or configure the wrong architecture.
- Span profile docs for non-Java languages contain stale links and incomplete guidance (Java was updated for wall profiles; other languages were not).
- Profiles Drilldown shared content may not match current UI and terminology.
Scope
Primary doc root: docs/sources/ in this repository.
Cross-repo coordination (open source only):
- grafana/profiles-drilldown — align
shared/use-explore-profiles.mdwith shipped Profiles Drilldown docs/UI.
Out of scope for this epic (engineering-owned): Legacy Helm values files and Jsonnet artifacts under operations/ (values-micro-services.yaml, generated JSON, test-jsonnet.sh). User-facing docs follow values.yaml; aligning those repo artifacts is a separate engineering task.
Priority 1 — High impact
1. deploy-kubernetes/ Helm install docs — ✅ addressed in PR
PR: https://github.com/grafana/pyroscope/pull/5671
Status: User-facing Helm deploy docs updated for V2-default chart (v2.3.1). Pending merge.
What changed:
| Former mismatch | Resolution in #5671 |
|---|---|
Option B via values-micro-services.yaml |
Option B uses --set architecture.microservices.enabled=true --set minio.enabled=true (matches values.yaml / HELM_FLAGS_V2_MICROSERVICES) |
Query URL http://pyroscope-querier... |
Updated to http://pyroscope-query-frontend... (from templates/NOTES.txt / _helpers.tpl; stray character fixed) |
Example pods included pyroscope-agent |
Updated for pyroscope-alloy (chart default: alloy.enabled: true, agent.enabled: false) |
| V1 microservices pod list (ingester, querier, etc.) | V2 components: segment-writer, query-backend, metastore, compaction-worker, query-frontend, distributor |
| No storage/resource guidance | Option A filesystem/ephemeral note; Option B multi-node / replica caveat; chart version pinning note |
Also in #5671:
deploy-kubernetes/tanka-jsonnet.md— inline V2 overrides aligned with Helm docreference-pyroscope-v2-architecture/migrate-from-v1/index.md— defaults table corrected (v1: false,v2: true); removed doc reference tovalues-micro-services.yamloperations/pyroscope/helm/verify-helm-doc.sh— offline validation for documented Option A/B install paths
Not in #5671 (engineering, not docs): values-micro-services.yaml, values-micro-services-hpa.yaml, and generated Jsonnet JSON still deploy V1-style components for repo tooling. Operators following published docs are unaffected.
2. V1-centric server and architecture docs
These pages describe ingester/querier paths with little or no V2 equivalent:
| File | Last updated | Issue |
|---|---|---|
configure-server/configure-shuffle-sharding/index.md |
Mar 2025 | Heavy ingester/querier focus; no V2 segment-writer/query-backend guidance |
reference-pyroscope-architecture/components/distributor.md |
Mar 2025 | Write path described as forwarding to ingesters |
reference-pyroscope-architecture/components/query-frontend/index.md |
Mar 2025 | V1 query-scheduler flow only |
configure-server/storage/configure-object-storage-backend.md |
Feb 2026 | Still references ingesters flushing to disk first |
Suggested fix: Add prominent “V1 legacy” labeling on V1 architecture pages; add or link V2 equivalents under reference-pyroscope-v2-architecture/. Update configure-server pages that operators still reach from the nav.
3. Span profiles — per-language pages (except Java)
Index updated: Aug 2026 · Java page updated: Sep 2026 · Other languages: Mar–Jun 2025
| File | Issues |
|---|---|
configure-client/trace-span-profiles/go-span-profiles.md |
Stale github.com/pyroscope-io/otel-profiling-go link; “CPU only” note (Java now documents wall profiles) |
configure-client/trace-span-profiles/ruby-span-profiles.md |
Stale pyroscope-io org links |
configure-client/trace-span-profiles/dotnet-span-profiles.md |
Stale pyroscope-io org links |
configure-client/trace-span-profiles/python-span-profiles.md |
~15 months behind related updates |
Suggested fix: Align Go/Ruby/.NET/Python with the Java page pattern (supported profile types, correct grafana/ GitHub links, language-specific caveats).
Priority 2 — Moderate impact
4. Profiles Drilldown shared content
docs/sources/shared/use-explore-profiles.md(included byview-and-analyze-profile-data/explore-profiles.md)- Old home-screen screenshot (
explore-profiles-homescreen-v1.png) - Terminology may not match current Profiles Drilldown (e.g. Explain flame graph vs Analyze with Assistant, Call tree views)
Suggested fix: Sync with grafana/profiles-drilldown docs and current UI.
5. reference-pyroscope-v2-architecture/migrate-from-v1/index.md
Partially updated in #5671 (defaults table, stale Helm file reference removed). Full re-validation of migration steps and Helm version requirements against current chart may still be needed.
6. Stale pyroscope-io links (cleanup pass)
Found in multiple client/API docs, for example:
configure-client/language-sdks/java.md,python.md,ruby.mdconfigure-client/trace-span-profiles/go-span-profiles.md,ruby-span-profiles.mdreference-server-api/index.mdview-and-analyze-profile-data/profile-cli.md(Homebrew tap — verify if still intentional)
Priority 3 — Lower impact / gaps
| Item | Notes |
|---|---|
shared/available-profile-types.md |
Last updated Oct 2024; high-level list may be incomplete |
configure-client/grafana-alloy/sampling.md |
Oct 2024; newer content exists in configure-server/monitor-sampling.md |
get-started/ride-share-tutorial.md |
Moderate lag vs examples |
| Symbolizer | In config reference and release notes only; no user-facing architecture/how-to page |
| Recording rules (server-side) | Covered in profile-cli.md and release notes; no dedicated configure-server guide |
Engineering follow-up (outside docs epic scope)
Legacy Helm/Jsonnet artifacts still deploy V1 microservices topology. User docs no longer reference these files.
| Artifact | Issue |
|---|---|
operations/pyroscope/helm/pyroscope/values-micro-services.yaml |
V1 pyroscope.components; not equivalent to V2 --set architecture.microservices.enabled=true |
operations/pyroscope/helm/pyroscope/values-micro-services-hpa.yaml |
HPA config for V1 component names |
operations/pyroscope/jsonnet/values-micro-services.json |
Generated from legacy YAML; consumed by test-jsonnet.sh |
Needs engineering decision: convert to V2, rename as legacy, or deprecate. Requires chart maintainer review (especially HPA mapping).
Docs that appear relatively current
view-and-analyze-profile-data/profile-cli.mdview-and-analyze-profile-data/pyroscope-ui.mdconfigure-server/configure-sampling.md,monitor-sampling.md- V2 component pages under
reference-pyroscope-v2-architecture/components/ - Generated
configure-server/reference-configuration-parameters/index.md
Acceptance criteria
-
deploy-kubernetes/helm.mddocuments V2-default install paths with verified commands, pod examples, and query URLs (#5671) -
deploy-kubernetes/tanka-jsonnet.mdaligned with Helm V2 install path (#5671) - Legacy V1 Helm install path removed from user docs; migration handoff via
migrate-from-v1Next steps (#5671) - V1 architecture/configure-server pages that remain in nav are labeled legacy or point to V2 equivalents
- Span profile language pages (Go, Ruby, .NET, Python) aligned with Java page; stale
pyroscope-iolinks fixed -
use-explore-profiles.mdreviewed against Profiles Drilldown docs - Helm doc verification script added:
operations/pyroscope/helm/verify-helm-doc.sh(#5671)
Verification process (Helm doc PRs)
Used for #5671:
Offline (required):
./operations/pyroscope/helm/verify-helm-doc.shhelm template/helm install --dry-runfor each documented install path- Compare doc examples to Helm NOTES output (query URL, pod names)
make helm/lintandmake helm/check
Live (recommended for significant Helm doc changes):
- Kind cluster + literal doc walkthrough
- Confirm pods reach Ready and
/readyreturns 200 - Confirm Grafana data source URL if that section is updated
References
- Chart defaults:
operations/pyroscope/helm/pyroscope/values.yaml - Makefile install modes:
HELM_FLAGS_V2,HELM_FLAGS_V2_MICROSERVICES - Published chart:
grafana.github.io/helm-charts(source in this repo; seeoperations/pyroscope/helm/cr.yaml)
Source: grafana/pyroscope