grafana/pyroscope

Provide better example configuration in repo

Open

#3,835 opened on Jan 13, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C (528 forks)batch import
good first issuehelp wantedtype/docs

Repository metrics

Stars
 (9,041 stars)
PR merge metrics
 (Avg merge 3d 5h) (84 merged PRs in 30d)

Description

I think we should provide a better example config file in ./cmd/pyroscope/pyroscope.yaml.

The configuration page in our docs seem to be tricky to understand, as they use a "reference name" for certain sections, which often is confused by users. (example 1, example 2)

All the options should be commented out, ideally generated from the existing structs.

Contributor guide