github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/config/grafana/dashboard-node.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": { 7 "type": "grafana", 8 "uid": "-- Grafana --" 9 }, 10 "enable": true, 11 "hide": true, 12 "iconColor": "rgba(0, 211, 255, 1)", 13 "name": "Annotations & Alerts", 14 "target": { 15 "limit": 100, 16 "matchAny": false, 17 "tags": [], 18 "type": "dashboard" 19 }, 20 "type": "dashboard" 21 } 22 ] 23 }, 24 "editable": true, 25 "fiscalYearStartMonth": 0, 26 "graphTooltip": 0, 27 "id": 2, 28 "links": [], 29 "liveNow": false, 30 "panels": [ 31 { 32 "datasource": { 33 "type": "postgres", 34 "uid": "P51543FE1D179F612" 35 }, 36 "fieldConfig": { 37 "defaults": { 38 "color": { 39 "mode": "palette-classic" 40 }, 41 "custom": { 42 "axisCenteredZero": false, 43 "axisColorMode": "text", 44 "axisLabel": "", 45 "axisPlacement": "auto", 46 "barAlignment": 0, 47 "drawStyle": "line", 48 "fillOpacity": 0, 49 "gradientMode": "none", 50 "hideFrom": { 51 "legend": false, 52 "tooltip": false, 53 "viz": false 54 }, 55 "lineInterpolation": "linear", 56 "lineWidth": 1, 57 "pointSize": 5, 58 "scaleDistribution": { 59 "type": "linear" 60 }, 61 "showPoints": "auto", 62 "spanNulls": false, 63 "stacking": { 64 "group": "A", 65 "mode": "none" 66 }, 67 "thresholdsStyle": { 68 "mode": "off" 69 } 70 }, 71 "mappings": [], 72 "thresholds": { 73 "mode": "absolute", 74 "steps": [ 75 { 76 "color": "green", 77 "value": null 78 }, 79 { 80 "color": "red", 81 "value": 80 82 } 83 ] 84 } 85 }, 86 "overrides": [ 87 { 88 "__systemRef": "hideSeriesFrom", 89 "matcher": { 90 "id": "byNames", 91 "options": { 92 "mode": "exclude", 93 "names": [ 94 "count" 95 ], 96 "prefix": "All except:", 97 "readOnly": true 98 } 99 }, 100 "properties": [ 101 { 102 "id": "custom.hideFrom", 103 "value": { 104 "legend": false, 105 "tooltip": false, 106 "viz": true 107 } 108 } 109 ] 110 } 111 ] 112 }, 113 "gridPos": { 114 "h": 9, 115 "w": 12, 116 "x": 0, 117 "y": 0 118 }, 119 "id": 2, 120 "options": { 121 "legend": { 122 "calcs": [], 123 "displayMode": "list", 124 "placement": "bottom", 125 "showLegend": true 126 }, 127 "tooltip": { 128 "mode": "single", 129 "sort": "none" 130 } 131 }, 132 "targets": [ 133 { 134 "datasource": { 135 "type": "postgres", 136 "uid": "P51543FE1D179F612" 137 }, 138 "format": "time_series", 139 "group": [], 140 "hide": false, 141 "metricColumn": "none", 142 "rawQuery": true, 143 "rawSql": "SELECT\n \"time\" AS \"time\",\n count - lag(count) OVER (ORDER BY \"time\") AS count\nFROM jsonrpc_request_duration\nWHERE\n $__timeFilter(\"time\")\nORDER BY 1", 144 "refId": "A", 145 "select": [ 146 [ 147 { 148 "params": [ 149 "sum" 150 ], 151 "type": "column" 152 } 153 ], 154 [ 155 { 156 "params": [ 157 "count" 158 ], 159 "type": "column" 160 } 161 ] 162 ], 163 "table": "jsonrpc_request_duration", 164 "timeColumn": "\"time\"", 165 "timeColumnType": "timestamp", 166 "where": [ 167 { 168 "name": "$__timeFilter", 169 "params": [], 170 "type": "macro" 171 } 172 ] 173 } 174 ], 175 "title": "jsonrpc_request_count", 176 "transformations": [], 177 "type": "timeseries" 178 }, 179 { 180 "datasource": { 181 "type": "postgres", 182 "uid": "P51543FE1D179F612" 183 }, 184 "fieldConfig": { 185 "defaults": { 186 "color": { 187 "mode": "palette-classic" 188 }, 189 "custom": { 190 "axisCenteredZero": false, 191 "axisColorMode": "text", 192 "axisLabel": "", 193 "axisPlacement": "auto", 194 "barAlignment": 0, 195 "drawStyle": "line", 196 "fillOpacity": 0, 197 "gradientMode": "none", 198 "hideFrom": { 199 "legend": false, 200 "tooltip": false, 201 "viz": false 202 }, 203 "lineInterpolation": "linear", 204 "lineWidth": 1, 205 "pointSize": 5, 206 "scaleDistribution": { 207 "type": "linear" 208 }, 209 "showPoints": "auto", 210 "spanNulls": false, 211 "stacking": { 212 "group": "A", 213 "mode": "none" 214 }, 215 "thresholdsStyle": { 216 "mode": "off" 217 } 218 }, 219 "mappings": [], 220 "thresholds": { 221 "mode": "absolute", 222 "steps": [ 223 { 224 "color": "green", 225 "value": null 226 }, 227 { 228 "color": "red", 229 "value": 80 230 } 231 ] 232 } 233 }, 234 "overrides": [ 235 { 236 "__systemRef": "hideSeriesFrom", 237 "matcher": { 238 "id": "byNames", 239 "options": { 240 "mode": "exclude", 241 "names": [ 242 "C" 243 ], 244 "prefix": "All except:", 245 "readOnly": true 246 } 247 }, 248 "properties": [ 249 { 250 "id": "custom.hideFrom", 251 "value": { 252 "legend": false, 253 "tooltip": false, 254 "viz": true 255 } 256 } 257 ] 258 } 259 ] 260 }, 261 "gridPos": { 262 "h": 9, 263 "w": 12, 264 "x": 12, 265 "y": 0 266 }, 267 "id": 3, 268 "options": { 269 "legend": { 270 "calcs": [], 271 "displayMode": "list", 272 "placement": "bottom", 273 "showLegend": true 274 }, 275 "tooltip": { 276 "mode": "single", 277 "sort": "none" 278 } 279 }, 280 "targets": [ 281 { 282 "datasource": { 283 "type": "postgres", 284 "uid": "P51543FE1D179F612" 285 }, 286 "format": "time_series", 287 "group": [], 288 "hide": true, 289 "metricColumn": "none", 290 "rawQuery": true, 291 "rawSql": "SELECT\n \"time\" AS \"time\",\n count - lag(count) OVER (ORDER BY \"time\") AS count\nFROM jsonrpc_request_duration\nWHERE\n $__timeFilter(\"time\")\nORDER BY 1", 292 "refId": "A", 293 "select": [ 294 [ 295 { 296 "params": [ 297 "sum" 298 ], 299 "type": "column" 300 } 301 ], 302 [ 303 { 304 "params": [ 305 "count" 306 ], 307 "type": "column" 308 } 309 ] 310 ], 311 "table": "jsonrpc_request_duration", 312 "timeColumn": "\"time\"", 313 "timeColumnType": "timestamp", 314 "where": [ 315 { 316 "name": "$__timeFilter", 317 "params": [], 318 "type": "macro" 319 } 320 ] 321 }, 322 { 323 "datasource": { 324 "type": "postgres", 325 "uid": "P51543FE1D179F612" 326 }, 327 "format": "time_series", 328 "group": [], 329 "hide": true, 330 "metricColumn": "none", 331 "rawQuery": true, 332 "rawSql": "SELECT\n \"time\" AS \"time\",\n sum - lag(sum) OVER (ORDER BY \"time\") AS sum\nFROM jsonrpc_request_duration\nWHERE\n $__timeFilter(\"time\")\nORDER BY 1", 333 "refId": "B", 334 "select": [ 335 [ 336 { 337 "params": [ 338 "usage_percent" 339 ], 340 "type": "column" 341 } 342 ] 343 ], 344 "table": "docker_container_cpu", 345 "timeColumn": "\"time\"", 346 "timeColumnType": "timestamp", 347 "where": [ 348 { 349 "name": "$__timeFilter", 350 "params": [], 351 "type": "macro" 352 } 353 ] 354 }, 355 { 356 "datasource": { 357 "name": "Expression", 358 "type": "__expr__", 359 "uid": "__expr__" 360 }, 361 "expression": "$B/$A", 362 "hide": false, 363 "refId": "C", 364 "type": "math" 365 } 366 ], 367 "title": "jsonrpc_request_duration", 368 "transformations": [], 369 "type": "timeseries" 370 } 371 ], 372 "refresh": false, 373 "schemaVersion": 37, 374 "style": "dark", 375 "tags": [], 376 "templating": { 377 "list": [] 378 }, 379 "time": { 380 "from": "now-12h", 381 "to": "now" 382 }, 383 "timepicker": {}, 384 "timezone": "", 385 "title": "Node metrics", 386 "uid": "g3kco8d4k", 387 "version": 2, 388 "weekStart": "" 389 }