Important: Grafana version 8.0 or later required
- Install the plugin (Installation tab)
- Install panel plugin
- Open Grafana and go to Configuration -> Plugins
- Check that plugins are available
- Set up data source plugin:
- Configuration -> Data Sources -> Add data source
- click on
pyroscope-datasource
- Specify the Pyroscope address in
Pyroscope instance
field:
- Set up panel plugin:
Congratulations! Now you can monitor application flamegraph on your Grafana dashboard!
You can use variables of the type Query to query Pyroscope for a list of applications, labels, or label values. Variable query functions supported by Pyroscope data source:
Name | Description |
---|---|
apps() | Returns a list of application names |
label_names(app_name) | Returns a list of label names for the application |
label_values(app_name,label_name) | Returns a list of label values for the application label |
Create a new variable in the dashboard settings:
- Name:
appName
- Type: Query
- Data source: select your Pyroscope data source
- Query:
apps()
Now you should see the list of applications returned from the Pyroscope data source, and use the variable in the panel Query field:
$appName{}