Upgrading from v1.7.0 (
kentik-connect-app)? v2.0.0 is published as a new plugin (kentik-connect-datasource) because Grafana requires datasource plugins to use the-datasourceID suffix, the two plugins can coexist on the same Grafana instance without conflict. Your existing v1.7.0 dashboards and configuration remain fully functional while you migrate at your own pace. See the v2.0.0 release notes for migration steps.
The Kentik datasource plugin allows you to query the Kentik API and visualize network traffic data directly in Grafana. It leverages the Kentik Network Observability Platform to provide real-time, Internet-scale ingest and querying of network data including flow records (NetFlow, IPFIX, sFlow), BGP, GeoIP, and SNMP.
The plugin provides instant access to the Kentik Data Engine (KDE), enabling you to seamlessly integrate network activity metrics into your Grafana dashboards with improved performance and flexibility.
- Granular Visibility: View traffic by time range, devices, sites, and over 200 dimensions across 20+ categories (interfaces, routing, cloud, SNMP, and more).
- Multi-Select Support: Select multiple sites, devices, and up to 8 dimensions simultaneously for complex queries.
- NMS / SNMP Support: Query SNMP device and interface metrics alongside traditional flow data.
- Smart Labeling: Customize graph legends using the Alias and Prefix fields with intelligent autocomplete (e.g.,
{{Source Interface}},$col,$metric_group). - Drilldown Workflows: Automatically generates deep-link URLs to the Kentik Portal for detailed investigation of specific data points.
- High Performance: Integrated caching ensures fast dashboard loading and responsive query building.
- Flexible Visualization:
- Control the number of returned results with Visualization Depth.
- View Max, 95th Percentile, and Average values in sortable tables.
To enable the datasource:
- Navigate to Data Sources in Grafana.
- Add Kentik.
- Select the appropriate Region (US, EU, or Custom).
- Enter your Kentik Email and API Token.
- Click Save & Test to verify connectivity.
- Dimensions: Attributes used to segment data (e.g., Device, Site, Interface, Source IP).
- Metric: The numerical value being measured (e.g., Bits/s, Packets/s, Retransmits).
- Kentik Account: An active Kentik account and API key are required.
- Device Registration: Devices must be registered in the Kentik portal to appear in the plugin.
This project requires Node.js v22 or higher and Docker.
-
Install dependencies:
npm install
-
Start the development server (watch mode):
npm run dev
-
Run Grafana: In a separate terminal, start the Docker container:
docker compose up
Grafana will be accessible at
http://localhost:3000. -
Run Tests:
npm run test
To produce a development build:
npm run buildTo build, sign, and package the plugin for distribution, use the signing script. A Grafana API key is required:
GRAFANA_API_KEY=<your-key> ./scripts/build-signed.shThis produces kentik-datasource-dev.zip.
To specify a version:
GRAFANA_API_KEY=<your-key> ./scripts/build-signed.sh --version 1.5.0This produces kentik-datasource-1.5.0.zip.
To restrict signing to a specific Grafana instance:
GRAFANA_API_KEY=<your-key> ./scripts/build-signed.sh --root-urls https://grafana-test.kentiklabs.com