{
  "__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 bridge byte metrics",
  "editable": true,
  "gnetId": 13244,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1603357252050,
  "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": 24,
        "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": "mac",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "rate(br_mac_byte_tx{instance=\"$instance\",typ=\"$cntr_type\",mac=\"$mac\",ifc=\"$instance_iface\"}[1m])*8",
          "interval": "",
          "legendFormat": "tx",
          "refId": "A"
        },
        {
          "expr": "rate(br_mac_byte_rx{instance=\"$instance\",typ=\"$cntr_type\",mac=\"$mac\",ifc=\"$instance_iface\"}[1m])*8",
          "interval": "",
          "legendFormat": "rx",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "${cntr_type}:${instance_iface}:${mac}",
      "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__=~\"^br_mac_.*\"},instance)",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "instance",
        "options": [],
        "query": "label_values({__name__=~\"^br_mac_.*\"},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": true,
            "text": "hw",
            "value": "hw"
          },
          {
            "selected": false,
            "text": "sw",
            "value": "sw"
          }
        ],
        "query": "hw,sw",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "tx",
          "value": "tx"
        },
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "dir",
        "options": [
          {
            "selected": true,
            "text": "tx",
            "value": "tx"
          },
          {
            "selected": false,
            "text": "rx",
            "value": "rx"
          }
        ],
        "query": "tx,rx",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_MP-LS.PROMETHEUS}",
        "definition": "label_values(br_mac_byte_${dir}{instance=\"$instance\"},ifc)",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "instance_iface",
        "options": [],
        "query": "label_values(br_mac_byte_${dir}{instance=\"$instance\"},ifc)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_MP-LS.PROMETHEUS}",
        "definition": "label_values(br_mac_byte_${dir}{instance=\"$instance\",ifc=\"$instance_iface\"},mac)",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "mac",
        "options": [],
        "query": "label_values(br_mac_byte_${dir}{instance=\"$instance\",ifc=\"$instance_iface\"},mac)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-5m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "RARE/freeRouter - bridge MAC bytes",
  "uid": "sqqgkzcGzbrmac",
  "version": 41
}