apiVersion: v1
data:
  cassandra-condensed.json: |
    {
       "__inputs": [ ],
       "__requires": [ ],
       "annotations": {
          "list": [ ]
       },
       "description": "Single pane of glass for most important Cassandra metrics",
       "editable": true,
       "gnetId": null,
       "graphTooltip": 0,
       "hideControls": false,
       "id": null,
       "links": [ ],
       "refresh": "30s",
       "rows": [
          {
             "collapse": false,
             "collapsed": false,
             "height": 100,
             "panels": [
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": true,
                   "colors": [
                      "#d44a3a",
                      "#299c46",
                      "#299c46"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 0,
                   "description": "Nodes that are currently running in this time window",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 2,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": false
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "count(mcac_compaction_completed_tasks{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"} >= 0) or vector(0)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "0.1,1000",
                   "title": "Nodes Up",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": true,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 0,
                   "description": "Nodes that are currently not running in this time window",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 3,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": false
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "count(absent(sum(rate(mcac_compaction_completed_tasks{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[5m])))) OR vector(0)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "1,2",
                   "title": "Nodes Down",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": false,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 0,
                   "description": "Rate of compactions during this window",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 4,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(rate(mcac_compaction_completed_tasks{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate]))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "",
                   "title": "Compactions / $rate",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": false,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 0,
                   "description": "Rate of CQL requests during this window",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 5,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(irate(dse_client_request_latency_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate]))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "",
                   "title": "CQL Requests / $rate",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": true,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 0,
                   "description": "Rate of Dropped requests during this window",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 6,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(irate(mcac_table_dropped_mutations_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate]))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "30,300",
                   "title": "Dropped Messages / $rate",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "content": "<a href=\"https://cassandra.apache.org\" target=\"new\"><img src=\"https://cassandra.apache.org/img/cassandra_logo.png\"/></a>",
                   "datasource": null,
                   "gridPos": { },
                   "id": 7,
                   "mode": "html",
                   "span": 2,
                   "title": "",
                   "transparent": true,
                   "type": "text"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": true,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 0,
                   "description": "Number of connected clients during this time window",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 8,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(mcac_client_connected_native_clients{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"})",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "100,1000",
                   "title": "CQL Clients",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": true,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "description": "Client timeouts over the last $rate",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 9,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(irate(mcac_client_request_timeouts_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate]))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "100,300",
                   "title": "Timeouts / $rate",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": true,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "description": "Hints stored over the last $rate",
                   "format": "none",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 10,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(irate(mcac_storage_hints_on_disk_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate]))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "1000,30000",
                   "title": "Hints / $rate",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": false,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "description": "Data",
                   "format": "bytes",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 11,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(mcac_table_live_disk_space_used_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"})",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "",
                   "title": "Data Size",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                },
                {
                   "cacheTimeout": null,
                   "colorBackground": false,
                   "colorValue": false,
                   "colors": [
                      "#299c46",
                      "rgba(237, 129, 40, 0.89)",
                      "#d44a3a"
                   ],
                   "datasource": "$PROMETHEUS_DS",
                   "decimals": 1,
                   "description": "Data",
                   "format": "ms",
                   "gauge": {
                      "maxValue": 100,
                      "minValue": 0,
                      "show": false,
                      "thresholdLabels": false,
                      "thresholdMarkers": true
                   },
                   "gridPos": { },
                   "id": 12,
                   "interval": null,
                   "links": [ ],
                   "mappingType": 1,
                   "mappingTypes": [
                      {
                         "name": "value to text",
                         "value": 1
                      },
                      {
                         "name": "range to text",
                         "value": 2
                      }
                   ],
                   "maxDataPoints": 100,
                   "nullPointMode": "connected",
                   "nullText": null,
                   "postfix": "",
                   "postfixFontSize": "50%",
                   "prefix": "",
                   "prefixFontSize": "50%",
                   "rangeMaps": [
                      {
                         "from": "null",
                         "text": "N/A",
                         "to": "null"
                      }
                   ],
                   "span": 1,
                   "sparkline": {
                      "fillColor": "rgba(31, 118, 189, 0.18)",
                      "full": false,
                      "lineColor": "rgb(31, 120, 193)",
                      "show": true
                   },
                   "tableColumn": "",
                   "targets": [
                      {
                         "expr": "sum(rate(mcac_jvm_gc_time{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate]))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "",
                         "refId": "A"
                      }
                   ],
                   "thresholds": "",
                   "title": "GC Time / $rate",
                   "type": "singlestat",
                   "valueFontSize": "80%",
                   "valueMaps": [
                      {
                         "op": "=",
                         "text": "N/A",
                         "value": "null"
                      }
                   ],
                   "valueName": "avg"
                }
             ],
             "repeat": null,
             "repeatIteration": null,
             "repeatRowId": null,
             "showTitle": true,
             "title": "Cluster Overview",
             "titleSize": "h6",
             "type": "row"
          },
          {
             "collapse": false,
             "collapsed": false,
             "height": 300,
             "panels": [
                {
                   "aliasColors": { },
                   "bars": false,
                   "dashLength": 10,
                   "dashes": false,
                   "datasource": "$PROMETHEUS_DS",
                   "description": "(no keyspace/table filters apply)",
                   "fill": 1,
                   "fillGradient": 0,
                   "gridPos": { },
                   "id": 13,
                   "legend": {
                      "alignAsTable": false,
                      "avg": false,
                      "current": false,
                      "hideEmpty": true,
                      "hideZero": true,
                      "max": false,
                      "min": false,
                      "rightSide": false,
                      "show": true,
                      "sideWidth": null,
                      "total": false,
                      "values": false
                   },
                   "lines": true,
                   "linewidth": 1,
                   "links": [ ],
                   "nullPointMode": "null",
                   "percentage": false,
                   "pointradius": 5,
                   "points": false,
                   "renderer": "flot",
                   "repeat": null,
                   "seriesOverrides": [
                      {
                         "alias": "/.*Connected/",
                         "yaxis": 2
                      }
                   ],
                   "spaceLength": 10,
                   "span": 4,
                   "stack": false,
                   "steppedLine": false,
                   "targets": [
                      {
                         "expr": "sum(irate(mcac_client_request_latency_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate])) by ($by, request_type)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}}:{{request_type}}",
                         "refId": "A"
                      },
                      {
                         "expr": "sum(mcac_client_connected_native_clients{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}}:Clients Connected",
                         "refId": "B"
                      }
                   ],
                   "thresholds": [ ],
                   "timeFrom": null,
                   "timeShift": null,
                   "title": "Requests Served / $by / $rate",
                   "tooltip": {
                      "shared": true,
                      "sort": 0,
                      "value_type": "individual"
                   },
                   "type": "graph",
                   "xaxis": {
                      "buckets": null,
                      "mode": "time",
                      "name": null,
                      "show": true,
                      "values": [ ]
                   },
                   "yaxes": [
                      {
                         "format": "short",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": null,
                         "show": true
                      },
                      {
                         "format": "short",
                         "label": "Clients Connected",
                         "logBase": 1,
                         "max": null,
                         "min": null,
                         "show": true
                      }
                   ]
                },
                {
                   "aliasColors": { },
                   "bars": false,
                   "dashLength": 10,
                   "dashes": false,
                   "datasource": "$PROMETHEUS_DS",
                   "description": "(no keyspace/table filters apply)",
                   "fill": 1,
                   "fillGradient": 0,
                   "gridPos": { },
                   "id": 14,
                   "legend": {
                      "alignAsTable": false,
                      "avg": false,
                      "current": false,
                      "hideEmpty": true,
                      "hideZero": true,
                      "max": false,
                      "min": false,
                      "rightSide": false,
                      "show": true,
                      "sideWidth": null,
                      "total": false,
                      "values": false
                   },
                   "lines": true,
                   "linewidth": 1,
                   "links": [ ],
                   "nullPointMode": "null",
                   "percentage": false,
                   "pointradius": 5,
                   "points": false,
                   "renderer": "flot",
                   "repeat": null,
                   "seriesOverrides": [ ],
                   "spaceLength": 10,
                   "span": 4,
                   "stack": false,
                   "steppedLine": false,
                   "targets": [
                      {
                         "expr": "histogram_quantile($latency, sum(rate(mcac_client_request_latency_bucket{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate])) by (le, request_type, $by))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "$by:{{$by}} {{$latency}} {{request_type}}",
                         "refId": "A"
                      }
                   ],
                   "thresholds": [ ],
                   "timeFrom": null,
                   "timeShift": null,
                   "title": "Coordinator $latency Latency / $by",
                   "tooltip": {
                      "shared": true,
                      "sort": 0,
                      "value_type": "individual"
                   },
                   "type": "graph",
                   "xaxis": {
                      "buckets": null,
                      "mode": "time",
                      "name": null,
                      "show": true,
                      "values": [ ]
                   },
                   "yaxes": [
                      {
                         "format": "µs",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      },
                      {
                         "format": "µs",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      }
                   ]
                },
                {
                   "aliasColors": { },
                   "bars": false,
                   "dashLength": 10,
                   "dashes": false,
                   "datasource": "$PROMETHEUS_DS",
                   "fill": 1,
                   "fillGradient": 0,
                   "gridPos": { },
                   "id": 15,
                   "legend": {
                      "alignAsTable": false,
                      "avg": false,
                      "current": false,
                      "hideEmpty": true,
                      "hideZero": true,
                      "max": false,
                      "min": false,
                      "rightSide": false,
                      "show": true,
                      "sideWidth": null,
                      "total": false,
                      "values": false
                   },
                   "lines": true,
                   "linewidth": 1,
                   "links": [ ],
                   "nullPointMode": "null",
                   "percentage": false,
                   "pointradius": 5,
                   "points": false,
                   "renderer": "flot",
                   "repeat": null,
                   "seriesOverrides": [
                      {
                         "alias": "/.*Flushes/",
                         "bars": true,
                         "lines": false,
                         "yaxis": 2,
                         "zindex": -3
                      }
                   ],
                   "spaceLength": 10,
                   "span": 4,
                   "stack": false,
                   "steppedLine": false,
                   "targets": [
                      {
                         "expr": "sum(mcac_table_memtable_off_heap_size{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}} : Off Heap",
                         "refId": "A"
                      },
                      {
                         "expr": "sum(mcac_table_memtable_on_heap_size{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}} : On Heap",
                         "refId": "B"
                      },
                      {
                         "expr": "sum(idelta(mcac_table_memtable_switch_count_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}} : Flushes",
                         "refId": "C"
                      },
                      {
                         "expr": "sum(idelta(mcac_table_pending_flushes_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}} : Pending Flushes",
                         "refId": "D"
                      }
                   ],
                   "thresholds": [ ],
                   "timeFrom": null,
                   "timeShift": null,
                   "title": "Memtable Space $keyspace.$table / $by",
                   "tooltip": {
                      "shared": true,
                      "sort": 0,
                      "value_type": "individual"
                   },
                   "type": "graph",
                   "xaxis": {
                      "buckets": null,
                      "mode": "time",
                      "name": null,
                      "show": true,
                      "values": [ ]
                   },
                   "yaxes": [
                      {
                         "format": "bytes",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      },
                      {
                         "format": "short",
                         "label": "Flush",
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      }
                   ]
                },
                {
                   "aliasColors": { },
                   "bars": false,
                   "dashLength": 10,
                   "dashes": false,
                   "datasource": "$PROMETHEUS_DS",
                   "fill": 1,
                   "fillGradient": 0,
                   "gridPos": { },
                   "id": 16,
                   "legend": {
                      "alignAsTable": false,
                      "avg": false,
                      "current": false,
                      "hideEmpty": true,
                      "hideZero": true,
                      "max": false,
                      "min": false,
                      "rightSide": false,
                      "show": true,
                      "sideWidth": null,
                      "total": false,
                      "values": false
                   },
                   "lines": true,
                   "linewidth": 1,
                   "links": [ ],
                   "nullPointMode": "null",
                   "percentage": false,
                   "pointradius": 5,
                   "points": false,
                   "renderer": "flot",
                   "repeat": null,
                   "seriesOverrides": [
                      {
                         "alias": "/.*Compactions/",
                         "bars": true,
                         "lines": false,
                         "yaxis": 2,
                         "zindex": -3
                      }
                   ],
                   "spaceLength": 10,
                   "span": 4,
                   "stack": false,
                   "steppedLine": false,
                   "targets": [
                      {
                         "expr": "sum(irate(mcac_table_compaction_bytes_written_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{by}} : Bytes Compacted",
                         "refId": "A"
                      },
                      {
                         "expr": "sum(irate(mcac_table_pending_compactions{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{by}} : Pending Compactions",
                         "refId": "B"
                      },
                      {
                         "expr": "sum(irate(mcac_compaction_completed_tasks{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{by}} : Completed Compactions",
                         "refId": "C"
                      }
                   ],
                   "thresholds": [ ],
                   "timeFrom": null,
                   "timeShift": null,
                   "title": "Compactions $keyspace.$table / $by",
                   "tooltip": {
                      "shared": true,
                      "sort": 0,
                      "value_type": "individual"
                   },
                   "type": "graph",
                   "xaxis": {
                      "buckets": null,
                      "mode": "time",
                      "name": null,
                      "show": true,
                      "values": [ ]
                   },
                   "yaxes": [
                      {
                         "format": "bps",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      },
                      {
                         "format": "short",
                         "label": "Count",
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      }
                   ]
                },
                {
                   "aliasColors": { },
                   "bars": false,
                   "dashLength": 10,
                   "dashes": false,
                   "datasource": "$PROMETHEUS_DS",
                   "description": "",
                   "fill": 1,
                   "fillGradient": 0,
                   "gridPos": { },
                   "id": 17,
                   "legend": {
                      "alignAsTable": false,
                      "avg": false,
                      "current": false,
                      "hideEmpty": true,
                      "hideZero": true,
                      "max": false,
                      "min": false,
                      "rightSide": false,
                      "show": true,
                      "sideWidth": null,
                      "total": false,
                      "values": false
                   },
                   "lines": true,
                   "linewidth": 1,
                   "links": [ ],
                   "nullPointMode": "null",
                   "percentage": false,
                   "pointradius": 5,
                   "points": false,
                   "renderer": "flot",
                   "repeat": null,
                   "seriesOverrides": [ ],
                   "spaceLength": 10,
                   "span": 4,
                   "stack": false,
                   "steppedLine": false,
                   "targets": [
                      {
                         "expr": "histogram_quantile($latency, sum(irate(mcac_table_range_latency_bucket{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by (le, $by))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "$by:{{$by}} Local Range Scan",
                         "refId": "A"
                      },
                      {
                         "expr": "histogram_quantile($latency, sum(irate(mcac_table_read_latency_bucket{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by (le, $by))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "$by:{{$by}} Local Read",
                         "refId": "B"
                      },
                      {
                         "expr": "histogram_quantile($latency, sum(irate(mcac_table_write_latency_bucket{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by (le, $by))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "$by:{{$by}} Local Write",
                         "refId": "C"
                      },
                      {
                         "expr": "histogram_quantile($latency, sum(irate(mcac_table_coordinator_read_latency_bucket{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\"}[$rate])) by (le, $by))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "$by:{{$by}} Coordinator Read",
                         "refId": "D"
                      },
                      {
                         "expr": "histogram_quantile($latency, sum(irate(mcac_table_coordinator_scan_latency_bucket{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", instance=~\"$host\"}[$rate])) by (le, $by))",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "$by:{{$by}} Coordinator Range Scan",
                         "refId": "E"
                      }
                   ],
                   "thresholds": [ ],
                   "timeFrom": null,
                   "timeShift": null,
                   "title": "Table $latency Latency / $by",
                   "tooltip": {
                      "shared": true,
                      "sort": 0,
                      "value_type": "individual"
                   },
                   "type": "graph",
                   "xaxis": {
                      "buckets": null,
                      "mode": "time",
                      "name": null,
                      "show": true,
                      "values": [ ]
                   },
                   "yaxes": [
                      {
                         "format": "µs",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      },
                      {
                         "format": "µs",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      }
                   ]
                },
                {
                   "aliasColors": { },
                   "bars": false,
                   "dashLength": 10,
                   "dashes": false,
                   "datasource": "$PROMETHEUS_DS",
                   "description": "",
                   "fill": 1,
                   "fillGradient": 0,
                   "gridPos": { },
                   "id": 18,
                   "legend": {
                      "alignAsTable": false,
                      "avg": false,
                      "current": false,
                      "hideEmpty": true,
                      "hideZero": true,
                      "max": false,
                      "min": false,
                      "rightSide": false,
                      "show": true,
                      "sideWidth": null,
                      "total": false,
                      "values": false
                   },
                   "lines": true,
                   "linewidth": 1,
                   "links": [ ],
                   "nullPointMode": "null",
                   "percentage": false,
                   "pointradius": 5,
                   "points": false,
                   "renderer": "flot",
                   "repeat": null,
                   "seriesOverrides": [ ],
                   "spaceLength": 10,
                   "span": 4,
                   "stack": false,
                   "steppedLine": false,
                   "targets": [
                      {
                         "expr": "sum(irate(mcac_streaming_total_incoming_bytes_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}}: Incoming Stream",
                         "refId": "A"
                      },
                      {
                         "expr": "sum(irate(mcac_streaming_total_outgoing_bytes_total{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$host\"}[$rate])) by ($by)",
                         "format": "time_series",
                         "intervalFactor": 2,
                         "legendFormat": "{{$by}}: Outgoing Stream",
                         "refId": "B"
                      }
                   ],
                   "thresholds": [ ],
                   "timeFrom": null,
                   "timeShift": null,
                   "title": "Streaming / $by / $rate",
                   "tooltip": {
                      "shared": true,
                      "sort": 0,
                      "value_type": "individual"
                   },
                   "type": "graph",
                   "xaxis": {
                      "buckets": null,
                      "mode": "time",
                      "name": null,
                      "show": true,
                      "values": [ ]
                   },
                   "yaxes": [
                      {
                         "format": "Bps",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      },
                      {
                         "format": "Bps",
                         "label": null,
                         "logBase": 1,
                         "max": null,
                         "min": 0,
                         "show": true
                      }
                   ]
                }
             ],
             "repeat": null,
             "repeatIteration": null,
             "repeatRowId": null,
             "showTitle": true,
             "title": "Condensed Metrics",
             "titleSize": "h6",
             "type": "row"
          }
       ],
       "schemaVersion": 14,
       "style": "dark",
       "tags": [
          "os"
       ],
       "templating": {
          "list": [
             {
                "current": {
                   "text": "Prometheus",
                   "value": "Prometheus"
                },
                "hide": 2,
                "label": null,
                "name": "PROMETHEUS_DS",
                "options": [ ],
                "query": "prometheus",
                "refresh": 1,
                "regex": "",
                "type": "datasource"
             },
             {
                "allValue": null,
                "current": {
                   "text": "Cluster",
                   "value": "cluster"
                },
                "hide": 0,
                "includeAll": false,
                "label": "Group By",
                "multi": false,
                "name": "by",
                "options": [
                   {
                      "text": "Cluster",
                      "value": "cluster"
                   },
                   {
                      "text": "Datacenter",
                      "value": "dc"
                   },
                   {
                      "text": "Rack",
                      "value": "rack"
                   },
                   {
                      "text": "Host",
                      "value": "instance"
                   }
                ],
                "query": "cluster,dc,rack,instance",
                "refresh": 0,
                "type": "custom"
             },
             {
                "auto": false,
                "auto_count": 300,
                "auto_min": "10s",
                "current": {
                   "text": "5m",
                   "value": "5m"
                },
                "hide": 0,
                "label": "Rate",
                "name": "rate",
                "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
                "refresh": 2,
                "type": "interval"
             },
             {
                "allValue": ".*",
                "current": { },
                "datasource": "$PROMETHEUS_DS",
                "hide": 0,
                "includeAll": true,
                "label": "Cluster",
                "multi": false,
                "name": "cluster",
                "options": [ ],
                "query": "label_values(collectd_collectd_queue_length{}, cluster)",
                "refresh": 2,
                "regex": "",
                "sort": 0,
                "tagValuesQuery": "",
                "tags": [ ],
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": ".*",
                "current": { },
                "datasource": "$PROMETHEUS_DS",
                "hide": 0,
                "includeAll": true,
                "label": "DataCenter",
                "multi": false,
                "name": "dc",
                "options": [ ],
                "query": "label_values(collectd_collectd_queue_length{cluster=~\"$cluster\"}, dc)",
                "refresh": 2,
                "regex": "",
                "sort": 0,
                "tagValuesQuery": "",
                "tags": [ ],
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": ".*",
                "current": { },
                "datasource": "$PROMETHEUS_DS",
                "hide": 0,
                "includeAll": true,
                "label": "Rack",
                "multi": false,
                "name": "rack",
                "options": [ ],
                "query": "label_values(collectd_collectd_queue_length{cluster=~\"$cluster\", dc=~\"$dc\"}, rack)",
                "refresh": 2,
                "regex": "",
                "sort": 0,
                "tagValuesQuery": "",
                "tags": [ ],
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": ".*",
                "current": { },
                "datasource": "$PROMETHEUS_DS",
                "hide": 0,
                "includeAll": true,
                "label": "Keyspace",
                "multi": false,
                "name": "keyspace",
                "options": [ ],
                "query": "label_values(mcac_table_read_latency_total{cluster=~\"$cluster\", dc=~\"$dc\"}, keyspace)",
                "refresh": 2,
                "regex": "",
                "sort": 0,
                "tagValuesQuery": "",
                "tags": [ ],
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": ".*",
                "current": { },
                "datasource": "$PROMETHEUS_DS",
                "hide": 0,
                "includeAll": true,
                "label": "Table",
                "multi": false,
                "name": "table",
                "options": [ ],
                "query": "label_values(mcac_table_read_latency_total{cluster=~\"$cluster\", dc=~\"$dc\", keyspace=~\"$keyspace\"}, table)",
                "refresh": 2,
                "regex": "",
                "sort": 0,
                "tagValuesQuery": "",
                "tags": [ ],
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": ".*",
                "current": { },
                "datasource": "$PROMETHEUS_DS",
                "hide": 0,
                "includeAll": true,
                "label": "Host",
                "multi": false,
                "name": "host",
                "options": [ ],
                "query": "label_values(collectd_collectd_queue_length{cluster=~\"$cluster\", dc=~\"$dc\", rack=~\"$rack\"}, instance)",
                "refresh": 2,
                "regex": "",
                "sort": 0,
                "tagValuesQuery": "",
                "tags": [ ],
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": null,
                "current": {
                   "text": "P95",
                   "value": "0.95"
                },
                "hide": 0,
                "includeAll": false,
                "label": "Percentile",
                "multi": false,
                "name": "latency",
                "options": [
                   {
                      "text": "P999",
                      "value": "0.999"
                   },
                   {
                      "text": "P99",
                      "value": "0.99"
                   },
                   {
                      "text": "P98",
                      "value": "0.98"
                   },
                   {
                      "text": "P95",
                      "value": "0.95"
                   },
                   {
                      "text": "P90",
                      "value": "0.90"
                   },
                   {
                      "text": "P75",
                      "value": "0.75"
                   },
                   {
                      "text": "P50",
                      "value": "0.50"
                   }
                ],
                "query": "0.999,0.99,0.98,0.95,0.90,0.75,0.50",
                "refresh": 0,
                "type": "custom"
             }
          ]
       },
       "time": {
          "from": "now-30m",
          "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": "browser",
       "title": "Cassandra Cluster Condensed",
       "version": 0
    }
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: k8ssandra
    app.kubernetes.io/part-of: k8ssandra-RELEASE-NAME-default
    grafana_dashboard: "true"
    helm.sh/chart: k8ssandra-1.4.1
  name: RELEASE-NAME-cassandra-condensed-dashboard
