Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alain/38 add write path dashboard #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Adding write path Dashboard
  • Loading branch information
arodrime committed Jul 21, 2021
commit ff33e1948b515759d11ff41e4dfef96dc143b6ca
6 changes: 3 additions & 3 deletions dashboards/demo/demo-cassandra.yaml
Original file line number Diff line number Diff line change
@@ -609,7 +609,7 @@ ssl_storage_port: 7001
#
# Setting listen_address to 0.0.0.0 is always wrong.
#
listen_address: 172.18.0.5
listen_address: 172.19.0.5

# Set listen_address OR listen_interface, not both. Interfaces must correspond
# to a single address, IP aliasing is not supported.
@@ -623,7 +623,7 @@ listen_address: 172.18.0.5

# Address to broadcast to other Cassandra nodes
# Leaving this blank will set it to the same value as listen_address
broadcast_address: 172.18.0.5
broadcast_address: 172.19.0.5

# When using multiple physical network interfaces, set this
# to true to listen on broadcast_address in addition to
@@ -705,7 +705,7 @@ rpc_port: 9160
# be set to 0.0.0.0. If left blank, this will be set to the value of
# rpc_address. If rpc_address is set to 0.0.0.0, broadcast_rpc_address must
# be set.
broadcast_rpc_address: 172.18.0.5
broadcast_rpc_address: 172.19.0.5

# enable or disable keepalive on rpc/native connections
rpc_keepalive: true
46 changes: 46 additions & 0 deletions dashboards/grafana/dashboards-jsonnet/write-path.jsonnet
Original file line number Diff line number Diff line change
@@ -626,6 +626,52 @@ dashboard.new(
)
)
)
.addPanel(
graphPanel.new(
'Disk Write Thoughput',
description='Disk write throughput per node',
format='bps',
datasource='$PROMETHEUS_DS',
transparent=true,
fill=0,
legend_show=true,
legend_values=true,
legend_current=true,
legend_alignAsTable=true,
legend_sort='current',
legend_sortDesc=true,
shared_tooltip=false,
)
.addTarget(
prometheus.target(
expr='rate(collectd_processes_disk_octets_write_total{cluster="$cluster", dc=~"$dc", rack=~"$rack", instance=~"$node"}[1m:30s])',
legendFormat='{{dc}}-{{instance}} ({{cluster}})',
)
)
)
.addPanel(
graphPanel.new(
'Disk Write Thoughput',
description='Disk write throughput per node',
format='bps',
datasource='$PROMETHEUS_DS',
transparent=true,
fill=0,
legend_show=true,
legend_values=true,
legend_current=true,
legend_alignAsTable=true,
legend_sort='current',
legend_sortDesc=true,
shared_tooltip=false,
)
.addTarget(
prometheus.target(
expr='rate(collectd_processes_disk_octets_write_total{cluster="$cluster", dc=~"$dc", rack=~"$rack", instance=~"$node"}[1m:30s])',
legendFormat='{{dc}}-{{instance}} ({{cluster}})',
)
)
)
.addPanel(
graphPanel.new(
'Network I/O',
182 changes: 175 additions & 7 deletions dashboards/grafana/generated-dashboards/write-path.json
Original file line number Diff line number Diff line change
@@ -1544,6 +1544,174 @@
}
]
},
{
"aliasColors": { },
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$PROMETHEUS_DS",
"description": "Disk write throughput per node",
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 20,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": null,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [ ],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [ ],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(collectd_processes_disk_octets_write_total{cluster=\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$node\"}[1m:30s])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{dc}}-{{instance}} ({{cluster}})",
"refId": "A"
}
],
"thresholds": [ ],
"timeFrom": null,
"timeShift": null,
"title": "Disk Write Thoughput",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": [ ]
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": { },
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$PROMETHEUS_DS",
"description": "Disk write throughput per node",
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 21,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": null,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [ ],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [ ],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(collectd_processes_disk_octets_write_total{cluster=\"$cluster\", dc=~\"$dc\", rack=~\"$rack\", instance=~\"$node\"}[1m:30s])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{dc}}-{{instance}} ({{cluster}})",
"refId": "A"
}
],
"thresholds": [ ],
"timeFrom": null,
"timeShift": null,
"title": "Disk Write Thoughput",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": [ ]
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": { },
"bars": false,
@@ -1554,7 +1722,7 @@
"fill": 1,
"fillGradient": 0,
"gridPos": { },
"id": 20,
"id": 22,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -1650,7 +1818,7 @@
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 21,
"id": 23,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -1748,7 +1916,7 @@
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 22,
"id": 24,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -1835,7 +2003,7 @@
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 23,
"id": 25,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -1935,7 +2103,7 @@
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 24,
"id": 26,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -2021,7 +2189,7 @@
"fill": 0,
"fillGradient": 0,
"gridPos": { },
"id": 25,
"id": 27,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -2105,7 +2273,7 @@
"fill": 1,
"fillGradient": 0,
"gridPos": { },
"id": 26,
"id": 28,
"legend": {
"alignAsTable": true,
"avg": false,