Download and install the plugin
Install the unified plugin from the GitHub repository, then restart Grafana so it can load the data source.-
Download the latest gcore-stats-datasource-plugin.zip from the repository
releasefolder. -
Extract the archive into the Grafana plugins directory. Default locations:
- Linux/macOS:
/var/lib/grafana/plugins - Windows:
C:\Program Files\GrafanaLabs\grafana\data\plugins
gcore-stats-datasource-plugin. - Linux/macOS:
-
If Grafana blocks unsigned plugins, allow this plugin ID in the Grafana configuration file (
custom.iniorgrafana.ini): - Restart Grafana and sign in.
Configure the data source
After installation, add Gcore Platform-EN as a data source and authenticate it with a Gcore API token.- In the Grafana main menu, navigate to Connections > Data sources.
- Click Add new data source.
-
Search for
Gcoreand select Gcore Platform-EN. -
Configure the connection fields:
- URL — leave empty to use the default host, or enter a hostname only with no scheme or path —
api.gcore.com. - API key — paste an API token from the Gcore Customer Portal (Profile > API tokens > Create). The raw token is enough; the plugin adds the
APIKeyprefix when needed. A value that already includesAPIKeyorBeareris also accepted.
- URL — leave empty to use the default host, or enter a hostname only with no scheme or path —
- Click Save & Test.
Configure a dashboard
With the data source connected, create a panel and select WAAP to query protection traffic metrics.- In the Grafana main menu, click + > Dashboard, then Add visualization.
- In the data source dropdown, select Gcore Platform-EN.
- In the query editor, under Edge Network, set Service to WAAP. The query fields update for WAAP.
-
Configure the WAAP query:
- Metric —
total_requests(HTTP requests processed by WAAP across protected domains) ortotal_bytes(traffic volume in kilobytes) - Granularity —
1h(one data point per hour) or1d(one data point per day) - Legend Format — optional series label template
- Metric —
- Click Apply to add the panel.
- Click Save dashboard, enter a name, and click Save.