Skip to content

Instantly share code, notes, and snippets.

@tbg
Created April 9, 2023 20:16
Show Gist options
  • Save tbg/55a810d675158725926ad8ee6553342c to your computer and use it in GitHub Desktop.
Save tbg/55a810d675158725926ad8ee6553342c to your computer and use it in GitHub Desktop.
{
"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,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 40,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "v9Zz2K6nz"
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 22,
"x": 0,
"y": 8
},
"id": 5,
"options": {
"calculate": false,
"cellGap": 0,
"cellValues": {
"unit": "decbytes"
},
"color": {
"exponent": 0.8,
"fill": "dark-orange",
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "BrBG",
"steps": 45
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"show": true,
"yHistogram": true
},
"yAxis": {
"axisPlacement": "hidden",
"reverse": false,
"unit": "decbytes"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "v9Zz2K6nz"
},
"editorMode": "code",
"expr": "sum(rate(sql_bytesin{instance=~\"grinaker-231-.*\"}[$__rate_interval]))",
"legendFormat": "Cluster",
"range": true,
"refId": "A"
}
],
"title": "sql_bytesin/sec (Cluster)",
"type": "heatmap"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 11
},
"id": 4,
"panels": [],
"title": "sql_bytesin (Per Node)",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "v9Zz2K6nz"
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 22,
"x": 0,
"y": 12
},
"id": 2,
"options": {
"calculate": false,
"cellGap": 0,
"cellValues": {
"unit": "decbytes"
},
"color": {
"exponent": 0.8,
"fill": "dark-orange",
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "BrBG",
"steps": 45
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"show": true,
"yHistogram": true
},
"yAxis": {
"axisPlacement": "hidden",
"reverse": false,
"unit": "cps"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "v9Zz2K6nz"
},
"editorMode": "code",
"expr": "rate(sql_bytesin{instance=~\"grinaker-231-.*\"}[$__rate_interval])",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "sql_bytesin/sec (Per Node)",
"type": "heatmap"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "2023-04-09T16:53:24.221Z",
"to": "2023-04-09T17:22:05.747Z"
},
"timepicker": {},
"timezone": "",
"title": "L2 drill-down",
"uid": "CAvWxELVz",
"version": 1,
"weekStart": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment