Grafana dashboard: InfiniBand Exporter Detailed
Description: Use Prometheus and infiniband-exporter to collect the stats on a entire Infiniband fabric from a single management node.

InfiniBand Detailed Dashboard.

Prometheus Exporter available here:

[https://github.com/guilbaults/infiniband-exporter](https://github.com/guilbaults/infiniband-exporter)


{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.5.5"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "datasource",
          "uid": "grafana"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Use Prometheus and infiniband-exporter to collect the stats on a entire Infiniband fabric from a single management node.",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 14992,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1677233798197,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "yKpIni7nk"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 19,
      "panels": [],
      "title": "General",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fill": 4,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "hiddenSeries": false,
      "id": 31,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "infiniband_query_failed_error{local_name=~\"$Node\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "QUERY FAILED {{counter_name}} {{local_name}}-{{port}}",
          "refId": "A",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "infiniband_query_cap_mask_error{local_name=~\"$Node\"}",
          "hide": true,
          "interval": "",
          "legendFormat": "QUERY CAP MASK {{counter_name}} {{local_name}}-{{port}}",
          "refId": "B",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "infiniband_print_error{local_name=~\"$Node\"}",
          "hide": true,
          "interval": "",
          "legendFormat": "PRINT {{counter_name}} {{local_name}}-{{port}}",
          "refId": "C",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "Errors from STDERR by IBQueryErrors",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:538",
          "format": "short",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:539",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "yKpIni7nk"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 7
      },
      "id": 12,
      "panels": [],
      "title": "Errors",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fill": 5,
      "fillGradient": 0,
      "gridPos": {
        "h": 13,
        "w": 24,
        "x": 0,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 25,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "options": {
        "alertThreshold": true
      },
      "paceLength": 10,
      "percentage": false,
      "pluginVersion": "8.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "increase(infiniband_linkdownedcounter_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "LINK DOWNED {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "H",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_symbolerrorcounter_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "SYMBOL {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "A",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_linkerrorrecoverycounter_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "LINK ERROR RECOVERY {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "B",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portxmitdiscards_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT PACKETS DISCARDS {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "I",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portbufferoverrunerrors_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT BUFFER OVERRUN {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "D",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portlocalphysicalerrors_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT LOCAL PHYSICAL {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "E",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portrcvremotephysicalerrors_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT RCV REMOTE PHYSICAL {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "F",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portinactivediscards_total{local_name=~\"$Node\"}[30m])  > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT INACTIVE DISCARD {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "J",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portdlidmappingerrors_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT DLID MAPPING {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "G",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_locallinkintegrityerrors_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "LOCAL LINK INTEGRITY {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "C",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_vl15dropped_total{local_name=~\"$Node\"}[30m]) * 1800 > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "VL15 DROPPED {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "L",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portneighbormtudiscards_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT NEIGHBOR MTU DISCARDS {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "M",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portrcverrors_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT RCV ERRORS {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "K",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        },
        {
          "exemplar": true,
          "expr": "increase(infiniband_portswhoqlifetimelimitdiscards_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "PORT LIFETIME LIMIT DISCARDS {{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "N",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "Errors",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:314",
          "format": "short",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:315",
          "format": "short",
          "logBase": 1,
          "show": true
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "yKpIni7nk"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 21
      },
      "id": 29,
      "panels": [],
      "title": "Informative",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 22
      },
      "hiddenSeries": false,
      "id": 21,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "infiniband_speed{local_name=~\"$Node\"} * infiniband_width{local_name=~\"$Node\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "{{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "C",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "Speed",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:235",
          "format": "Gbits",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:236",
          "format": "short",
          "logBase": 1,
          "show": true
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "description": "The number of ticks during which the port had data to transmit but no data was sent during the entire tick (either because of insufficient credits or because of lack of arbitration).",
      "fill": 5,
      "fillGradient": 0,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 32
      },
      "hiddenSeries": false,
      "id": 34,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "options": {
        "alertThreshold": true
      },
      "paceLength": 10,
      "percentage": false,
      "pluginVersion": "8.5.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "increase(infiniband_portxmitwait_total{local_name=~\"$Node\"}[30m]) > 0",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{local_name}}-{{local_port}} to {{remote_name}}-{{remote_port}}",
          "refId": "H",
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          }
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "Port Transmit Wait",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:932",
          "format": "short",
          "label": "Ticks",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:933",
          "format": "short",
          "logBase": 1,
          "show": true
        }
      ],
      "yaxis": {
        "align": false
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 36,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_PROMETHEUS}"
        },
        "definition": "label_values(local_name)",
        "hide": 0,
        "includeAll": false,
        "label": "Node",
        "multi": true,
        "name": "Node",
        "options": [],
        "query": {
          "query": "label_values(local_name)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "InfiniBand Exporter Detailed",
  "uid": "dN3L-ttGkGxA8hd3",
  "version": 2,
  "weekStart": ""
}