mirror of
https://github.com/monitoring-mixins/website.git
synced 2024-12-15 17:50:48 +00:00
1091 lines
33 KiB
JSON
1091 lines
33 KiB
JSON
|
{
|
||
|
"__inputs": [ ],
|
||
|
"__requires": [ ],
|
||
|
"annotations": {
|
||
|
"list": [ ]
|
||
|
},
|
||
|
"description": "",
|
||
|
"editable": false,
|
||
|
"gnetId": null,
|
||
|
"graphTooltip": 0,
|
||
|
"hideControls": false,
|
||
|
"id": null,
|
||
|
"links": [
|
||
|
{
|
||
|
"asDropdown": false,
|
||
|
"icon": "external link",
|
||
|
"includeVars": true,
|
||
|
"keepTime": true,
|
||
|
"tags": [
|
||
|
"apache-cassandra-mixin"
|
||
|
],
|
||
|
"targetBlank": false,
|
||
|
"title": "Other Apache Cassandra dashboards",
|
||
|
"type": "dashboards",
|
||
|
"url": ""
|
||
|
}
|
||
|
],
|
||
|
"panels": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The total count of the amount of keyspaces being reported.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 2,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "9.3.6",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "count(count by (keyspace) (cassandra_keyspace_writelatency_seconds{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": ""
|
||
|
}
|
||
|
],
|
||
|
"title": "Keyspaces count",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "Total amount of disk space used by keyspaces.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 20,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "bytes"
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 3,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "sum(cassandra_keyspace_totaldiskspaceused{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}}"
|
||
|
}
|
||
|
],
|
||
|
"title": "Keyspace total disk space used",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The number of compaction operations a keyspace is pending to perform.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 20,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 6
|
||
|
},
|
||
|
"id": 4,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "sum(cassandra_keyspace_pendingcompactions{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}}"
|
||
|
}
|
||
|
],
|
||
|
"title": "Keyspace pending compactions",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "Max partition size for keyspaces.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "decbytes"
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 6
|
||
|
},
|
||
|
"id": 5,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "max(cassandra_table_maxpartitionsize{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}}"
|
||
|
}
|
||
|
],
|
||
|
"title": "Keyspace max partition size",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The number of writes performed on the keyspace.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 12
|
||
|
},
|
||
|
"id": 6,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "increase(sum(cassandra_keyspace_writelatency_seconds_count{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}) by (keyspace)[$__interval:])",
|
||
|
"format": "time_series",
|
||
|
"interval": "1m",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}}"
|
||
|
}
|
||
|
],
|
||
|
"title": "Writes",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The number of reads performed on the keyspace.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 12
|
||
|
},
|
||
|
"id": 7,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "increase(sum(cassandra_keyspace_readlatency_seconds_count{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}) by (keyspace)[$__interval:])",
|
||
|
"format": "time_series",
|
||
|
"interval": "1m",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}}"
|
||
|
}
|
||
|
],
|
||
|
"title": "Reads",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The number of repair jobs started per keyspace.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 18
|
||
|
},
|
||
|
"id": 8,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "increase(sum(cassandra_keyspace_repairjobsstarted_count{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"} >= 0) by (keyspace)[$__interval:])",
|
||
|
"format": "time_series",
|
||
|
"interval": "1m",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}} "
|
||
|
}
|
||
|
],
|
||
|
"title": "Repair jobs started",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The number of repair jobs that were completed.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 18
|
||
|
},
|
||
|
"id": 9,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "increase(sum(cassandra_keyspace_repairjobscompleted_count{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\"}) by (keyspace)[$__interval:])",
|
||
|
"format": "time_series",
|
||
|
"interval": "1m",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{keyspace}} "
|
||
|
}
|
||
|
],
|
||
|
"title": "Repair jobs completed",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "The 95th and 99th percentils of local write latency for keyspaces",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "s"
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 24
|
||
|
},
|
||
|
"id": 10,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "right",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "sum(cassandra_keyspace_writelatency_seconds{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\", quantile=\"0.95\"} >= 0) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{ keyspace }} - p95"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "sum(cassandra_keyspace_writelatency_seconds{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\", quantile=\"0.99\"} >= 0) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{ keyspace }} - p99"
|
||
|
}
|
||
|
],
|
||
|
"title": "Keyspace write latency",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"description": "Average local read latency for keyspaces",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 0,
|
||
|
"gradientMode": "none",
|
||
|
"hideFrom": {
|
||
|
"legend": false,
|
||
|
"tooltip": false,
|
||
|
"viz": false
|
||
|
},
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [ ],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "s"
|
||
|
},
|
||
|
"overrides": [ ]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 24
|
||
|
},
|
||
|
"id": 11,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [ ],
|
||
|
"displayMode": "list",
|
||
|
"placement": "right",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "sum(cassandra_keyspace_readlatency_seconds{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\", quantile=\"0.95\"} >= 0) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{ keyspace }} - p95"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"expr": "sum(cassandra_keyspace_readlatency_seconds{job=~\"$job\", instance=~\"$instance\", keyspace=~\"$keyspace\", cassandra_cluster=~\"$cassandra_cluster\", quantile=\"0.99\"} >= 0) by (keyspace)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{ keyspace }} - p99"
|
||
|
}
|
||
|
],
|
||
|
"title": "Keyspace read latency",
|
||
|
"type": "timeseries"
|
||
|
}
|
||
|
],
|
||
|
"refresh": "1m",
|
||
|
"rows": [ ],
|
||
|
"schemaVersion": 14,
|
||
|
"style": "dark",
|
||
|
"tags": [
|
||
|
"apache-cassandra-mixin"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": { },
|
||
|
"hide": 0,
|
||
|
"label": "Data Source",
|
||
|
"name": "prometheus_datasource",
|
||
|
"options": [ ],
|
||
|
"query": "prometheus",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"type": "datasource"
|
||
|
},
|
||
|
{
|
||
|
"allValue": "",
|
||
|
"current": { },
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": "Job",
|
||
|
"multi": true,
|
||
|
"name": "job",
|
||
|
"options": [ ],
|
||
|
"query": "label_values(cassandra_up_endpoint_count, job)",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [ ],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"allValue": "",
|
||
|
"current": { },
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"hide": 2,
|
||
|
"includeAll": true,
|
||
|
"label": "Cluster",
|
||
|
"multi": true,
|
||
|
"name": "cluster",
|
||
|
"options": [ ],
|
||
|
"query": "label_values(cassandra_up_endpoint_count{job=~\"$job\"}, cluster)",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [ ],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"allValue": "",
|
||
|
"current": { },
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": "Cassandra cluster",
|
||
|
"multi": true,
|
||
|
"name": "cassandra_cluster",
|
||
|
"options": [ ],
|
||
|
"query": "label_values(cassandra_up_endpoint_count{job=~\"$job\"}, cassandra_cluster)",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [ ],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"allValue": "",
|
||
|
"current": { },
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": "Instance",
|
||
|
"multi": true,
|
||
|
"name": "instance",
|
||
|
"options": [ ],
|
||
|
"query": "label_values(cassandra_up_endpoint_count{job=~\"$job\", cassandra_cluster=~\"$cassandra_cluster\"}, instance)",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [ ],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"allValue": "",
|
||
|
"current": { },
|
||
|
"datasource": {
|
||
|
"uid": "${prometheus_datasource}"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": "Keyspace",
|
||
|
"multi": true,
|
||
|
"name": "keyspace",
|
||
|
"options": [ ],
|
||
|
"query": "label_values(cassandra_keyspace_caspreparelatency_seconds{job=~\"$job\", cassandra_cluster=~\"$cassandra_cluster\",instance=~\"$instance\"}, keyspace)",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [ ],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-1h",
|
||
|
"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": "default",
|
||
|
"title": "Apache Cassandra keyspaces",
|
||
|
"uid": "cassandra-keyspaces",
|
||
|
"version": 0
|
||
|
}
|