{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 5,
  "iteration": 1643805188457,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 18,
      "panels": [],
      "title": "Address Metrics",
      "type": "row"
    },
    {
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_routed_message_count{pod=\"$pod\",address=\"$address\"}",
          "interval": "",
          "legendFormat": "Routed",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_unrouted_message_count{pod=\"$pod\",address=\"$address\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Non Routed",
          "refId": "B"
        }
      ],
      "title": "Messages",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Number of Pages"
            },
            "properties": [
              {
                "id": "custom.axisPlacement",
                "value": "right"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Address Size"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 24,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_address_size{pod=\"$pod\",address=\"$address\"}",
          "interval": "",
          "legendFormat": "Address Size",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_number_of_pages{pod=\"$pod\",address=\"$address\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Number of Pages",
          "refId": "B"
        }
      ],
      "title": "Size",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 9
      },
      "id": 10,
      "panels": [],
      "title": "Queue Metrics",
      "type": "row"
    },
    {
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "reqps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 10
      },
      "id": 14,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_messages_added{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Added",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_messages_acknowledged{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Acknowledged",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_messages_expired{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Expired",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_messages_killed{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Killed",
          "refId": "E"
        }
      ],
      "title": "Messages in $queue",
      "type": "timeseries"
    },
    {
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Count"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-purple",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 10
      },
      "id": 25,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_consumer_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "interval": "",
          "legendFormat": "Count",
          "refId": "A"
        }
      ],
      "title": "Consumers of $queue",
      "type": "timeseries"
    },
    {
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "reqps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 18
      },
      "id": 26,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_message_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Total Messages",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_scheduled_message_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Scheduled",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_delivering_message_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Delivering",
          "refId": "C"
        }
      ],
      "title": "Messages ($queue) in transit",
      "type": "timeseries"
    },
    {
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "reqps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 18
      },
      "id": 27,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_durable_message_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Total Messages",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_scheduled_durable_message_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Scheduled",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "rate(artemis_delivering_durable_message_count{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}[$__rate_interval])",
          "hide": false,
          "interval": "",
          "legendFormat": "Delivering",
          "refId": "C"
        }
      ],
      "title": "Durable Messages ($queue) in transit",
      "type": "timeseries"
    },
    {
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 26
      },
      "id": 28,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_persistent_size{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Total Size",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_scheduled_persistent_size{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Scheduled",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_delivering_persistent_size{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Delivering",
          "refId": "C"
        }
      ],
      "title": "Size Work Queue ($queue)",
      "type": "timeseries"
    },
    {
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 26
      },
      "id": 29,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_durable_persistent_size{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Total Size",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_scheduled_durable_persistent_size{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Scheduled",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "YyMCYxx7z"
          },
          "exemplar": true,
          "expr": "artemis_delivering_durable_persistent_size{pod=\"$pod\",address=\"$address\",queue=\"$queue\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Delivering",
          "refId": "C"
        }
      ],
      "title": "Size Work Queue ($queue) - Durable",
      "type": "timeseries"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 33,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "demo",
          "value": "demo"
        },
        "definition": "label_values(artemis_disk_store_usage,pod)",
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "cluster",
        "options": [],
        "query": {
          "query": "label_values(artemis_disk_store_usage,pod)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "(.*)-ss-.*",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "demo-ss-0",
          "value": "demo-ss-0"
        },
        "definition": "label_values(artemis_disk_store_usage,pod)",
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "pod",
        "options": [],
        "query": {
          "query": "label_values(artemis_disk_store_usage,pod)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "demo.mqtt",
          "value": "demo.mqtt"
        },
        "definition": "label_values(artemis_address_size{pod=\"$pod\"},address)",
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "address",
        "options": [],
        "query": {
          "query": "label_values(artemis_address_size{pod=\"$pod\"},address)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "([^$#].*)",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "demo.mqtt",
          "value": "demo.mqtt"
        },
        "definition": "label_values(artemis_consumer_count{pod=\"$pod\",address=\"$address\"},queue)",
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "queue",
        "options": [],
        "query": {
          "query": "label_values(artemis_consumer_count{pod=\"$pod\",address=\"$address\"},queue)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Addresses and Queues",
  "uid": "S7UBH-xnx",
  "version": 4,
  "weekStart": ""
}