diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-27 13:06:20 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-27 13:06:20 +0200 |
| commit | 6ec883a7fd40a14f2882076bd1a377bbbd0438ad (patch) | |
| tree | 2d199226b29ada6dbe74b2ce278b000c296a1b3a /config.example.yaml | |
| parent | 522512197de372aa9b9c5584711619a76a5546d8 (diff) | |
Add local Pyroscope server and Go continuous profiling
Add a docker-compose service running the Grafana Pyroscope backend on
port 4040 with a persistent data volume, and instrument the Go app via
github.com/grafana/pyroscope-go. The app pushes CPU, memory, and
goroutine profiles every 10s when pyroscope.enabled is set in
config.yaml. Config is extended with application_name and server_address
(defaults to http://localhost:4040). Document usage in the README.
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml index a4f099d..c4b22a2 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -11,6 +11,11 @@ storage: official_climb: match_radius_m: 100 +pyroscope: + enabled: false + application_name: biking_home + server_address: http://localhost:4040 + strava: client_id: "" client_secret: "" |
