Skip to content

Commit

Permalink
Update go_pull.md (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev committed Nov 22, 2023
1 parent 82a7d75 commit 974bb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/configure-client/grafana-agent/go_pull.md
Expand Up @@ -179,7 +179,7 @@ Create the following directory structure:

We will use the following `config.river` file to configure the Grafana Agent to scrape profiles from the application and send them to the Pyroscope server. Be sure to replace the `url` property with the correct Pyroscope instance.

**Note: We have swapped out the standard pprof `block`, `mutex` and `memory` profiles with the more efficient [godeltaprof package](https://github.com/grafana/pyroscope-go/godeltaprof) which produces `godeltaprof_block`, `godeltaprof_mutex` and `godeltaprof_memory`respectively**.
**Note: We have swapped out the standard pprof `block`, `mutex` and `memory` profiles with the more efficient [godeltaprof package](https://pkg.go.dev/github.com/grafana/pyroscope-go/godeltaprof) which produces `godeltaprof_block`, `godeltaprof_mutex` and `godeltaprof_memory`respectively**.

The reason for using this special package is because godeltaprof is a memory profiler specialized for collecting cumulative profiles (heap, block, mutex) efficiently. It is more efficient because it does the delta/merging before producing pprof data, avoiding extra decompression/parsing/allocations/compression.

Expand Down

0 comments on commit 974bb92

Please sign in to comment.