{
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.0.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "heatmap",
      "name": "Heatmap",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "2.0.0"
    },
    {
      "type": "panel",
      "id": "table-old",
      "name": "Table (old)",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:45",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": null,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1611576247353,
  "links": [],
  "panels": [
    {
      "columns": [],
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 12,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 8,
        "desc": false
      },
      "styles": [
        {
          "$$hashKey": "object:3188",
          "alias": "Erlang/OTP",
          "align": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "erlang_version",
          "preserveFormat": false,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3209",
          "alias": "RabbitMQ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "rabbitmq_version",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3230",
          "alias": "VMware RabbitMQ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "product_version",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3355",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Time",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3366",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Value",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3377",
          "alias": "prometheus.erl",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "prometheus_client_version",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3398",
          "alias": "Node name",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "rabbitmq_node",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3581",
          "alias": "Cluster name",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "rabbitmq_cluster",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "expr": "max(rabbitmq_build_info * on(instance, job) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_node=~\"$src_node|$dst_node\"}) by(erlang_version, rabbitmq_version, product_version, prometheus_client_version, rabbitmq_node, rabbitmq_cluster)",
          "format": "table",
          "instant": true,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transform": "table",
      "type": "table-old"
    },
    {
      "collapsed": true,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 3
      },
      "id": 5,
      "panels": [
        {
          "cards": {
            "cardPadding": null,
            "cardRound": null
          },
          "color": {
            "cardColor": "rgb(255, 255, 255)",
            "colorScale": "sqrt",
            "colorScheme": "interpolatePlasma",
            "exponent": 0.4,
            "max": null,
            "min": null,
            "mode": "spectrum"
          },
          "dataFormat": "tsbuckets",
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 24,
            "x": 0,
            "y": 4
          },
          "heatmap": {},
          "hideZeroBuckets": false,
          "highlightCards": true,
          "id": 3,
          "legend": {
            "show": true
          },
          "pluginVersion": "6.7.4",
          "reverseYBuckets": false,
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_packet_size_bytes_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Packets per second by size in bytes, measured over $time_interval",
          "tooltip": {
            "show": true,
            "showHistogram": true
          },
          "tooltipDecimals": 1,
          "type": "heatmap",
          "xAxis": {
            "show": true
          },
          "xBucketNumber": null,
          "xBucketSize": null,
          "yAxis": {
            "decimals": null,
            "format": "none",
            "logBase": 1,
            "max": null,
            "min": null,
            "show": true,
            "splitFactor": null
          },
          "yBucketBound": "auto",
          "yBucketNumber": null,
          "yBucketSize": null
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "links": []
            },
            "overrides": []
          },
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 0,
            "y": 12
          },
          "hiddenSeries": false,
          "id": 20,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_packet_type_total{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "interval": "",
              "legendFormat": "{{packet_type}}",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Packets by type per second, measured over $time_interval",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1076",
              "decimals": 1,
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "$$hashKey": "object:1077",
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "cards": {
            "cardPadding": null,
            "cardRound": null
          },
          "color": {
            "cardColor": "rgb(255, 255, 255)",
            "colorScale": "sqrt",
            "colorScheme": "interpolatePlasma",
            "exponent": 0.4,
            "max": null,
            "min": null,
            "mode": "spectrum"
          },
          "dataFormat": "tsbuckets",
          "datasource": null,
          "description": "Messages larger than 64KB will be split into multiple fragments. This functionality was introduced in OTP-22 so that smaller messages can be interleaved between larges messages.\n\nWhen distribution runs in debug mode, messages larger than 1KB will be split into multiple fragments.\n\n* [Distribution Header for fragmented messages](http://erlang.org/doc/apps/erts/erl_ext_dist.html#distribution-header-for-fragmented-messages)",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 12,
            "y": 12
          },
          "heatmap": {},
          "hideZeroBuckets": false,
          "highlightCards": true,
          "id": 67,
          "legend": {
            "show": true
          },
          "pluginVersion": "6.7.4",
          "reverseYBuckets": false,
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_fragmented_messages_total_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Fragmented messages per second by fragments, measured over $time_interval",
          "tooltip": {
            "show": true,
            "showHistogram": true
          },
          "tooltipDecimals": 1,
          "type": "heatmap",
          "xAxis": {
            "show": true
          },
          "xBucketNumber": null,
          "xBucketSize": null,
          "yAxis": {
            "decimals": null,
            "format": "none",
            "logBase": 1,
            "max": null,
            "min": null,
            "show": true,
            "splitFactor": null
          },
          "yBucketBound": "auto",
          "yBucketNumber": null,
          "yBucketSize": null
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": null,
          "description": "* [ControlMessage types](http://erlang.org/doc/apps/erts/erl_dist_protocol.html#control_message)",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "links": []
            },
            "overrides": []
          },
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 24,
            "x": 0,
            "y": 19
          },
          "hiddenSeries": false,
          "id": 93,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_control_message_total{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "interval": "",
              "legendFormat": "{{control_message}}",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Number of control messages per second, measured over $time_interval",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1076",
              "decimals": 1,
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "$$hashKey": "object:1077",
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": null,
          "description": "The distribution header is sent by the erlang distribution to carry metadata about the coming control message and potential payload. It is primarily used to handle the atom cache in the Erlang distribution. Since OTP-22 it is also used to fragment large distribution messages into multiple smaller fragments.\n\n* https://erlang.org/doc/apps/erts/erl_ext_dist.html#normal-distribution-header",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "decimals": 1,
              "links": [],
              "mappings": [],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "rgb(133, 133, 133)",
                    "value": null
                  },
                  {
                    "color": "rgb(255, 255, 255)",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 0,
            "y": 26
          },
          "id": 130,
          "options": {
            "displayMode": "gradient",
            "orientation": "vertical",
            "reduceOptions": {
              "calcs": [
                "max"
              ],
              "fields": "",
              "limit": 100,
              "values": false
            },
            "showUnfilled": false
          },
          "pluginVersion": "7.2.1",
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_atom_cache_ref_new_entries_total_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "New ATOM_CACHE_REF entries per second by entries, measured over $time_interval",
          "type": "bargauge"
        },
        {
          "cards": {
            "cardPadding": null,
            "cardRound": null
          },
          "color": {
            "cardColor": "rgb(255, 255, 255)",
            "colorScale": "sqrt",
            "colorScheme": "interpolatePlasma",
            "exponent": 0.4,
            "max": null,
            "min": null,
            "mode": "spectrum"
          },
          "dataFormat": "tsbuckets",
          "datasource": null,
          "description": "The distribution header is sent by the erlang distribution to carry metadata about the coming control message and potential payload. It is primarily used to handle the atom cache in the Erlang distribution. Since OTP-22 it is also used to fragment large distribution messages into multiple smaller fragments.\n\n* https://erlang.org/doc/apps/erts/erl_ext_dist.html#normal-distribution-header",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 12,
            "y": 26
          },
          "heatmap": {},
          "hideZeroBuckets": false,
          "highlightCards": true,
          "id": 138,
          "legend": {
            "show": true
          },
          "pluginVersion": "6.7.4",
          "reverseYBuckets": false,
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_atom_cache_ref_new_entries_total_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "New ATOM_CACHE_REF entries per second by entries, measured over $time_interval",
          "tooltip": {
            "show": true,
            "showHistogram": true
          },
          "tooltipDecimals": 1,
          "type": "heatmap",
          "xAxis": {
            "show": true
          },
          "xBucketNumber": null,
          "xBucketSize": null,
          "yAxis": {
            "decimals": null,
            "format": "none",
            "logBase": 1,
            "max": null,
            "min": null,
            "show": true,
            "splitFactor": null
          },
          "yBucketBound": "auto",
          "yBucketNumber": null,
          "yBucketSize": null
        },
        {
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "decimals": 1,
              "links": [],
              "mappings": [],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "rgb(133, 133, 133)",
                    "value": null
                  },
                  {
                    "color": "rgb(255, 255, 255)",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 0,
            "y": 33
          },
          "id": 147,
          "options": {
            "displayMode": "gradient",
            "orientation": "vertical",
            "reduceOptions": {
              "calcs": [
                "max"
              ],
              "fields": "",
              "limit": 100,
              "values": false
            },
            "showUnfilled": false
          },
          "pluginVersion": "7.2.1",
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_atom_cache_ref_entries_total_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Total ATOM_CACHE_REF entries per second by entries, measured over $time_interval",
          "type": "bargauge"
        },
        {
          "cards": {
            "cardPadding": null,
            "cardRound": null
          },
          "color": {
            "cardColor": "rgb(255, 255, 255)",
            "colorScale": "sqrt",
            "colorScheme": "interpolatePlasma",
            "exponent": 0.4,
            "max": null,
            "min": null,
            "mode": "spectrum"
          },
          "dataFormat": "tsbuckets",
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 12,
            "y": 33
          },
          "heatmap": {},
          "hideZeroBuckets": false,
          "highlightCards": true,
          "id": 148,
          "legend": {
            "show": true
          },
          "pluginVersion": "6.7.4",
          "reverseYBuckets": false,
          "scopedVars": {
            "traffic_direction": {
              "selected": false,
              "text": "incoming",
              "value": "incoming"
            }
          },
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_atom_cache_ref_entries_total_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\", traffic_direction=\"$traffic_direction\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Total ATOM_CACHE_REF entries per second by entries, measured over $time_interval",
          "tooltip": {
            "show": true,
            "showHistogram": true
          },
          "tooltipDecimals": 1,
          "type": "heatmap",
          "xAxis": {
            "show": true
          },
          "xBucketNumber": null,
          "xBucketSize": null,
          "yAxis": {
            "decimals": null,
            "format": "none",
            "logBase": 1,
            "max": null,
            "min": null,
            "show": true,
            "splitFactor": null
          },
          "yBucketBound": "auto",
          "yBucketNumber": null,
          "yBucketSize": null
        }
      ],
      "repeat": "traffic_direction",
      "title": "$src_node $traffic_direction traffic from/to $dst_node",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 159,
      "panels": [
        {
          "datasource": null,
          "description": "* `1.0e-6` 1 microsecond\n* `1.0e-5` 10 microseconds\n* `0.0001` 100 microseconds\n* `0.001` 1 millisecond",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "decimals": 1,
              "links": [],
              "mappings": [],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "rgb(133, 133, 133)",
                    "value": null
                  },
                  {
                    "color": "rgb(255, 255, 255)",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 6
          },
          "id": 126,
          "options": {
            "displayMode": "gradient",
            "orientation": "vertical",
            "reduceOptions": {
              "calcs": [
                "max"
              ],
              "fields": "",
              "limit": 100,
              "values": false
            },
            "showUnfilled": false
          },
          "pluginVersion": "7.2.1",
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_receive_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Packets received from the socket by duration, measured over $time_interval",
          "type": "bargauge"
        },
        {
          "cards": {
            "cardPadding": null,
            "cardRound": null
          },
          "color": {
            "cardColor": "rgb(255, 255, 255)",
            "colorScale": "sqrt",
            "colorScheme": "interpolatePlasma",
            "exponent": 0.4,
            "max": null,
            "min": null,
            "mode": "spectrum"
          },
          "dataFormat": "tsbuckets",
          "datasource": null,
          "description": "Lowest value is in microsecond, highest is in milliseconds.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 6
          },
          "heatmap": {},
          "hideZeroBuckets": false,
          "highlightCards": true,
          "id": 127,
          "legend": {
            "show": true
          },
          "pluginVersion": "6.7.4",
          "reverseYBuckets": false,
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_receive_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Packets received from the socket by duration, measured over $time_interval",
          "tooltip": {
            "show": true,
            "showHistogram": true
          },
          "tooltipDecimals": 1,
          "type": "heatmap",
          "xAxis": {
            "show": true
          },
          "xBucketNumber": null,
          "xBucketSize": null,
          "yAxis": {
            "decimals": null,
            "format": "none",
            "logBase": 1,
            "max": null,
            "min": null,
            "show": true,
            "splitFactor": null
          },
          "yBucketBound": "auto",
          "yBucketNumber": null,
          "yBucketSize": null
        },
        {
          "datasource": null,
          "description": "* [erlang:dist_ctrl_put_data/2](https://erlang.org/doc/man/erlang.html#dist_ctrl_put_data-2)\n\nTime duration conversion\n* `1.0e-6` 1 microsecond\n* `1.0e-5` 10 microseconds\n* `0.0001` 100 microseconds\n* `0.001` 1 millisecond",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "decimals": 1,
              "links": [],
              "mappings": [],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "rgb(133, 133, 133)",
                    "value": null
                  },
                  {
                    "color": "rgb(255, 255, 255)",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 15
          },
          "id": 128,
          "options": {
            "displayMode": "gradient",
            "orientation": "vertical",
            "reduceOptions": {
              "calcs": [
                "max"
              ],
              "fields": "",
              "limit": 100,
              "values": false
            },
            "showUnfilled": false
          },
          "pluginVersion": "7.2.1",
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_dist_ctrl_put_data_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Calls that enqueue packets into the VM by duration, measured over $time_interval",
          "type": "bargauge"
        },
        {
          "cards": {
            "cardPadding": null,
            "cardRound": null
          },
          "color": {
            "cardColor": "rgb(255, 255, 255)",
            "colorScale": "sqrt",
            "colorScheme": "interpolatePlasma",
            "exponent": 0.4,
            "max": null,
            "min": null,
            "mode": "spectrum"
          },
          "dataFormat": "tsbuckets",
          "datasource": null,
          "description": "* [erlang:dist_ctrl_put_data/2](https://erlang.org/doc/man/erlang.html#dist_ctrl_put_data-2)",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 15
          },
          "heatmap": {},
          "hideZeroBuckets": false,
          "highlightCards": true,
          "id": 129,
          "legend": {
            "show": true
          },
          "pluginVersion": "6.7.4",
          "reverseYBuckets": false,
          "targets": [
            {
              "expr": "rate(inet_tcp_metrics_dist_ctrl_put_data_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
              "format": "heatmap",
              "instant": false,
              "interval": "",
              "legendFormat": "{{le}}",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Calls that enqueue packets into the VM by duration, measured over $time_interval",
          "tooltip": {
            "show": true,
            "showHistogram": true
          },
          "tooltipDecimals": 1,
          "type": "heatmap",
          "xAxis": {
            "show": true
          },
          "xBucketNumber": null,
          "xBucketSize": null,
          "yAxis": {
            "decimals": null,
            "format": "none",
            "logBase": 1,
            "max": null,
            "min": null,
            "show": true,
            "splitFactor": null
          },
          "yBucketBound": "auto",
          "yBucketNumber": null,
          "yBucketSize": null
        }
      ],
      "title": "Function calls for receiving data (incoming traffic)",
      "type": "row"
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 6
      },
      "id": 109,
      "panels": [],
      "title": "Function calls for sending data (outgoing traffic)",
      "type": "row"
    },
    {
      "datasource": null,
      "description": "* [erlang:dist_ctrl_get_data/1](https://erlang.org/doc/man/erlang.html#dist_ctrl_get_data-1)\n\nTime duration conversion\n* `1.0e-6` 1 microsecond\n* `1.0e-5` 10 microseconds\n* `0.0001` 100 microseconds\n* `0.001` 1 millisecond",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 1,
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "rgb(133, 133, 133)",
                "value": null
              },
              {
                "color": "rgb(255, 255, 255)",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 7
      },
      "id": 116,
      "options": {
        "displayMode": "gradient",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "limit": 100,
          "values": false
        },
        "showUnfilled": false
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "expr": "rate(inet_tcp_metrics_dist_ctrl_get_data_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
          "format": "heatmap",
          "instant": false,
          "interval": "",
          "legendFormat": "{{le}}",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Calls that get packets from the VM by duration, measured over $time_interval",
      "type": "bargauge"
    },
    {
      "cards": {
        "cardPadding": null,
        "cardRound": null
      },
      "color": {
        "cardColor": "rgb(255, 255, 255)",
        "colorScale": "sqrt",
        "colorScheme": "interpolatePlasma",
        "exponent": 0.4,
        "max": null,
        "min": null,
        "mode": "spectrum"
      },
      "dataFormat": "tsbuckets",
      "datasource": null,
      "description": "* [erlang:dist_ctrl_get_data/1](https://erlang.org/doc/man/erlang.html#dist_ctrl_get_data-1)\n\nLowest value is in microseconds, highest is in milliseconds.",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 7
      },
      "heatmap": {},
      "hideZeroBuckets": false,
      "highlightCards": true,
      "id": 117,
      "legend": {
        "show": true
      },
      "pluginVersion": "6.7.4",
      "reverseYBuckets": false,
      "targets": [
        {
          "expr": "rate(inet_tcp_metrics_dist_ctrl_get_data_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
          "format": "heatmap",
          "instant": false,
          "interval": "",
          "legendFormat": "{{le}}",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Calls that get packets from the VM by duration, measured over $time_interval",
      "tooltip": {
        "show": true,
        "showHistogram": true
      },
      "tooltipDecimals": 1,
      "type": "heatmap",
      "xAxis": {
        "show": true
      },
      "xBucketNumber": null,
      "xBucketSize": null,
      "yAxis": {
        "decimals": null,
        "format": "none",
        "logBase": 1,
        "max": null,
        "min": null,
        "show": true,
        "splitFactor": null
      },
      "yBucketBound": "auto",
      "yBucketNumber": null,
      "yBucketSize": null
    },
    {
      "datasource": null,
      "description": "The equivalent of `gen_tcp:send/1`, but for Erlang Distribution.\n\nTime duration conversion\n* `1.0e-6` 1 microsecond\n* `1.0e-5` 10 microseconds\n* `0.0001` 100 microseconds\n* `0.001` 1 millisecond",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 1,
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "rgb(133, 133, 133)",
                "value": null
              },
              {
                "color": "rgb(255, 255, 255)",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 16
      },
      "id": 124,
      "options": {
        "displayMode": "gradient",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "limit": 100,
          "values": false
        },
        "showUnfilled": false
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "expr": "rate(inet_tcp_metrics_driver_send_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
          "format": "heatmap",
          "instant": false,
          "interval": "",
          "legendFormat": "{{le}}",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Calls that send packets to the socket by duration, measured over $time_interval",
      "type": "bargauge"
    },
    {
      "cards": {
        "cardPadding": null,
        "cardRound": null
      },
      "color": {
        "cardColor": "rgb(255, 255, 255)",
        "colorScale": "sqrt",
        "colorScheme": "interpolatePlasma",
        "exponent": 0.4,
        "max": null,
        "min": null,
        "mode": "spectrum"
      },
      "dataFormat": "tsbuckets",
      "datasource": null,
      "description": "The equivalent of `gen_tcp:send/1`, but for Erlang Distribution.",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 16
      },
      "heatmap": {},
      "hideZeroBuckets": false,
      "highlightCards": true,
      "id": 125,
      "legend": {
        "show": true
      },
      "pluginVersion": "6.7.4",
      "reverseYBuckets": false,
      "targets": [
        {
          "expr": "rate(inet_tcp_metrics_driver_send_duration_seconds_bucket{src_node=\"$src_node\", dst_node=\"$dst_node\"}[$time_interval])",
          "format": "heatmap",
          "instant": false,
          "interval": "",
          "legendFormat": "{{le}}",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Calls that send packets to the socket by duration, measured over $time_interval",
      "tooltip": {
        "show": true,
        "showHistogram": true
      },
      "tooltipDecimals": 1,
      "type": "heatmap",
      "xAxis": {
        "show": true
      },
      "xBucketNumber": null,
      "xBucketSize": null,
      "yAxis": {
        "decimals": null,
        "format": "none",
        "logBase": 1,
        "max": null,
        "min": null,
        "show": true,
        "splitFactor": null
      },
      "yBucketBound": "auto",
      "yBucketNumber": null,
      "yBucketSize": null
    },
    {
      "content": "* Publish rabbitmq Docker image with inet_tcp_metrics\n* Publish dashboard to grafana.com\n* Write README\n* Share on the erlang-questions mailing list",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 25
      },
      "id": 101,
      "mode": "markdown",
      "options": {
        "content": "* Publish rabbitmq Docker image with inet_tcp_metrics\n* Publish dashboard to grafana.com\n* Write README\n* Share on the erlang-questions mailing list",
        "mode": "markdown"
      },
      "pluginVersion": "7.1.0",
      "timeFrom": null,
      "timeShift": null,
      "title": "TODO",
      "type": "text"
    }
  ],
  "refresh": "10s",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "default",
          "value": "default"
        },
        "hide": 2,
        "includeAll": false,
        "label": "datasource",
        "multi": false,
        "name": "DS_PROMETHEUS",
        "options": [],
        "query": "prometheus",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": null,
        "definition": "label_values(inet_tcp_metrics_packet_size_bytes_sum, src_node)",
        "hide": 0,
        "includeAll": false,
        "label": "Source node",
        "multi": false,
        "name": "src_node",
        "options": [],
        "query": "label_values(inet_tcp_metrics_packet_size_bytes_sum, src_node)",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": null,
        "definition": "label_values(inet_tcp_metrics_packet_size_bytes_sum{src_node=\"$src_node\"}, dst_node)",
        "hide": 0,
        "includeAll": false,
        "label": "Destination node",
        "multi": false,
        "name": "dst_node",
        "options": [],
        "query": "label_values(inet_tcp_metrics_packet_size_bytes_sum{src_node=\"$src_node\"}, dst_node)",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": null,
        "definition": "label_values(inet_tcp_metrics_packet_size_bytes_sum, traffic_direction)",
        "hide": 2,
        "includeAll": true,
        "label": "Traffic direction",
        "multi": true,
        "name": "traffic_direction",
        "options": [],
        "query": "label_values(inet_tcp_metrics_packet_size_bytes_sum, traffic_direction)",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "auto": false,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "selected": false,
          "text": "1m",
          "value": "1m"
        },
        "hide": 0,
        "label": "Time interval",
        "name": "time_interval",
        "options": [
          {
            "selected": true,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "5m",
            "value": "5m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          }
        ],
        "query": "1m,5m,10m,30m,1h",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now-5m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "inet_tcp_metrics",
  "uid": "RCTIrQDMz",
  "version": 20220805
}
