{ "__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": "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" } ] }, "editable": true, "gnetId": 13150, "graphTooltip": 0, "id": null, "iteration": 1602514495437, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "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 } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "hiddenSeries": false, "id": 2, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.2.0", "pointradius": 2, "points": false, "renderer": "flot", "repeat": "ldp_peer", "repeatDirection": "v", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ldp${afi}_${ldp_fec}_learn{instance=\"$instance\",ip=\"$ldp_peer\"}", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "${ldp_fec} learned from ${ldp_peer} (ldp${afi}_${ldp_fec}_learn)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transformations": [], "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:51", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:52", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "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 } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "hiddenSeries": false, "id": 11, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.2.0", "pointradius": 2, "points": false, "renderer": "flot", "repeat": "ldp_peer", "repeatDirection": "v", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ldp${afi}_${ldp_fec}_advert{instance=\"$instance\",ip=\"$ldp_peer\"}", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "${ldp_fec} advertised to ${ldp_peer} (ldp${afi}_${ldp_fec}_advert)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transformations": [], "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:51", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:52", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "schemaVersion": 26, "style": "dark", "tags": [ "[scope:local]" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values({__name__=~\"ldp.*\"},instance)", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "instance", "options": [], "query": "label_values({__name__=~\"ldp.*\"},instance)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "4", "value": "4" }, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "afi", "options": [ { "selected": true, "text": "4", "value": "4" }, { "selected": false, "text": "6", "value": "6" } ], "query": "4,6", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(ldp${afi}_layer2_advert{instance=\"$instance\"},ip)", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "ldp_peer", "options": [], "query": "label_values(ldp${afi}_layer2_advert{instance=\"$instance\"},ip)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "prefix", "value": "prefix" }, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "ldp_fec", "options": [ { "selected": true, "text": "prefix", "value": "prefix" }, { "selected": false, "text": "p2mp", "value": "p2mp" }, { "selected": false, "text": "layer2", "value": "layer2" } ], "query": "prefix,p2mp,layer2", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(vrf_v${afi}{instance=\"$instance\"},name)", "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "vrf", "options": [], "query": "label_values(vrf_v${afi}{instance=\"$instance\"},name)", "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 - LDP summary", "uid": "AoN8AMcGzldp", "version": 40, "description": "Display LDP summary metrics" }