apiVersion: v1
kind: ConfigMap
metadata:
  name: k8ssandra-cassandra-condensed-dashboard
  labels:
    grafana_dashboard: "1"
data:
  cassandra-condensed.json: |
    {
      "annotations": {
        "list": [
          {
            "builtIn": 1,
            "datasource": {
              "type": "grafana",
              "uid": "-- Grafana --"
            },
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "target": {
              "limit": 100,
              "matchAny": false,
              "tags": [],
              "type": "dashboard"
            },
            "type": "dashboard"
          }
        ]
      },
      "description": "Single pane of glass for most important Cassandra metrics",
      "editable": true,
      "gnetId": null,
      "graphTooltip": 0,
      "id": 1,
      "iteration": 1680077904892,
      "links": [],
      "panels": [
        {
          "collapsed": false,
          "datasource": "Prometheus",
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
          },
          "id": 19,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Cluster Overview",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "Nodes that are currently running in this time window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#d44a3a",
                    "value": null
                  },
                  {
                    "color": "#299c46",
                    "value": 0.1
                  },
                  {
                    "color": "#299c46",
                    "value": 1000
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 0,
            "y": 1
          },
          "id": 2,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "count(count by(pod_name) (org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"} >= 0)) or vector(0)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Nodes Up",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Nodes that are currently not running in this time window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#299c46",
                    "value": null
                  },
                  {
                    "color": "rgba(237, 129, 40, 0.89)",
                    "value": 1
                  },
                  {
                    "color": "#d44a3a",
                    "value": 2
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 2,
            "y": 1
          },
          "id": 3,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "count(absent(sum(rate(org_apache_cassandra_metrics_compaction_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[1m:30s])))) OR vector(0)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Nodes Down",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Number of connected clients during this time window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#299c46",
                    "value": null
                  },
                  {
                    "color": "rgba(237, 129, 40, 0.89)",
                    "value": 100
                  },
                  {
                    "color": "#d44a3a",
                    "value": 1000
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 4,
            "y": 1
          },
          "id": 8,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(org_apache_cassandra_metrics_client_connected_native_clients{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "CQL Clients",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Rate of CQL requests during this window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "rgb(31, 120, 193)",
                "mode": "fixed"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 6,
            "y": 1
          },
          "id": 5,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_client_request_latency_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "CQL Requests / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Rate of Dropped requests during this window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#299c46",
                    "value": null
                  },
                  {
                    "color": "rgba(237, 129, 40, 0.89)",
                    "value": 30
                  },
                  {
                    "color": "#d44a3a",
                    "value": 300
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 8,
            "y": 1
          },
          "id": 6,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_table_dropped_mutations{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Dropped Messages / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Tombstone reads over the last $rate",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#299c46",
                    "value": null
                  },
                  {
                    "color": "rgba(237, 129, 40, 0.89)",
                    "value": 1000
                  },
                  {
                    "color": "#d44a3a",
                    "value": 30000
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 10,
            "y": 1
          },
          "id": 21,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_table_tombstone_scanned_histogram_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Tombstone reads / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Client timeouts over the last $rate",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#299c46",
                    "value": null
                  },
                  {
                    "color": "rgba(237, 129, 40, 0.89)",
                    "value": 100
                  },
                  {
                    "color": "#d44a3a",
                    "value": 300
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 12,
            "y": 1
          },
          "id": 9,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_client_request_timeouts_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Timeouts / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Hints stored over the last $rate",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#299c46",
                    "value": null
                  },
                  {
                    "color": "rgba(237, 129, 40, 0.89)",
                    "value": 1000
                  },
                  {
                    "color": "#d44a3a",
                    "value": 30000
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 14,
            "y": 1
          },
          "id": 10,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_storage_total_hints{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Hints / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Rate of compactions during this window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "rgb(31, 120, 193)",
                "mode": "fixed"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 16,
            "y": 1
          },
          "id": 4,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(rate(org_apache_cassandra_metrics_compaction_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Compactions / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Rate of compactions during this window",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "rgb(31, 120, 193)",
                "mode": "fixed"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 18,
            "y": 1
          },
          "id": 22,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(rate(org_apache_cassandra_metrics_table_pending_compactions{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Pending Compactions / $rate",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Data",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "rgb(31, 120, 193)",
                "mode": "fixed"
              },
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 20,
            "y": 1
          },
          "id": 11,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(org_apache_cassandra_metrics_table_live_disk_space_used{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Data Size",
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Data",
          "fieldConfig": {
            "defaults": {
              "color": {
                "fixedColor": "rgb(31, 120, 193)",
                "mode": "fixed"
              },
              "decimals": 1,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ms"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 2,
            "x": 22,
            "y": 1
          },
          "id": 12,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(rate(jvm_gc_g1_old_generation_time{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate])) + sum(rate(jvm_gc_g1_young_generation_time{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "GC Time / $rate",
          "type": "stat"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 4
          },
          "id": 20,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Condensed Metrics",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "(no keyspace/table filters apply)",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "/.*Connected/"
                },
                "properties": [
                  {
                    "id": "custom.axisLabel",
                    "value": "Clients Connected"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 8,
            "x": 0,
            "y": 5
          },
          "id": 13,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_client_request_latency_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate])) by ($by, request_type)",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} {{request_type}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(org_apache_cassandra_metrics_client_connected_native_clients{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}}:Clients Connected",
              "range": true,
              "refId": "B"
            }
          ],
          "title": "Requests Served / $by / $rate",
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "(no keyspace/table filters apply)",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "µs"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 8,
            "x": 8,
            "y": 5
          },
          "id": 14,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate])) by (le, request_type, $by))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} {{$latency}} {{request_type}}",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Coordinator $latency Latency / $by",
          "type": "timeseries"
        },
        {
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "/.*Flushes/"
                },
                "properties": [
                  {
                    "id": "custom.drawStyle",
                    "value": "bars"
                  },
                  {
                    "id": "custom.fillOpacity",
                    "value": 100
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  },
                  {
                    "id": "unit",
                    "value": "short"
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "Flush"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 8,
            "x": 16,
            "y": 5
          },
          "id": 15,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(org_apache_cassandra_metrics_table_memtable_off_heap_size{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{$by}} : Off Heap",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(org_apache_cassandra_metrics_table_memtable_on_heap_size{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{$by}} : On Heap",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(idelta(org_apache_cassandra_metrics_table_memtable_switch_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{$by}} : Flushes",
              "range": true,
              "refId": "C"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(idelta(org_apache_cassandra_metrics_table_pending_flushes{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{$by}} : Pending Flushes",
              "range": true,
              "refId": "D"
            }
          ],
          "title": "Memtable Space $keyspace.$table / $by",
          "type": "timeseries"
        },
        {
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "/.*Compactions/"
                },
                "properties": [
                  {
                    "id": "custom.drawStyle",
                    "value": "bars"
                  },
                  {
                    "id": "custom.fillOpacity",
                    "value": 100
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  },
                  {
                    "id": "unit",
                    "value": "short"
                  },
                  {
                    "id": "custom.axisLabel",
                    "value": "Count"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 8,
            "x": 0,
            "y": 13
          },
          "id": 16,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_table_compaction_bytes_written{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{by}} : Bytes Compacted",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_table_pending_compactions{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{by}} : Pending Compactions",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_compaction_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{by}} : Completed Compactions",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Compactions $keyspace.$table / $by",
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "µs"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 8,
            "x": 8,
            "y": 13
          },
          "id": 17,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(irate(org_apache_cassandra_metrics_table_range_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by (le, $by))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} Local Range Scan",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(irate(org_apache_cassandra_metrics_table_read_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by (le, $by))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} Local Read",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(irate(org_apache_cassandra_metrics_table_write_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by (le, $by))",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} Local Write",
              "range": true,
              "refId": "C"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(irate(org_apache_cassandra_metrics_table_coordinator_read_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\"}[$rate])) by (le, $by))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} Coordinator Read",
              "range": true,
              "refId": "D"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(irate(org_apache_cassandra_metrics_table_coordinator_scan_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by (le, $by))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} Coordinator Range Scan",
              "range": true,
              "refId": "E"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile($latency, sum(irate(org_apache_cassandra_metrics_table_coordinator_write_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", keyspace=~\"$keyspace\", table=~\"$table\", pod_name=~\"$host\"}[$rate])) by (le, $by))",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "$by:{{$by}} Coordinator Write",
              "range": true,
              "refId": "F"
            }
          ],
          "title": "Table $latency Latency / $by",
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "Bps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 8,
            "x": 16,
            "y": 13
          },
          "id": 18,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_streaming_total_incoming_bytes{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{$by}}: Incoming Stream",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum(irate(org_apache_cassandra_metrics_streaming_total_outgoing_bytes{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$host\"}[$rate])) by ($by)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{$by}}: Outgoing Stream",
              "range": true,
              "refId": "B"
            }
          ],
          "title": "Streaming / $by / $rate",
          "type": "timeseries"
        }
      ],
      "refresh": "30s",
      "schemaVersion": 27,
      "style": "dark",
      "tags": [
        "os"
      ],
      "templating": {
        "list": [
          {
            "current": {
              "selected": false,
              "text": "No data sources found",
              "value": ""
            },
            "description": null,
            "error": null,
            "hide": 2,
            "includeAll": false,
            "label": null,
            "multi": false,
            "name": "PROMETHEUS_DS",
            "options": [],
            "query": "Prometheus",
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "type": "datasource"
          },
          {
            "allValue": null,
            "current": {
              "selected": false,
              "text": "cluster",
              "value": "cluster"
            },
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": false,
            "label": "Group By",
            "multi": false,
            "name": "by",
            "options": [
              {
                "selected": true,
                "text": "cluster",
                "value": "cluster"
              },
              {
                "selected": false,
                "text": "dc",
                "value": "dc"
              },
              {
                "selected": false,
                "text": "rack",
                "value": "rack"
              },
              {
                "selected": false,
                "text": "instance",
                "value": "instance"
              }
            ],
            "query": "cluster,dc,rack,instance",
            "queryValue": "",
            "refresh": 0,
            "skipUrlSync": false,
            "type": "custom"
          },
          {
            "auto": false,
            "auto_count": 300,
            "auto_min": "10s",
            "current": {
              "selected": false,
              "text": "5m",
              "value": "5m"
            },
            "description": null,
            "error": null,
            "hide": 0,
            "label": "Rate",
            "name": "rate",
            "options": [
              {
                "selected": false,
                "text": "1m",
                "value": "1m"
              },
              {
                "selected": true,
                "text": "5m",
                "value": "5m"
              },
              {
                "selected": false,
                "text": "10m",
                "value": "10m"
              },
              {
                "selected": false,
                "text": "30m",
                "value": "30m"
              },
              {
                "selected": false,
                "text": "1h",
                "value": "1h"
              },
              {
                "selected": false,
                "text": "6h",
                "value": "6h"
              },
              {
                "selected": false,
                "text": "12h",
                "value": "12h"
              },
              {
                "selected": false,
                "text": "1d",
                "value": "1d"
              },
              {
                "selected": false,
                "text": "7d",
                "value": "7d"
              },
              {
                "selected": false,
                "text": "14d",
                "value": "14d"
              },
              {
                "selected": false,
                "text": "30d",
                "value": "30d"
              }
            ],
            "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
            "queryValue": "",
            "refresh": 2,
            "skipUrlSync": false,
            "type": "interval"
          },
          {
            "allValue": ".*",
            "current": {
              "selected": false,
              "text": "All",
              "value": "$__all"
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{}, cluster)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Cluster",
            "multi": false,
            "name": "cluster",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{}, cluster)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 2,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": ".*",
            "current": {
              "selected": false,
              "text": "All",
              "value": "$__all"
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\"}, datacenter)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "DataCenter",
            "multi": false,
            "name": "dc",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\"}, datacenter)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 2,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": ".*",
            "current": {
              "selected": false,
              "text": "All",
              "value": "$__all"
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\"}, rack)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Rack",
            "multi": false,
            "name": "rack",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\"}, rack)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 2,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": ".*",
            "current": {
              "selected": false,
              "text": "system_auth",
              "value": "system_auth"
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_table_read_total_latency{cluster=~\"$cluster\", datacenter=~\"$dc\"}, keyspace)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Keyspace",
            "multi": false,
            "name": "keyspace",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_table_read_total_latency{cluster=~\"$cluster\", datacenter=~\"$dc\"}, keyspace)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 2,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": ".*",
            "current": {
              "selected": true,
              "text": "All",
              "value": "$__all"
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_table_read_total_latency{cluster=~\"$cluster\", datacenter=~\"$dc\", keyspace=~\"$keyspace\"}, table)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Table",
            "multi": false,
            "name": "table",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_table_read_total_latency{cluster=~\"$cluster\", datacenter=~\"$dc\", keyspace=~\"$keyspace\"}, table)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 2,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": ".*",
            "current": {
              "selected": false,
              "text": "All",
              "value": "$__all"
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\"}, pod_name)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Host",
            "multi": false,
            "name": "host",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\"}, pod_name)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 2,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": null,
            "current": {
              "selected": true,
              "text": "P95",
              "value": "0.95"
            },
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": false,
            "label": "Percentile",
            "multi": false,
            "name": "latency",
            "options": [
              {
                "selected": false,
                "text": "P999",
                "value": "0.999"
              },
              {
                "selected": false,
                "text": "P99",
                "value": "0.99"
              },
              {
                "selected": false,
                "text": "P98",
                "value": "0.98"
              },
              {
                "selected": true,
                "text": "P95",
                "value": "0.95"
              },
              {
                "selected": false,
                "text": "P90",
                "value": "0.90"
              },
              {
                "selected": false,
                "text": "P75",
                "value": "0.75"
              },
              {
                "selected": false,
                "text": "P50",
                "value": "0.50"
              }
            ],
            "query": "0.999,0.99,0.98,0.95,0.90,0.75,0.50",
            "queryValue": "",
            "refresh": 0,
            "skipUrlSync": false,
            "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",
      "uid": "SmH3HyTVz",
      "version": 1
    }
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: k8ssandra-cassandra-overview-dashboard
  labels:
    grafana_dashboard: "1"
data:
  cassandra-overview.json: |
    {
      "annotations": {
        "list": [
          {
            "builtIn": 1,
            "datasource": {
              "type": "grafana",
              "uid": "-- Grafana --"
            },
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "target": {
              "limit": 100,
              "matchAny": false,
              "tags": [],
              "type": "dashboard"
            },
            "type": "dashboard"
          }
        ]
      },
      "editable": true,
      "gnetId": null,
      "graphTooltip": 0,
      "id": 2,
      "iteration": 1680077246528,
      "links": [],
      "panels": [
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
          },
          "id": 33,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Request Throughputs (Coordinator Perspective)",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "Total Requests Per Cluster, by Request Type",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "rps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate write"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#8F3BB8",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate read"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#C4162A",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate cas_read"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#FA6400",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate cas_write"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#E0B400",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate range_slice"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#1F60C4",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate view_write"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#37872D",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "write"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#96D98D",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "read"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#8AB8FF",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "cas_read"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#FFF899",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "cas_write"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#FFB357",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "range_slice"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#FF7383",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "view_write"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "#DEB6F2",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 1
          },
          "id": 5,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_latency_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "Cassandra {{request_type}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_latency_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}}",
              "range": true,
              "refId": "B"
            }
          ],
          "title": "Request Throughputs",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Total Timeouts, Failures, Unavailable Rates for each cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "rps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 1
          },
          "id": 6,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_failures_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{request_type}} failures",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_timeouts_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "{{request_type}} timeouts",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_unavailables_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "{{request_type}} unavailable errors",
              "range": true,
              "refId": "C"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_unfinished_commit{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{request_type}} unfinished commit errors",
              "range": true,
              "refId": "D"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_condition_not_met{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "{{request_type}} condition not met errors",
              "range": true,
              "refId": "E"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, request_type) (rate(org_apache_cassandra_metrics_client_request_contention_histogram_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{request_type}} contention histogram errors",
              "range": true,
              "refId": "F"
            },
            {
              "datasource": "Prometheus",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_failures_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}} failures",
              "refId": "G"
            },
            {
              "datasource": "Prometheus",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_timeouts_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}} timeouts",
              "refId": "H"
            },
            {
              "datasource": "Prometheus",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_unavailables_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}} unavailable errors",
              "refId": "I"
            },
            {
              "datasource": "Prometheus",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_unfinished_commit_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}} unfinished commit errors",
              "refId": "J"
            },
            {
              "datasource": "Prometheus",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_condition_not_met_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}} condition not met errors",
              "refId": "K"
            },
            {
              "datasource": "Prometheus",
              "expr": "sum by (cluster, request_type) (rate(stargate_client_request_contention_histogram_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate {{request_type}} contention histogram errors",
              "refId": "L"
            }
          ],
          "title": "Error throughputs",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Part of reads in the total of standard requests (Reads+Writes). CAS, Views, ... operations are ignored.",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "max": 1,
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "#DEB6F2",
                    "value": null
                  },
                  {
                    "color": "#CA95E5",
                    "value": 0.25
                  },
                  {
                    "color": "#8F3BB8",
                    "value": 0.5
                  }
                ]
              },
              "unit": "percentunit"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 1
          },
          "id": 7,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": true,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "exemplar": true,
              "expr": "( sum by (cluster) (rate(org_apache_cassandra_metrics_client_request_latency_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Read\"}[1m:30s]))  ) / (sum by (cluster) (rate(org_apache_cassandra_metrics_client_request_latency_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Read\"}[1m:30s])) + sum by (cluster) (rate(org_apache_cassandra_metrics_client_request_latency_count{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Write\"}[1m:30s])))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": "",
          "title": "Read / Write Distribution",
          "transparent": true,
          "type": "gauge"
        },
        {
          "datasource": null,
          "description": "Read latency for coordinated reads",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "µs"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "p999"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "p98"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "p98"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate p999"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "Stargate p98"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate p98"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 8
          },
          "id": 8,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "exemplar": true,
              "expr": "histogram_quantile(0.98, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Read\"}[1m:30s])) by (le, cluster))",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "p98",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile(0.99, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Read\"}[1m:30s])) by (le, cluster))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "p99",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile(0.999, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Read\"}[1m:30s])) by (le, cluster))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "p999",
              "range": true,
              "refId": "C"
            },
            {
              "datasource": "Prometheus",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.98\", request_type=\"read\"}*1000000",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate p98",
              "refId": "D"
            },
            {
              "datasource": "Prometheus",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.99\", request_type=\"read\"}*1000000",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate p99",
              "refId": "E"
            },
            {
              "datasource": "Prometheus",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.999\", request_type=\"read\"}*1000000",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate p999",
              "refId": "F"
            }
          ],
          "title": "Read Latency (98 - 999th percentile)",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Write latency for coordinated writes",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "µs"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "p999"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "p98"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "p98"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate p999"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "Stargate p98"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Stargate p98"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 8
          },
          "id": 9,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile(0.98, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Write\"}[1m:30s])) by (le, cluster))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "p98",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile(0.99, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Write\"}[1m:30s])) by (le, cluster))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "p99",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile(0.999, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type=\"Write\"}[1m:30s])) by (le, cluster))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "p999",
              "range": true,
              "refId": "C"
            },
            {
              "datasource": "Prometheus",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.98\", request_type=\"write\"}*1000000",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate p98",
              "refId": "D"
            },
            {
              "datasource": "Prometheus",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.99\", request_type=\"write\"}*1000000",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate p99",
              "refId": "E"
            },
            {
              "datasource": "Prometheus",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.999\", request_type=\"write\"}*1000000",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Stargate p999",
              "refId": "F"
            }
          ],
          "title": "Write Latency (98th - p999 Percentile)",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Other p99 latencies for coordinated requests",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "µs"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 8
          },
          "id": 10,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "histogram_quantile(0.99, sum(rate(org_apache_cassandra_metrics_client_request_latency_bucket{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", request_type!~\"Write|Read|.*-.*\"}[1m:30s])) by (le, request_type, cluster))",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "p99 {{request_type}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "stargate_client_request_latency_quantile{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", quantile=~\"0.99\", request_type!~\"write|read|.*-.*\"}*1000000",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "Stargate p99 {{request_type}}",
              "range": true,
              "refId": "B"
            }
          ],
          "title": "Other Latencies",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 15
          },
          "id": 34,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Nodes Status",
          "type": "row"
        },
        {
          "colors": [
            "#299c46",
            "#ED8128",
            "#d44a3a",
            "#4040a0"
          ],
          "datasource": null,
          "description": "Nodes Status uses Internal/Gossip activity. Be mindful that if Native or Thrift protocol are disabled, the nodes won't be reachable, and still marked up",
          "fieldConfig": {
            "defaults": {},
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 24,
            "x": 0,
            "y": 16
          },
          "id": 11,
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "nullPointMode": "connected",
          "options": {
            "autoSizeColumns": true,
            "autoSizePolygons": true,
            "autoSizeRows": true,
            "compositeConfig": {
              "animationSpeed": "",
              "composites": [],
              "enabled": true
            },
            "ellipseCharacters": 18,
            "ellipseEnabled": false,
            "globalAutoScaleFonts": true,
            "globalClickthrough": "",
            "globalClickthroughNewTabEnabled": false,
            "globalClickthroughSanitizedEnabled": false,
            "globalDecimals": 2,
            "globalDisplayMode": "all",
            "globalDisplayTextTriggeredEmpty": "",
            "globalFillColor": "",
            "globalFontSize": 8,
            "globalGradientsEnabled": false,
            "globalOperator": "last",
            "globalPolygonBorderColor": "",
            "globalPolygonBorderSize": 1,
            "globalPolygonSize": 50,
            "globalRegexPattern": "",
            "globalShape": "hexagon_pointed_top",
            "globalShowValueEnabled": true,
            "globalTextFontAutoColor": "#000000",
            "globalTextFontAutoColorEnabled": false,
            "globalTextFontColor": "#000000",
            "globalThresholdsConfig": [
              {
                "color": "#d44a3a",
                "state": 2,
                "value": 0
              },
              {
                "color": "#299c46",
                "state": 0,
                "value": 1
              }
            ],
            "globalTooltipsEnabled": true,
            "globalTooltipsShowTimestampEnabled": true,
            "globalUnitFormat": "none",
            "layoutDisplayLimit": 100,
            "layoutNumColumns": 8,
            "layoutNumRows": 8,
            "overrideConfig": {
              "overrides": []
            },
            "panelId": 0,
            "radius": 100,
            "sortByDirection": 0,
            "sortByField": "",
            "tooltipDisplayMode": "all",
            "tooltipDisplayTextTriggeredEmpty": "",
            "tooltipPrimarySortByField": "",
            "tooltipPrimarySortDirection": 0,
            "tooltipSecondarySortByField": "",
            "tooltipSecondarySortDirection": 0
          },
          "pluginVersion": "2.0.4",
          "polystat": {
            "animationSpeed": 2500,
            "columnAutoSize": true,
            "columns": "",
            "defaultClickThrough": "",
            "defaultClickThroughNewTab": false,
            "defaultClickThroughSanitize": false,
            "displayLimit": 100,
            "ellipseCharacters": 18,
            "ellipseEnabled": false,
            "fontAutoColor": true,
            "fontAutoScale": true,
            "fontSize": 12,
            "fontType": "Roboto",
            "globalDecimals": 2,
            "globalDisplayMode": "all",
            "globalDisplayTextTriggeredEmpty": "OK",
            "globalOperatorName": "avg",
            "globalUnitFormat": "short",
            "gradientEnabled": true,
            "hexagonSortByDirection": 1,
            "hexagonSortByField": "name",
            "maxMetrics": 0,
            "polygonBorderColor": "#000000",
            "polygonBorderSize": 2,
            "polygonGlobalFillColor": "#0a55a1",
            "radius": "",
            "radiusAutoSize": true,
            "regexPattern": "",
            "rowAutoSize": true,
            "rows": "",
            "shape": "hexagon_pointed_top",
            "tooltipDisplayMode": "all",
            "tooltipDisplayTextTriggeredEmpty": "OK",
            "tooltipEnabled": true,
            "tooltipFontSize": 12,
            "tooltipFontType": "Roboto",
            "tooltipPrimarySortDirection": 2,
            "tooltipPrimarySortField": "thresholdLevel",
            "tooltipSecondarySortDirection": 2,
            "tooltipSecondarySortField": "value",
            "tooltipTimestampEnabled": true,
            "valueEnabled": true
          },
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "savedComposites": [],
          "savedOverrides": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster, dc, rack, pod_name) (changes(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\", pool_name=\"GossipStage\", pool_type=\"internal\"}[1m:30s])) > bool 0",
              "format": "time_series",
              "instant": true,
              "intervalFactor": 2,
              "legendFormat": "{{pod_name}}",
              "refId": "A"
            }
          ],
          "title": "Nodes Status",
          "transparent": true,
          "type": "grafana-polystat-panel",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ]
        },
        {
          "datasource": null,
          "description": "Nodes up and down in the cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 0,
              "mappings": [
                {
                  "options": {
                    "match": "null",
                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 23
          },
          "id": 12,
          "links": [],
          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "count by (cluster) (max by (cluster, dc, rack, instance) (org_apache_cassandra_metrics_compaction_completed_tasks{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Total Number Of Nodes",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Nodes Count",
          "transparent": true,
          "type": "stat"
        },
        {
          "datasource": null,
          "description": "Nodes up and down in the cluster per protocol/activity",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "decimals": 0,
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 16,
            "x": 8,
            "y": 23
          },
          "id": 13,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "count by (cluster) (max by (cluster, dc, rack, instance) (org_apache_cassandra_metrics_compaction_completed_tasks{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Total Number Of Nodes",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Nodes Status History",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 30
          },
          "id": 35,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Data Status",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "Disk space used ordered (fullest disks first)",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "align": "auto",
                "displayMode": "auto",
                "filterable": false
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "yellow",
                    "value": 50
                  },
                  {
                    "color": "orange",
                    "value": 80
                  },
                  {
                    "color": "red",
                    "value": 90
                  }
                ]
              },
              "unit": "percentunit"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Value"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "color-text"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 31
          },
          "id": 14,
          "links": [],
          "options": {
            "footer": {
              "fields": "",
              "reducer": [
                "sum"
              ],
              "show": false
            },
            "showHeader": true
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "exemplar": false,
              "expr": "max by(host, device) (host_filesystem_used_ratio{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "table",
              "instant": true,
              "intervalFactor": 2,
              "legendFormat": "{{host}} - {{device}}",
              "range": false,
              "refId": "A"
            }
          ],
          "title": "Disk Space Usage",
          "transparent": true,
          "type": "table"
        },
        {
          "datasource": null,
          "description": "Total sizes of the data on distinct nodes",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 31
          },
          "id": 15,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster) (org_apache_cassandra_metrics_table_live_disk_space_used{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Live space - {{cluster}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster) (org_apache_cassandra_metrics_table_total_disk_space_used{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Total space - {{cluster}}",
              "range": true,
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Cassandra cluster Data Size",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "SSTable Count Max and Average per table",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 31
          },
          "id": 16,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "exemplar": true,
              "expr": "max by (cluster, keyspace, table) (org_apache_cassandra_metrics_table_live_ss_table_count{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "Table - {{keyspace}}.{{table}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (org_apache_cassandra_metrics_table_live_ss_table_count{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Max in cluster - {{cluster}}",
              "range": true,
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "SSTable Count",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Maximum pending compactions on any node in the cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "decimals": 0,
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 38
          },
          "id": 17,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (org_apache_cassandra_metrics_table_pending_compactions{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (org_apache_cassandra_metrics_table_pending_compactions{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (org_apache_cassandra_metrics_table_pending_compactions{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg",
              "range": true,
              "refId": "C"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Pending Compactions",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Maximum pending compactions per table",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "decimals": 0,
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 38
          },
          "id": 18,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster, keyspace, table) (org_apache_cassandra_metrics_table_pending_compactions{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max for {{keyspace}}.{{table}}",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Pending Compactions per Table",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 45
          },
          "id": 36,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Cassandra Internals",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "Cluster wide pending threads, by thread pool name",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 46
          },
          "id": 19,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, pool_name) (org_apache_cassandra_metrics_thread_pools_pending_tasks{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{cluster}} - pending {{pool_name}}",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Pending Tasks",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Cluster wide blocked threads, by thread pool name",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 46
          },
          "id": 20,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, pool_name) (rate(org_apache_cassandra_metrics_thread_pools_total_blocked_tasks{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{cluster}} - blocked {{pool_name}}",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Blocked Tasks",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Dropped messages rate summed by message type and cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 46
          },
          "id": 21,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, message_type) (rate(org_apache_cassandra_metrics_dropped_message_dropped_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{cluster}} - dropped {{message_type}}",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Dropped Messages",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "active threads summed per cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 53
          },
          "id": 22,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster, pool_name) (org_apache_cassandra_metrics_thread_pools_active_tasks{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "{{cluster}} - active {{pool_name}}",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Active Tasks",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Sum of hints being handed off per cluster.",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 53
          },
          "id": 23,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum by (cluster) (org_apache_cassandra_metrics_storage_total_hints_in_progress{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "count",
              "range": true,
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Hinted Handoff",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 60
          },
          "id": 37,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "Hardware / Operating System",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "Maximum CPU utilisation (max 100%)",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "decimals": 1,
              "mappings": [],
              "max": 1,
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "percentunit"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 61
          },
          "id": 24,
          "links": [],
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (1 - (sum by (host) (rate(host_cpu_seconds_total{mode=\"idle\",cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s])) / sum by (host) (rate(host_cpu_seconds_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max {{host}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (1 - (sum by (host) (rate(host_cpu_seconds_total{mode=\"idle\",cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s])) / sum by (host) (rate(host_cpu_seconds_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))))",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "min {{host}}",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (1 - (sum by (host) (rate(host_cpu_seconds_total{mode=\"idle\",cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s])) / sum by (host) (rate(host_cpu_seconds_total{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))))",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "avg {{host}}",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "CPU Utilization",
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Max Unix load on a node for a cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 61
          },
          "id": 25,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (host_load1{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (host_load1{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (host_load1{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Unix Load (1m rate)",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Maximum Memory allocated per usage (worst node) - excludes caches, buffers, etc",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 2,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 61
          },
          "id": 26,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (host_memory_used_bytes{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max {{host}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (host_memory_used_bytes{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "min {{host}}",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (host_memory_used_bytes{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 2,
              "legendFormat": "avg {{host}}",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Memory Utilisation",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Disk read throughput",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 68
          },
          "id": 27,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (rate(host_disk_read_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max {{host}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (rate(host_disk_read_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min {{host}}",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (rate(host_disk_read_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg {{host}}",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Disk Read Thoughput",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Disk write throughput",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bps"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 68
          },
          "id": 28,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (rate(host_disk_written_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max {{host}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (rate(host_disk_written_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min {{host}}",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (rate(host_disk_written_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg {{host}}",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Disk Write Thoughput",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Network In and Out per cluster",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 68
          },
          "id": 29,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster) (rate(host_network_transmit_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "outgoing",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "sum by (cluster) (rate(host_network_receive_bytes_total{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "incoming",
              "range": true,
              "refId": "B"
            }
          ],
          "title": "Network I/O",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "P0A5A8833C6EEB564"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 75
          },
          "id": 38,
          "panels": [],
          "targets": [
            {
              "datasource": "Prometheus",
              "refId": "A"
            }
          ],
          "title": "JVM / Garbage Collection",
          "type": "row"
        },
        {
          "datasource": null,
          "description": "Percentage of the time the node is *not* doing a GC, thus Cassandra is not stopped for GC",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "decimals": 2,
              "mappings": [],
              "max": 1,
              "min": 0,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "percentunit"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 76
          },
          "id": 30,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (1 - (sum by (cluster, dc, rack, instance) (rate(jvm_gc_g1_young_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]) + rate(jvm_gc_g1_old_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s])) / 1000))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (1 - (sum by (cluster, dc, rack, instance) (rate(jvm_gc_g1_young_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]) + rate(jvm_gc_g1_old_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s])) / 1000))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (1 - (sum by (cluster, dc, rack, instance) (rate(jvm_gc_g1_young_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s]) + rate(jvm_gc_g1_old_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"}[1m:30s])) / 1000))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Application Throughput (% time NOT doing GC)",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Garbage collection duration",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ms"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 76
          },
          "id": 31,
          "links": [],
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.11",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max by (cluster) (rate(jvm_gc_g1_young_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster) (rate(jvm_gc_g1_young_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "avg by (cluster) (rate(jvm_gc_g1_young_generation_time{cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"}[1m:30s]))",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg",
              "range": true,
              "refId": "C"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Garbage Collection Time",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": null,
          "description": "Maximum JVM Heap Memory size (worst node) and minimum available heap size",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 35,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 2,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "max"
                },
                "properties": [
                  {
                    "id": "custom.fillBelowTo",
                    "value": "min"
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "min"
                },
                "properties": [
                  {
                    "id": "custom.lineWidth",
                    "value": 0
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 76
          },
          "id": 32,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "9.3.1",
          "targets": [
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "max(jvm_memory_bytes_used) by(area)",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "max {{area}}",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": "Prometheus",
              "editorMode": "code",
              "expr": "min by (cluster)\n        (jvm_memory_bytes_used{memory_type=\"heap\", cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", host=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "min",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": "Prometheus",
              "expr": "avg by (cluster)\n        (mcac_jvm_memory_used{memory_type=\"heap\", cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "avg",
              "refId": "C"
            },
            {
              "datasource": "Prometheus",
              "expr": "min by ( cluster)\n        (mcac_jvm_memory_max{memory_type=\"heap\", cluster=\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\", pod_name=~\"$node\"})",
              "format": "time_series",
              "intervalFactor": 2,
              "legendFormat": "Heap memory available",
              "refId": "D"
            }
          ],
          "title": "JVM Memory Utilisation",
          "transparent": true,
          "type": "timeseries"
        }
      ],
      "refresh": "30s",
      "schemaVersion": 27,
      "style": "dark",
      "tags": [
        "Cassandra",
        "Overview"
      ],
      "templating": {
        "list": [
          {
            "current": {
              "selected": false,
              "text": "No data sources found",
              "value": ""
            },
            "description": null,
            "error": null,
            "hide": 2,
            "includeAll": false,
            "label": null,
            "multi": false,
            "name": "PROMETHEUS_DS",
            "options": [],
            "query": "Prometheus",
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "type": "datasource"
          },
          {
            "allValue": null,
            "current": {
              "selected": true,
              "tags": [],
              "text": [
                "All"
              ],
              "value": [
                "$__all"
              ]
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{}, cluster)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Cluster",
            "multi": true,
            "name": "cluster",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{}, cluster)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": null,
            "current": {
              "selected": true,
              "text": [
                "All"
              ],
              "value": [
                "$__all"
              ]
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\"}, datacenter)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Datacenter",
            "multi": true,
            "name": "dc",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\"}, datacenter)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": null,
            "current": {
              "selected": true,
              "tags": [],
              "text": [
                "All"
              ],
              "value": [
                "$__all"
              ]
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\"}, rack)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Rack",
            "multi": true,
            "name": "rack",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_thread_pools_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\"}, rack)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          },
          {
            "allValue": null,
            "current": {
              "selected": true,
              "tags": [],
              "text": [
                "All"
              ],
              "value": [
                "$__all"
              ]
            },
            "datasource": null,
            "definition": "label_values(org_apache_cassandra_metrics_compaction_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\"}, pod_name)",
            "description": null,
            "error": null,
            "hide": 0,
            "includeAll": true,
            "label": "Node",
            "multi": true,
            "name": "node",
            "options": [],
            "query": {
              "query": "label_values(org_apache_cassandra_metrics_compaction_completed_tasks{cluster=~\"$cluster\", datacenter=~\"$dc\", rack=~\"$rack\"}, pod_name)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "tagValuesQuery": "",
            "tags": [],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
          }
        ]
      },
      "time": {
        "from": "now-15m",
        "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 Overview",
      "uid": "3zKqNyoVz",
      "version": 2
    }
---
  apiVersion: v1
  kind: ConfigMap
  metadata:
    name: k8ssandra-stargate-dashboard
    labels:
      grafana_dashboard: "1"
  data:
    stargate.json: |
      {
        "annotations": {
            "list": [
                {
                    "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": 3,
        "links": [],
        "panels": [
            {
                "aliasColors": {},
                "bars": false,
                "dashLength": 10,
                "dashes": false,
                "datasource": "Prometheus",
                "description": "",
                "fieldConfig": {
                    "defaults": {
                        "custom": {}
                    },
                    "overrides": []
                },
                "fill": 1,
                "fillGradient": 0,
                "gridPos": {
                    "h": 8,
                    "w": 12,
                    "x": 0,
                    "y": 0
                },
                "hiddenSeries": false,
                "id": 8,
                "legend": {
                    "alignAsTable": true,
                    "avg": false,
                    "current": false,
                    "max": true,
                    "min": false,
                    "rightSide": true,
                    "show": true,
                    "total": false,
                    "values": true
                },
                "lines": true,
                "linewidth": 1,
                "nullPointMode": "null as zero",
                "options": {
                    "alertThreshold": true
                },
                "percentage": false,
                "pluginVersion": "7.3.5",
                "pointradius": 2,
                "points": false,
                "renderer": "flot",
                "seriesOverrides": [],
                "spaceLength": 10,
                "stack": false,
                "steppedLine": false,
                "targets": [
                    {
                        "expr": "restapi_io_dropwizard_jetty_MutableServletContextHandler_percent_4xx_1m",
                        "interval": "1m",
                        "legendFormat": "{{pod}}",
                        "refId": "A"
                    }
                ],
                "thresholds": [],
                "timeFrom": null,
                "timeRegions": [],
                "timeShift": null,
                "title": "4xx Errors",
                "tooltip": {
                    "shared": true,
                    "sort": 0,
                    "value_type": "individual"
                },
                "type": "graph",
                "xaxis": {
                    "buckets": null,
                    "mode": "time",
                    "name": null,
                    "show": true,
                    "values": []
                },
                "yaxes": [
                    {
                        "$$hashKey": "object:143",
                        "decimals": null,
                        "format": "percentunit",
                        "label": "",
                        "logBase": 1,
                        "max": "1",
                        "min": "0",
                        "show": true
                    },
                    {
                        "$$hashKey": "object:144",
                        "format": "short",
                        "label": null,
                        "logBase": 1,
                        "max": null,
                        "min": null,
                        "show": false
                    }
                ],
                "yaxis": {
                    "align": false,
                    "alignLevel": null
                }
            },
            {
                "aliasColors": {},
                "bars": false,
                "dashLength": 10,
                "dashes": false,
                "datasource": "Prometheus",
                "description": "",
                "fieldConfig": {
                    "defaults": {
                        "custom": {}
                    },
                    "overrides": []
                },
                "fill": 1,
                "fillGradient": 0,
                "gridPos": {
                    "h": 8,
                    "w": 12,
                    "x": 12,
                    "y": 0
                },
                "hiddenSeries": false,
                "id": 5,
                "legend": {
                    "alignAsTable": true,
                    "avg": false,
                    "current": false,
                    "max": true,
                    "min": false,
                    "rightSide": true,
                    "show": true,
                    "total": false,
                    "values": true
                },
                "lines": true,
                "linewidth": 1,
                "nullPointMode": "null as zero",
                "options": {
                    "alertThreshold": true
                },
                "percentage": false,
                "pluginVersion": "7.3.5",
                "pointradius": 2,
                "points": false,
                "renderer": "flot",
                "seriesOverrides": [],
                "spaceLength": 10,
                "stack": false,
                "steppedLine": false,
                "targets": [
                    {
                        "expr": "restapi_io_dropwizard_jetty_MutableServletContextHandler_percent_5xx_1m",
                        "interval": "1m",
                        "legendFormat": "{{pod}}",
                        "refId": "A"
                    }
                ],
                "thresholds": [],
                "timeFrom": null,
                "timeRegions": [],
                "timeShift": null,
                "title": "5xx Errors",
                "tooltip": {
                    "shared": true,
                    "sort": 0,
                    "value_type": "individual"
                },
                "type": "graph",
                "xaxis": {
                    "buckets": null,
                    "mode": "time",
                    "name": null,
                    "show": true,
                    "values": []
                },
                "yaxes": [
                    {
                        "$$hashKey": "object:143",
                        "decimals": null,
                        "format": "percentunit",
                        "label": "",
                        "logBase": 1,
                        "max": "1",
                        "min": "0",
                        "show": true
                    },
                    {
                        "$$hashKey": "object:144",
                        "format": "short",
                        "label": null,
                        "logBase": 1,
                        "max": null,
                        "min": null,
                        "show": false
                    }
                ],
                "yaxis": {
                    "align": false,
                    "alignLevel": null
                }
            },
            {
                "aliasColors": {},
                "bars": false,
                "dashLength": 10,
                "dashes": false,
                "datasource": "Prometheus",
                "fieldConfig": {
                    "defaults": {
                        "custom": {}
                    },
                    "overrides": []
                },
                "fill": 1,
                "fillGradient": 0,
                "gridPos": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 8
                },
                "hiddenSeries": false,
                "id": 7,
                "legend": {
                    "alignAsTable": true,
                    "avg": true,
                    "current": false,
                    "hideEmpty": true,
                    "hideZero": true,
                    "max": true,
                    "min": false,
                    "rightSide": true,
                    "show": true,
                    "total": false,
                    "values": true
                },
                "lines": true,
                "linewidth": 1,
                "nullPointMode": "null as zero",
                "options": {
                    "alertThreshold": true
                },
                "percentage": false,
                "pluginVersion": "7.3.5",
                "pointradius": 2,
                "points": false,
                "renderer": "flot",
                "seriesOverrides": [],
                "spaceLength": 10,
                "stack": true,
                "steppedLine": false,
                "targets": [
                    {
                        "expr": "rate(restapi_io_dropwizard_jetty_MutableServletContextHandler_requests_count[1m])",
                        "interval": "15s",
                        "legendFormat": "{{pod}}",
                        "refId": "A"
                    }
                ],
                "thresholds": [],
                "timeFrom": null,
                "timeRegions": [],
                "timeShift": null,
                "title": "HTTP Requests per Second",
                "tooltip": {
                    "shared": true,
                    "sort": 0,
                    "value_type": "individual"
                },
                "type": "graph",
                "xaxis": {
                    "buckets": null,
                    "mode": "time",
                    "name": null,
                    "show": true,
                    "values": []
                },
                "yaxes": [
                    {
                        "$$hashKey": "object:315",
                        "format": "short",
                        "label": null,
                        "logBase": 1,
                        "max": null,
                        "min": "0",
                        "show": true
                    },
                    {
                        "$$hashKey": "object:316",
                        "format": "short",
                        "label": null,
                        "logBase": 1,
                        "max": null,
                        "min": null,
                        "show": true
                    }
                ],
                "yaxis": {
                    "align": false,
                    "alignLevel": null
                }
            },
            {
                "aliasColors": {},
                "bars": false,
                "dashLength": 10,
                "dashes": false,
                "datasource": "Prometheus",
                "fieldConfig": {
                    "defaults": {
                        "custom": {},
                        "mappings": [],
                        "thresholds": {
                            "mode": "absolute",
                            "steps": [
                                {
                                    "color": "green",
                                    "value": null
                                },
                                {
                                    "color": "red",
                                    "value": 80
                                }
                            ]
                        }
                    },
                    "overrides": []
                },
                "fill": 1,
                "fillGradient": 0,
                "gridPos": {
                    "h": 13,
                    "w": 24,
                    "x": 0,
                    "y": 16
                },
                "hiddenSeries": false,
                "id": 2,
                "legend": {
                    "alignAsTable": true,
                    "avg": true,
                    "current": false,
                    "hideEmpty": true,
                    "hideZero": true,
                    "max": true,
                    "min": false,
                    "rightSide": true,
                    "show": true,
                    "total": false,
                    "values": true
                },
                "lines": true,
                "linewidth": 1,
                "nullPointMode": "connected",
                "options": {
                    "alertThreshold": true
                },
                "percentage": false,
                "pluginVersion": "7.3.5",
                "pointradius": 2,
                "points": false,
                "renderer": "flot",
                "seriesOverrides": [],
                "spaceLength": 10,
                "stack": false,
                "steppedLine": false,
                "targets": [
                    {
                        "expr": "jvm_memory_heap_used",
                        "instant": false,
                        "interval": "15s",
                        "legendFormat": "{{pod}} Usage",
                        "refId": "A"
                    },
                    {
                        "expr": "jvm_memory_heap_max",
                        "interval": "15s",
                        "legendFormat": "{{pod}} Max",
                        "refId": "B"
                    }
                ],
                "thresholds": [],
                "timeFrom": null,
                "timeRegions": [],
                "timeShift": null,
                "title": "JVM Heap Usage",
                "tooltip": {
                    "shared": true,
                    "sort": 0,
                    "value_type": "individual"
                },
                "type": "graph",
                "xaxis": {
                    "buckets": null,
                    "mode": "time",
                    "name": null,
                    "show": true,
                    "values": []
                },
                "yaxes": [
                    {
                        "$$hashKey": "object:61",
                        "format": "bytes",
                        "label": null,
                        "logBase": 1,
                        "max": null,
                        "min": "0",
                        "show": true
                    },
                    {
                        "$$hashKey": "object:62",
                        "format": "short",
                        "label": null,
                        "logBase": 1,
                        "max": null,
                        "min": null,
                        "show": false
                    }
                ],
                "yaxis": {
                    "align": false,
                    "alignLevel": null
                }
            }
        ],
        "refresh": false,
        "schemaVersion": 26,
        "style": "dark",
        "tags": [],
        "templating": {
            "list": []
        },
        "time": {
            "from": "now-1h",
            "to": "now"
        },
        "timepicker": {},
        "timezone": "",
        "title": "Stargate",
        "uid": "YnvTjHYGk",
        "version": 1
      }