{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "prometheus metric collector that receives metric from freeRouter control plane", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "7.2.0" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": 13149, "graphTooltip": 0, "id": null, "iteration": 1602514448028, "links": [], "panels": [ { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [ { "from": "", "id": 0, "text": "down", "to": "", "type": 1, "value": "0" }, { "from": "", "id": 1, "text": "up", "to": "", "type": 1, "value": "1" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "black", "value": null }, { "color": "red", "value": 0 }, { "color": "dark-green", "value": 0.1 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Field" }, "properties": [ { "id": "custom.width", "value": 314 } ] } ] }, "gridPos": { "h": 2, "w": 2.1818181818181817, "x": 0, "y": 0 }, "id": 2, "maxPerRow": 12, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.2.0", "repeat": "iface", "repeatDirection": "h", "targets": [ { "expr": "${igp_type}_iface_neighbors{ifc=\"$iface\",instance=\"$instance\",proto=\"$protocol\"}", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "${iface}", "transformations": [], "type": "stat" } ], "schemaVersion": 26, "style": "dark", "tags": [ "[scope:local]" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values({__name__=~\"^lsigp.*\"},instance)", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "instance", "options": [], "query": "label_values({__name__=~\"^lsigp.*\"},instance)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "lsigp4", "value": "lsigp4" }, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "igp_type", "options": [ { "selected": false, "text": "lsigp4", "value": "lsigp4" }, { "selected": true, "text": "lsigp6", "value": "lsigp6" } ], "query": "lsigp4,lsigp6", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(${igp_type}_iface_neighbors{instance=\"$instance\"},proto)", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "protocol", "options": [], "query": "label_values(${igp_type}_iface_neighbors{instance=\"$instance\"},proto)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(${igp_type}_iface_neighbors{instance=\"$instance\",proto=\"$protocol\"},ifc)", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "iface", "options": [], "query": "label_values(${igp_type}_iface_neighbors{instance=\"$instance\",proto=\"$protocol\"},ifc)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "RARE/freeRouter - Link state IGP interface", "uid": "AoN8AMcGz", "version": 61, "description": "Display IGP link state interface metrics" }