Back to Pyroscope

Grafana Alloy Pull Mode Integration

examples/grafana-alloy-auto-instrumentation/golang-pull/README.md

2.0.11.6 KB
Original Source

Grafana Alloy Pull Mode Integration

This example demonstrates how you can use Grafana Alloy with Grafana Pyroscope (formerly known as Phlare).

1. Configure Grafana Alloy

You'll need to configure the Grafana Alloy for things like profiling configuration, targets, and possibly authentication in order to have the Grafana Alloy pull profiles from your application.

You can find a list of arguments and supported blocks in the Grafana Alloy documentation for pyroscope

Refer to config file to see an example of how to configure Grafana Alloy to send profiling data to Pyroscope.

2. Run Grafana Alloy, Grafana and Pyroscope

shell
# Pull latest pyroscope and grafana images:
docker pull grafana/pyroscope:latest
docker pull grafana/grafana:latest
docker pull grafana/alloy:latest

docker-compose up -d

3. Observe profiling data

Now that everything is set up, you can browse profiling data.

Explore profiles

Explore profiles app.

Dashboard

You will also find a dummy dashboard.