Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Add DPDK dashboard skeleton #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
263 changes: 263 additions & 0 deletions grafana-dashboard/dpdk-exporter-dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "DPDK exporter metrics",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 735,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"legend": {
"calcs": [
"min",
"max",
"first",
"last"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true,
"width": 1700
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "dpdk_interface_stat{cluster=\"$cluster\", instance=\"$node\", interface=\"$interface\", stat_name=\"$stat\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Interface stats",
"transformations": [],
"type": "timeseries"
}
],
"refresh": "",
"schemaVersion": 38,
"style": "dark",
"tags": [
"dpdk"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "fra3-vm2",
"value": "fra3-vm2"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(dpdk_interface_stat,cluster)",
"hide": 0,
"includeAll": false,
"label": "Cluster",
"multi": false,
"name": "cluster",
"options": [],
"query": {
"query": "label_values(dpdk_interface_stat,cluster)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {
"selected": false,
"text": "[2a10:afc0:e013:4011::]:9064",
"value": "[2a10:afc0:e013:4011::]:9064"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(dpdk_interface_stat{cluster=\"$cluster\"},instance)",
"hide": 0,
"includeAll": false,
"label": "Node",
"multi": false,
"name": "node",
"options": [],
"query": {
"query": "label_values(dpdk_interface_stat{cluster=\"$cluster\"},instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": ".*",
"current": {
"selected": false,
"text": "0000:06:00.0",
"value": "0000:06:00.0"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(dpdk_interface_stat{cluster=\"$cluster\", instance=\"$node\"},interface)",
"hide": 0,
"includeAll": false,
"label": "Interface",
"multi": false,
"name": "interface",
"options": [],
"query": {
"query": "label_values(dpdk_interface_stat{cluster=\"$cluster\", instance=\"$node\"},interface)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {
"selected": false,
"text": "rx_multicast_packets",
"value": "rx_multicast_packets"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(dpdk_interface_stat{cluster=\"$cluster\", instance=\"$node\", interface=\"$interface\"},stat_name)",
"hide": 0,
"includeAll": false,
"label": "Stat",
"multi": false,
"name": "stat",
"options": [],
"query": {
"query": "label_values(dpdk_interface_stat{cluster=\"$cluster\", instance=\"$node\", interface=\"$interface\"},stat_name)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-12h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "DPDK Exporter",
"uid": "b8d09f89-6e4f-4bee-bbff-961c8c83c6bb",
"version": 15,
"weekStart": ""
}