github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/grafana-agent/README.md (about) 1 # Grafana Agent Pull Mode Integration 2 3 This example demonstrates how you can use Grafana Agent with Grafana Pyroscope (formerly known as Phlare). 4 5 ### 1. Configure Grafana agent 6 7 You'll need to configure the Grafana agent for things like profiling configuration, targets, and possibly authentication in order to have the Grafana Agent pull profiles from your application. 8 9 You can find a list of [arguments](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/#arguments) and [supported blocks](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/#blocks) in the [Grafana Agent documentation for pyroscope](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/) 10 11 Refer to [config file](./agent/config/config.river) to see an example of how to configure Grafana Agent to send profiling data to Pyroscope. 12 13 ### 2. Run Grafana agent, Grafana and Pyroscope 14 15 ```shell 16 docker-compose up -d 17 ``` 18 19 ### 3. Observe profiling data 20 21 Now that everything is set up, you can browse profiling data via [Grafana UI](http://localhost:3000). 22 23 #### Explore view 24 For showing profiling data alongside traces 25  26 27 #### Dashboard 28 For showing real-time overview of profiling data 29  30