{ "__inputs": [ { "name": "DS_MP-LS.PROMETHEUS", "label": "mp-ls.prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "7.2.0" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Display routed traffic byte metrics", "editable": true, "gnetId": 13247, "graphTooltip": 0, "id": null, "iteration": 1603357293384, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_MP-LS.PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 9, "w": 8, "x": 0, "y": 0 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "maxPerRow": 3, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.2.0", "pointradius": 2, "points": false, "renderer": "flot", "repeat": "prefix", "repeatDirection": "h", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "rate(routed_traffic${afi}_byte{instance=\"$instance\",typ=\"$cntr_type\",prefix=\"$prefix\"}[1m])*8", "interval": "", "legendFormat": "tx", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "${cntr_type}:${prefix}", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "refresh": "5s", "schemaVersion": 26, "style": "dark", "tags": [ "[scope:local]" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_MP-LS.PROMETHEUS}", "definition": "label_values({__name__=~\"^routed_traffic.*\"},instance)", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "instance", "options": [], "query": "label_values({__name__=~\"^routed_traffic.*\"},instance)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "hw", "value": "hw" }, "hide": 0, "includeAll": false, "label": "", "multi": false, "name": "cntr_type", "options": [ { "selected": false, "text": "hw", "value": "hw" }, { "selected": true, "text": "sw", "value": "sw" } ], "query": "hw,sw", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "selected": true, "text": "4", "value": "4" }, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "afi", "options": [ { "selected": false, "text": "4", "value": "4" }, { "selected": true, "text": "6", "value": "6" } ], "query": "4,6", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": {}, "datasource": "${DS_MP-LS.PROMETHEUS}", "definition": "label_values(routed_traffic${afi}_byte{instance=\"$instance\"},prefix)", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "prefix", "options": [], "query": "label_values(routed_traffic${afi}_byte{instance=\"$instance\"},prefix)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-30m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "RARE/freeRouter - Routed traffic bytes", "uid": "sqqgkzcGzbrt4b", "version": 14 }