Skip to content

Commit

Permalink
[release-4.14] OCPBUGS-18166: add etcd diskjitter dashboards (#1097)
Browse files Browse the repository at this point in the history
* ETCD-435: add etcd diskjitter dashboards

* add panel title

* add more percentiles
  • Loading branch information
Elbehery authored Aug 28, 2023
1 parent d7d43ee commit 8509226
Show file tree
Hide file tree
Showing 3 changed files with 1,677 additions and 1,341 deletions.
2 changes: 1 addition & 1 deletion jsonnet/dashboard.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ local etcdMixin = (import 'github.com/etcd-io/etcd/contrib/mixin/mixin.libsonnet
namespace: 'openshift-config-managed',
},
data: {
'etcd.json': std.manifestJsonEx(etcdMixin.grafanaDashboards['etcd.json'], ' '),
'etcd.json': std.manifestJsonEx(etcdMixin.grafanaDashboards['etcd.json'] + {rows+: [ (import 'diskjitter_dashboard.json') ]}, ' '),
},
}
157 changes: 157 additions & 0 deletions jsonnet/diskjitter_dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"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": 2,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.5, sum by(instance, le) (irate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"etcd\"}[5m])))\n",
"intervalFactor": "2",
"legendFormat": "{{instance}} WAL fsync p50",
"refId": "A",
"step": "4"
},
{
"expr": "histogram_quantile(0.2, sum by(instance, le) (irate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"etcd\"}[5m])))\n",
"intervalFactor": "2",
"legendFormat": "{{instance}} WAL fsync p20",
"refId": "B",
"step": "4"
},
{
"expr": "histogram_quantile(0.8, sum by(instance, le) (irate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"etcd\"}[5m])))\n",
"intervalFactor": "2",
"legendFormat": "{{instance}} WAL fsync p80",
"refId": "C",
"step": "4"
},
{
"expr": "histogram_quantile(0.99, sum by(instance, le) (irate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"etcd\"}[5m])))\n",
"intervalFactor": "2",
"legendFormat": "{{instance}} WAL fsync p99",
"refId": "D",
"step": "4"
},
{
"expr": "histogram_quantile(0.1, sum by(instance, le) (irate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"etcd\"}[5m])))\n",
"intervalFactor": "2",
"legendFormat": "{{instance}} WAL fsync p1",
"refId": "E",
"step": "4"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Disk fsync distributions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "demoooo",
"uid": "ql-fF064z",
"variables": {
"list": []
},
"version": 1
}
Loading

0 comments on commit 8509226

Please sign in to comment.