Plugins 〉Parca Flamegraph
Parca Flamegraph
Parca Flamegraph Plugin for Grafana
Getting started
- Install the Parca flamegraph plugin from the Grafana plugin repository.
- Make sure that Parca datasource plugin is installed and configured in Grafana, if not, follow the instructions here.
- Configure the Parca flamegraph panel:
- Add a new panel to your dashboard.
- In the Query section:
- Select the Parca datasource.
- The
Profile Type
dropdown, lists the profile types that are available on the connected Parca server. Select the profile type you want to visualize. - In the
Query Selector
field, enter the query you want to visualize. The query selector is a PromQL like expression that is used to select the profiles that you want to visualize. For example,{job="api-server"}
will select all the profiles that have the labeljob
with the valueapi-server
.
- In the Visualization section on the right, select the
Parca Flamegraph
visualization. Now you should be able to see the flamegraph visualization, for the selected query. - Enter a suitable title for the panel in the
Panel Title
field. - Save the Panel.
Configuring the Datasource
- Install the Parca datasource plugin from the Grafana plugin repository.
- In the Grafana UI, navigate to the
Configuration
->Data Sources
page. - Click on the
Add data source
button. - Select the
Parca
datasource. - Enter the API URL of the Parca server in the
API Endpoint
field. For example,http://localhost:7070/api
. Note: Please make sure cors configuration of the Parca server allow requests from your Grafana Dashboard origin. If you Grafana dashboard is running athttp://localhost:3000
, then ensure that the Parca server is started with either--cors-allowed-origins='http://localhost:3000'
or--cors-allowed-origins='\*'
flag. Please refer the docs. - Click on the
Save & Test
button. If the connection is successful, you should see a greenData source is working
message. - Now you can use the Parca datasource in your panels.
Screenshots
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
.h4 . .mb-0 }
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Installing Parca Flamegraph on Grafana Cloud:
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
For more information, visit the docs on plugin installation.
Installing on a local Grafana:
For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.
1. Install the Panel
Use the grafana-cli tool to install Parca Flamegraph from the commandline:
grafana-cli plugins install
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.
Alternatively, you can manually download the .zip file for your architecture below and unpack it into your grafana plugins directory.
Alternatively, you can manually download the .zip file and unpack it into your grafana plugins directory.
2. Add the Panel to a Dashboard
Installed panels are available immediately in the Dashboards section in your Grafana main menu, and can be added like any other core panel in Grafana.
To see a list of installed panels, click the Plugins item in the main menu. Both core panels and installed panels will appear.
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.0.35 (2022-12-13)
Note: Version bump only for package @parca/grafana-panel
0.0.34 (2022-12-13)
Note: Version bump only for package @parca/grafana-panel
0.0.33 (2022-12-12)
Note: Version bump only for package @parca/grafana-panel
0.0.32 (2022-12-12)
Note: Version bump only for package @parca/grafana-panel
0.0.31 (2022-12-10)
Note: Version bump only for package @parca/grafana-panel
0.0.30 (2022-12-08)
Note: Version bump only for package @parca/grafana-panel
0.0.29 (2022-12-07)
Note: Version bump only for package @parca/grafana-panel
0.0.28 (2022-12-06)
Note: Version bump only for package @parca/grafana-panel
0.0.27 (2022-11-29)
Note: Version bump only for package @parca/grafana-panel
0.0.26 (2022-11-29)
Note: Version bump only for package @parca/grafana-panel
0.0.25 (2022-11-29)
Note: Version bump only for package @parca/grafana-panel
0.0.24 (2022-11-24)
Note: Version bump only for package @parca/grafana-panel
0.0.23 (2022-11-22)
Note: Version bump only for package @parca/grafana-panel
0.0.22 (2022-11-22)
Note: Version bump only for package @parca/grafana-panel
0.0.21 (2022-11-21)
Note: Version bump only for package @parca/grafana-panel
0.0.20 (2022-11-17)
Note: Version bump only for package @parca/grafana-panel
0.0.19 (2022-11-17)
Note: Version bump only for package @parca/grafana-panel
0.0.18 (2022-11-16)
Note: Version bump only for package @parca/grafana-panel
0.0.17 (2022-11-15)
Note: Version bump only for package @parca/grafana-panel
0.0.16 (2022-11-14)
Note: Version bump only for package @parca/grafana-panel
0.0.15 (2022-11-09)
Note: Version bump only for package @parca/grafana-panel
0.0.14 (2022-11-08)
Note: Version bump only for package @parca/grafana-panel
0.0.13 (2022-11-08)
Note: Version bump only for package @parca/grafana-panel
0.0.12 (2022-11-08)
Note: Version bump only for package @parca/grafana-panel
0.0.11 (2022-11-07)
Note: Version bump only for package @parca/grafana-panel
0.0.10 (2022-11-03)
Note: Version bump only for package @parca/grafana-panel
0.0.9 (2022-11-03)
Note: Version bump only for package @parca/grafana-panel
0.0.8 (2022-11-02)
Note: Version bump only for package @parca/grafana-panel
0.0.7 (2022-11-02)
Note: Version bump only for package @parca/grafana-panel
0.0.6 (2022-10-31)
Note: Version bump only for package @parca/grafana-panel
0.0.5 (2022-10-25)
Note: Version bump only for package @parca/grafana-panel
0.0.2-beta.3 (2022-10-25)
Note: Version bump only for package @parca/grafana-panel
0.0.2-beta.2 (2022-10-20)
0.13.0 (2022-10-20)
Note: Version bump only for package @parca/grafana-panel
0.0.2-beta.1 (2022-10-20)
Note: Version bump only for package @parca/grafana-panel
0.0.2-beta.0 (2022-10-20)
Note: Version bump only for package @parca/grafana-panel
0.16.53 (2022-10-19)
Note: Version bump only for package @parca/grafana-panel
0.16.52 (2022-10-19)
Note: Version bump only for package @parca/grafana-panel
0.16.51 (2022-10-19)
Note: Version bump only for package @parca/grafana-panel
Changelog
0.0.1 (Unreleased)
Initial release.