My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: realign grafana dashboard

+1019 -679
+1019 -679
modules/server/grafana-dashboard.json
··· 3 3 "list": [ 4 4 { 5 5 "builtIn": 1, 6 - "datasource": { 7 - "type": "grafana", 8 - "uid": "-- Grafana --" 9 - }, 6 + "datasource": { "type": "grafana", "uid": "-- Grafana --" }, 10 7 "enable": true, 11 8 "hide": true, 12 9 "iconColor": "rgba(0, 211, 255, 1)", ··· 23 20 "panels": [ 24 21 { 25 22 "collapsed": false, 26 - "gridPos": { 27 - "h": 1, 28 - "w": 24, 29 - "x": 0, 30 - "y": 0 31 - }, 23 + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, 32 24 "id": 100, 33 25 "panels": [], 34 26 "title": "System", 35 27 "type": "row" 36 28 }, 29 + 37 30 { 38 31 "datasource": "Prometheus", 39 32 "fieldConfig": { 40 33 "defaults": { 41 - "color": { 42 - "mode": "thresholds" 43 - }, 34 + "color": { "mode": "thresholds" }, 44 35 "mappings": [], 45 36 "max": 100, 46 37 "min": 0, 47 38 "thresholds": { 48 39 "mode": "absolute", 49 40 "steps": [ 50 - { 51 - "color": "green", 52 - "value": 0 53 - }, 54 - { 55 - "color": "yellow", 56 - "value": 70 57 - }, 58 - { 59 - "color": "red", 60 - "value": 90 61 - } 41 + { "color": "green", "value": 0 }, 42 + { "color": "yellow", "value": 70 }, 43 + { "color": "red", "value": 90 } 62 44 ] 63 45 }, 64 46 "unit": "percent" 65 47 }, 66 48 "overrides": [] 67 49 }, 68 - "gridPos": { 69 - "h": 6, 70 - "w": 4, 71 - "x": 0, 72 - "y": 1 73 - }, 50 + "gridPos": { "h": 6, "w": 4, "x": 0, "y": 1 }, 74 51 "id": 1, 75 52 "options": { 76 53 "minVizHeight": 75, 77 54 "minVizWidth": 75, 78 55 "orientation": "auto", 79 56 "reduceOptions": { 80 - "calcs": [ 81 - "lastNotNull" 82 - ], 57 + "calcs": ["lastNotNull"], 83 58 "fields": "", 84 59 "values": false 85 60 }, ··· 87 62 "showThresholdMarkers": true, 88 63 "sizing": "auto" 89 64 }, 90 - "pluginVersion": "12.3.3", 91 65 "targets": [ 92 66 { 93 67 "datasource": "Prometheus", ··· 99 73 "title": "CPU Usage", 100 74 "type": "gauge" 101 75 }, 76 + 102 77 { 103 78 "datasource": "Prometheus", 104 79 "fieldConfig": { 105 80 "defaults": { 106 - "color": { 107 - "mode": "thresholds" 108 - }, 81 + "color": { "mode": "thresholds" }, 109 82 "mappings": [], 110 83 "max": 100, 111 84 "min": 0, 112 85 "thresholds": { 113 86 "mode": "absolute", 114 87 "steps": [ 115 - { 116 - "color": "green", 117 - "value": 0 118 - }, 119 - { 120 - "color": "yellow", 121 - "value": 75 122 - }, 123 - { 124 - "color": "red", 125 - "value": 90 126 - } 88 + { "color": "green", "value": 0 }, 89 + { "color": "yellow", "value": 75 }, 90 + { "color": "red", "value": 90 } 127 91 ] 128 92 }, 129 93 "unit": "percent" 130 94 }, 131 95 "overrides": [] 132 96 }, 133 - "gridPos": { 134 - "h": 6, 135 - "w": 4, 136 - "x": 4, 137 - "y": 1 138 - }, 97 + "gridPos": { "h": 6, "w": 4, "x": 4, "y": 1 }, 139 98 "id": 2, 140 99 "options": { 141 100 "minVizHeight": 75, 142 101 "minVizWidth": 75, 143 102 "orientation": "auto", 144 103 "reduceOptions": { 145 - "calcs": [ 146 - "lastNotNull" 147 - ], 104 + "calcs": ["lastNotNull"], 148 105 "fields": "", 149 106 "values": false 150 107 }, ··· 152 109 "showThresholdMarkers": true, 153 110 "sizing": "auto" 154 111 }, 155 - "pluginVersion": "12.3.3", 156 112 "targets": [ 157 113 { 158 114 "datasource": "Prometheus", ··· 164 120 "title": "Memory Usage", 165 121 "type": "gauge" 166 122 }, 123 + 167 124 { 168 125 "datasource": "Prometheus", 169 126 "fieldConfig": { 170 127 "defaults": { 171 - "color": { 172 - "mode": "thresholds" 173 - }, 128 + "color": { "mode": "thresholds" }, 174 129 "mappings": [], 175 130 "max": 100, 176 131 "min": 0, 177 132 "thresholds": { 178 133 "mode": "absolute", 179 134 "steps": [ 180 - { 181 - "color": "green", 182 - "value": 0 183 - }, 184 - { 185 - "color": "yellow", 186 - "value": 75 187 - }, 188 - { 189 - "color": "red", 190 - "value": 90 191 - } 135 + { "color": "green", "value": 0 }, 136 + { "color": "yellow", "value": 75 }, 137 + { "color": "red", "value": 90 } 192 138 ] 193 139 }, 194 140 "unit": "percent" 195 141 }, 196 142 "overrides": [] 197 143 }, 198 - "gridPos": { 199 - "h": 6, 200 - "w": 4, 201 - "x": 8, 202 - "y": 1 203 - }, 144 + "gridPos": { "h": 6, "w": 4, "x": 8, "y": 1 }, 204 145 "id": 3, 205 146 "options": { 206 147 "minVizHeight": 75, 207 148 "minVizWidth": 75, 208 149 "orientation": "auto", 209 150 "reduceOptions": { 210 - "calcs": [ 211 - "lastNotNull" 212 - ], 151 + "calcs": ["lastNotNull"], 213 152 "fields": "", 214 153 "values": false 215 154 }, ··· 217 156 "showThresholdMarkers": true, 218 157 "sizing": "auto" 219 158 }, 220 - "pluginVersion": "12.3.3", 221 159 "targets": [ 222 160 { 223 161 "datasource": "Prometheus", ··· 229 167 "title": "Root Disk Usage", 230 168 "type": "gauge" 231 169 }, 170 + 232 171 { 233 172 "datasource": "Prometheus", 234 173 "fieldConfig": { 235 174 "defaults": { 236 - "color": { 237 - "mode": "thresholds" 238 - }, 175 + "color": { "mode": "thresholds" }, 239 176 "mappings": [], 240 177 "max": 100, 241 178 "min": 0, 242 179 "thresholds": { 243 180 "mode": "absolute", 244 181 "steps": [ 245 - { 246 - "color": "green", 247 - "value": 0 248 - }, 249 - { 250 - "color": "yellow", 251 - "value": 75 252 - }, 253 - { 254 - "color": "red", 255 - "value": 90 256 - } 182 + { "color": "green", "value": 0 }, 183 + { "color": "yellow", "value": 75 }, 184 + { "color": "red", "value": 90 } 257 185 ] 258 186 }, 259 187 "unit": "percent" 260 188 }, 261 189 "overrides": [] 262 190 }, 263 - "gridPos": { 264 - "h": 6, 265 - "w": 4, 266 - "x": 12, 267 - "y": 1 268 - }, 191 + "gridPos": { "h": 6, "w": 4, "x": 12, "y": 1 }, 269 192 "id": 4, 270 193 "options": { 271 194 "minVizHeight": 75, 272 195 "minVizWidth": 75, 273 196 "orientation": "auto", 274 197 "reduceOptions": { 275 - "calcs": [ 276 - "lastNotNull" 277 - ], 198 + "calcs": ["lastNotNull"], 278 199 "fields": "", 279 200 "values": false 280 201 }, ··· 282 203 "showThresholdMarkers": true, 283 204 "sizing": "auto" 284 205 }, 285 - "pluginVersion": "12.3.3", 286 206 "targets": [ 287 207 { 288 208 "datasource": "Prometheus", ··· 294 214 "title": "/srv Disk Usage", 295 215 "type": "gauge" 296 216 }, 217 + 297 218 { 298 219 "datasource": "Prometheus", 299 220 "fieldConfig": { 300 221 "defaults": { 301 - "color": { 302 - "mode": "thresholds" 303 - }, 222 + "color": { "mode": "thresholds" }, 304 223 "mappings": [], 305 224 "thresholds": { 306 225 "mode": "absolute", 307 - "steps": [ 308 - { 309 - "color": "green", 310 - "value": 0 311 - } 312 - ] 226 + "steps": [{ "color": "green", "value": 0 }] 313 227 }, 314 228 "unit": "s" 315 229 }, 316 230 "overrides": [] 317 231 }, 318 - "gridPos": { 319 - "h": 3, 320 - "w": 4, 321 - "x": 16, 322 - "y": 1 323 - }, 232 + "gridPos": { "h": 2, "w": 4, "x": 16, "y": 1 }, 324 233 "id": 5, 325 234 "options": { 326 235 "colorMode": "value", 327 236 "graphMode": "none", 328 237 "justifyMode": "auto", 329 238 "orientation": "auto", 330 - "percentChangeColorMode": "standard", 331 239 "reduceOptions": { 332 - "calcs": [ 333 - "lastNotNull" 334 - ], 240 + "calcs": ["lastNotNull"], 335 241 "fields": "", 336 242 "values": false 337 243 }, 338 - "showPercentChange": false, 339 244 "textMode": "auto", 340 245 "wideLayout": true 341 246 }, 342 - "pluginVersion": "12.3.3", 343 247 "targets": [ 344 248 { 345 249 "datasource": "Prometheus", ··· 351 255 "title": "Uptime", 352 256 "type": "stat" 353 257 }, 258 + 354 259 { 355 260 "datasource": "Prometheus", 356 261 "fieldConfig": { 357 262 "defaults": { 358 - "color": { 359 - "mode": "thresholds" 360 - }, 263 + "color": { "mode": "thresholds" }, 264 + "decimals": 2, 361 265 "mappings": [], 362 266 "thresholds": { 363 267 "mode": "absolute", 364 268 "steps": [ 365 - { 366 - "color": "green", 367 - "value": 0 368 - } 269 + { "color": "green", "value": 0 }, 270 + { "color": "yellow", "value": 4 }, 271 + { "color": "red", "value": 8 } 369 272 ] 370 273 }, 371 - "unit": "bytes" 274 + "unit": "short" 372 275 }, 373 276 "overrides": [] 374 277 }, 375 - "gridPos": { 376 - "h": 6, 377 - "w": 4, 378 - "x": 20, 379 - "y": 1 380 - }, 381 - "id": 7, 278 + "gridPos": { "h": 2, "w": 4, "x": 16, "y": 3 }, 279 + "id": 6, 382 280 "options": { 383 - "colorMode": "value", 384 - "graphMode": "none", 281 + "colorMode": "background", 282 + "graphMode": "area", 385 283 "justifyMode": "auto", 386 - "orientation": "vertical", 387 - "percentChangeColorMode": "standard", 284 + "orientation": "auto", 388 285 "reduceOptions": { 389 - "calcs": [ 390 - "lastNotNull" 391 - ], 286 + "calcs": ["lastNotNull"], 392 287 "fields": "", 393 288 "values": false 394 289 }, 395 - "showPercentChange": false, 396 290 "textMode": "auto", 397 291 "wideLayout": true 398 292 }, 399 - "pluginVersion": "12.3.3", 400 293 "targets": [ 401 294 { 402 295 "datasource": "Prometheus", 403 - "expr": "node_memory_MemTotal_bytes", 404 - "legendFormat": "Total", 296 + "expr": "node_load15", 297 + "legendFormat": "Load 15m", 405 298 "refId": "A" 299 + } 300 + ], 301 + "title": "Load Average (15m)", 302 + "type": "stat" 303 + }, 304 + 305 + { 306 + "datasource": "Prometheus", 307 + "fieldConfig": { 308 + "defaults": { 309 + "color": { "mode": "thresholds" }, 310 + "mappings": [ 311 + { 312 + "options": { 313 + "0": { "color": "green", "index": 0, "text": "OK" } 314 + }, 315 + "type": "value" 316 + } 317 + ], 318 + "thresholds": { 319 + "mode": "absolute", 320 + "steps": [ 321 + { "color": "green", "value": 0 }, 322 + { "color": "red", "value": 1 } 323 + ] 324 + }, 325 + "unit": "short" 406 326 }, 327 + "overrides": [] 328 + }, 329 + "gridPos": { "h": 2, "w": 4, "x": 16, "y": 5 }, 330 + "id": 8, 331 + "options": { 332 + "colorMode": "background", 333 + "graphMode": "none", 334 + "justifyMode": "auto", 335 + "orientation": "auto", 336 + "reduceOptions": { 337 + "calcs": ["lastNotNull"], 338 + "fields": "", 339 + "values": false 340 + }, 341 + "textMode": "auto", 342 + "wideLayout": true 343 + }, 344 + "targets": [ 407 345 { 408 346 "datasource": "Prometheus", 409 - "expr": "node_memory_MemAvailable_bytes", 410 - "legendFormat": "Available", 411 - "refId": "B" 347 + "expr": "sum(node_systemd_unit_state{state=\"failed\"}) or vector(0)", 348 + "legendFormat": "Failed units", 349 + "refId": "A" 412 350 } 413 351 ], 414 - "title": "Memory", 352 + "title": "Failed Systemd Units", 415 353 "type": "stat" 416 354 }, 355 + 417 356 { 418 357 "datasource": "Prometheus", 419 358 "fieldConfig": { 420 359 "defaults": { 421 - "color": { 422 - "mode": "thresholds" 423 - }, 424 - "decimals": 2, 360 + "color": { "mode": "thresholds" }, 425 361 "mappings": [], 426 362 "thresholds": { 427 363 "mode": "absolute", 428 364 "steps": [ 429 - { 430 - "color": "green", 431 - "value": 0 432 - }, 433 - { 434 - "color": "yellow", 435 - "value": 4 436 - }, 437 - { 438 - "color": "red", 439 - "value": 8 440 - } 365 + { "color": "green", "value": 0 }, 366 + { "color": "yellow", "value": 70 }, 367 + { "color": "red", "value": 90 } 441 368 ] 442 369 }, 443 - "unit": "short" 370 + "unit": "celsius" 444 371 }, 445 372 "overrides": [] 446 373 }, 447 - "gridPos": { 448 - "h": 3, 449 - "w": 4, 450 - "x": 16, 451 - "y": 4 452 - }, 453 - "id": 6, 374 + "gridPos": { "h": 3, "w": 4, "x": 20, "y": 1 }, 375 + "id": 9, 454 376 "options": { 455 377 "colorMode": "background", 456 378 "graphMode": "area", 457 379 "justifyMode": "auto", 458 380 "orientation": "auto", 459 - "percentChangeColorMode": "standard", 460 381 "reduceOptions": { 461 - "calcs": [ 462 - "lastNotNull" 463 - ], 382 + "calcs": ["lastNotNull"], 464 383 "fields": "", 465 384 "values": false 466 385 }, 467 - "showPercentChange": false, 468 386 "textMode": "auto", 469 387 "wideLayout": true 470 388 }, 471 - "pluginVersion": "12.3.3", 472 389 "targets": [ 473 390 { 474 391 "datasource": "Prometheus", 475 - "expr": "node_load15", 476 - "legendFormat": "Load 15m", 392 + "expr": "max(node_hwmon_temp_celsius)", 393 + "legendFormat": "Max temp", 477 394 "refId": "A" 478 395 } 479 396 ], 480 - "title": "Load Average (15m)", 397 + "title": "CPU Temperature", 481 398 "type": "stat" 482 399 }, 400 + 483 401 { 484 402 "datasource": "Prometheus", 485 403 "fieldConfig": { 486 404 "defaults": { 487 - "color": { 488 - "mode": "palette-classic" 405 + "color": { "mode": "thresholds" }, 406 + "mappings": [], 407 + "thresholds": { 408 + "mode": "absolute", 409 + "steps": [{ "color": "green", "value": 0 }] 489 410 }, 411 + "unit": "bytes" 412 + }, 413 + "overrides": [] 414 + }, 415 + "gridPos": { "h": 3, "w": 4, "x": 20, "y": 4 }, 416 + "id": 7, 417 + "options": { 418 + "colorMode": "value", 419 + "graphMode": "none", 420 + "justifyMode": "auto", 421 + "orientation": "vertical", 422 + "reduceOptions": { 423 + "calcs": ["lastNotNull"], 424 + "fields": "", 425 + "values": false 426 + }, 427 + "textMode": "auto", 428 + "wideLayout": true 429 + }, 430 + "targets": [ 431 + { 432 + "datasource": "Prometheus", 433 + "expr": "node_memory_MemTotal_bytes", 434 + "legendFormat": "Total", 435 + "refId": "A" 436 + }, 437 + { 438 + "datasource": "Prometheus", 439 + "expr": "node_memory_MemAvailable_bytes", 440 + "legendFormat": "Available", 441 + "refId": "B" 442 + } 443 + ], 444 + "title": "Memory", 445 + "type": "stat" 446 + }, 447 + 448 + { 449 + "datasource": "Prometheus", 450 + "fieldConfig": { 451 + "defaults": { 452 + "color": { "mode": "palette-classic" }, 490 453 "custom": { 491 454 "axisBorderShow": false, 492 455 "axisCenteredZero": false, ··· 494 457 "axisLabel": "", 495 458 "axisPlacement": "auto", 496 459 "barAlignment": 0, 497 - "barWidthFactor": 0.6, 498 460 "drawStyle": "line", 499 461 "fillOpacity": 10, 500 462 "gradientMode": "none", 501 - "hideFrom": { 502 - "legend": false, 503 - "tooltip": false, 504 - "viz": false 505 - }, 463 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 506 464 "insertNulls": false, 507 465 "lineInterpolation": "linear", 508 466 "lineWidth": 2, 509 467 "pointSize": 5, 510 - "scaleDistribution": { 511 - "type": "linear" 512 - }, 468 + "scaleDistribution": { "type": "linear" }, 513 469 "showPoints": "auto", 514 - "showValues": false, 515 470 "spanNulls": false, 516 - "stacking": { 517 - "group": "A", 518 - "mode": "none" 519 - }, 520 - "thresholdsStyle": { 521 - "mode": "off" 522 - } 471 + "stacking": { "group": "A", "mode": "none" }, 472 + "thresholdsStyle": { "mode": "off" } 523 473 }, 524 474 "mappings": [], 525 475 "max": 100, ··· 527 477 "thresholds": { 528 478 "mode": "absolute", 529 479 "steps": [ 530 - { 531 - "color": "green", 532 - "value": 0 533 - }, 534 - { 535 - "color": "red", 536 - "value": 80 537 - } 480 + { "color": "green", "value": 0 }, 481 + { "color": "red", "value": 80 } 538 482 ] 539 483 }, 540 484 "unit": "percent" 541 485 }, 542 486 "overrides": [] 543 487 }, 544 - "gridPos": { 545 - "h": 8, 546 - "w": 12, 547 - "x": 0, 548 - "y": 7 549 - }, 488 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 7 }, 550 489 "id": 10, 551 490 "options": { 552 491 "legend": { ··· 555 494 "placement": "bottom", 556 495 "showLegend": true 557 496 }, 558 - "tooltip": { 559 - "hideZeros": false, 560 - "mode": "multi", 561 - "sort": "none" 562 - } 497 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 563 498 }, 564 - "pluginVersion": "12.3.3", 565 499 "targets": [ 566 500 { 567 501 "datasource": "Prometheus", ··· 573 507 "title": "CPU Usage Over Time", 574 508 "type": "timeseries" 575 509 }, 510 + 576 511 { 577 512 "datasource": "Prometheus", 578 513 "fieldConfig": { 579 514 "defaults": { 580 - "color": { 581 - "mode": "palette-classic" 582 - }, 515 + "color": { "mode": "palette-classic" }, 583 516 "custom": { 584 517 "axisBorderShow": false, 585 518 "axisCenteredZero": false, ··· 587 520 "axisLabel": "", 588 521 "axisPlacement": "auto", 589 522 "barAlignment": 0, 590 - "barWidthFactor": 0.6, 591 523 "drawStyle": "line", 592 524 "fillOpacity": 10, 593 525 "gradientMode": "none", 594 - "hideFrom": { 595 - "legend": false, 596 - "tooltip": false, 597 - "viz": false 598 - }, 526 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 599 527 "insertNulls": false, 600 528 "lineInterpolation": "linear", 601 529 "lineWidth": 2, 602 530 "pointSize": 5, 603 - "scaleDistribution": { 604 - "type": "linear" 605 - }, 531 + "scaleDistribution": { "type": "linear" }, 606 532 "showPoints": "auto", 607 - "showValues": false, 608 533 "spanNulls": false, 609 - "stacking": { 610 - "group": "A", 611 - "mode": "none" 612 - }, 613 - "thresholdsStyle": { 614 - "mode": "off" 615 - } 534 + "stacking": { "group": "A", "mode": "none" }, 535 + "thresholdsStyle": { "mode": "off" } 616 536 }, 617 537 "mappings": [], 618 538 "min": 0, 619 539 "thresholds": { 620 540 "mode": "absolute", 621 541 "steps": [ 622 - { 623 - "color": "green", 624 - "value": 0 625 - }, 626 - { 627 - "color": "red", 628 - "value": 80 629 - } 542 + { "color": "green", "value": 0 }, 543 + { "color": "red", "value": 80 } 630 544 ] 631 545 }, 632 546 "unit": "bytes" 633 547 }, 634 548 "overrides": [] 635 549 }, 636 - "gridPos": { 637 - "h": 8, 638 - "w": 12, 639 - "x": 12, 640 - "y": 7 641 - }, 550 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 7 }, 642 551 "id": 11, 643 552 "options": { 644 553 "legend": { ··· 647 556 "placement": "bottom", 648 557 "showLegend": true 649 558 }, 650 - "tooltip": { 651 - "hideZeros": false, 652 - "mode": "multi", 653 - "sort": "none" 654 - } 559 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 655 560 }, 656 - "pluginVersion": "12.3.3", 657 561 "targets": [ 658 562 { 659 563 "datasource": "Prometheus", ··· 677 581 "title": "Memory Over Time", 678 582 "type": "timeseries" 679 583 }, 584 + 680 585 { 681 - "collapsed": false, 682 - "gridPos": { 683 - "h": 1, 684 - "w": 24, 685 - "x": 0, 686 - "y": 15 586 + "datasource": "Prometheus", 587 + "fieldConfig": { 588 + "defaults": { 589 + "color": { "mode": "palette-classic" }, 590 + "custom": { 591 + "axisBorderShow": false, 592 + "axisCenteredZero": false, 593 + "axisColorMode": "text", 594 + "axisLabel": "", 595 + "axisPlacement": "auto", 596 + "barAlignment": 0, 597 + "drawStyle": "line", 598 + "fillOpacity": 10, 599 + "gradientMode": "none", 600 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 601 + "insertNulls": false, 602 + "lineInterpolation": "linear", 603 + "lineWidth": 2, 604 + "pointSize": 5, 605 + "scaleDistribution": { "type": "linear" }, 606 + "showPoints": "auto", 607 + "spanNulls": false, 608 + "stacking": { "group": "A", "mode": "none" }, 609 + "thresholdsStyle": { "mode": "off" } 610 + }, 611 + "mappings": [], 612 + "min": 0, 613 + "thresholds": { 614 + "mode": "absolute", 615 + "steps": [{ "color": "green", "value": 0 }] 616 + }, 617 + "unit": "bytes" 618 + }, 619 + "overrides": [] 687 620 }, 621 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 15 }, 622 + "id": 12, 623 + "options": { 624 + "legend": { 625 + "calcs": [], 626 + "displayMode": "list", 627 + "placement": "bottom", 628 + "showLegend": true 629 + }, 630 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 631 + }, 632 + "targets": [ 633 + { 634 + "datasource": "Prometheus", 635 + "expr": "node_filesystem_avail_bytes{mountpoint=\"/srv\",fstype!~\"tmpfs|overlay\"}", 636 + "legendFormat": "/srv free", 637 + "refId": "A" 638 + }, 639 + { 640 + "datasource": "Prometheus", 641 + "expr": "node_filesystem_size_bytes{mountpoint=\"/srv\",fstype!~\"tmpfs|overlay\"}", 642 + "legendFormat": "/srv total", 643 + "refId": "B" 644 + } 645 + ], 646 + "title": "/srv Disk Space Over Time", 647 + "type": "timeseries" 648 + }, 649 + 650 + { 651 + "datasource": "Prometheus", 652 + "fieldConfig": { 653 + "defaults": { 654 + "color": { "mode": "palette-classic" }, 655 + "custom": { 656 + "axisBorderShow": false, 657 + "axisCenteredZero": false, 658 + "axisColorMode": "text", 659 + "axisLabel": "", 660 + "axisPlacement": "auto", 661 + "barAlignment": 0, 662 + "drawStyle": "line", 663 + "fillOpacity": 10, 664 + "gradientMode": "none", 665 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 666 + "insertNulls": false, 667 + "lineInterpolation": "linear", 668 + "lineWidth": 2, 669 + "pointSize": 5, 670 + "scaleDistribution": { "type": "linear" }, 671 + "showPoints": "auto", 672 + "spanNulls": false, 673 + "stacking": { "group": "A", "mode": "none" }, 674 + "thresholdsStyle": { "mode": "off" } 675 + }, 676 + "mappings": [], 677 + "min": 0, 678 + "thresholds": { 679 + "mode": "absolute", 680 + "steps": [{ "color": "green", "value": 0 }] 681 + }, 682 + "unit": "bytes" 683 + }, 684 + "overrides": [] 685 + }, 686 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 15 }, 687 + "id": 13, 688 + "options": { 689 + "legend": { 690 + "calcs": [], 691 + "displayMode": "list", 692 + "placement": "bottom", 693 + "showLegend": true 694 + }, 695 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 696 + }, 697 + "targets": [ 698 + { 699 + "datasource": "Prometheus", 700 + "expr": "node_filesystem_avail_bytes{mountpoint=\"/\",fstype!~\"tmpfs|overlay\"}", 701 + "legendFormat": "/ free", 702 + "refId": "A" 703 + }, 704 + { 705 + "datasource": "Prometheus", 706 + "expr": "node_filesystem_size_bytes{mountpoint=\"/\",fstype!~\"tmpfs|overlay\"}", 707 + "legendFormat": "/ total", 708 + "refId": "B" 709 + } 710 + ], 711 + "title": "Root Disk Space Over Time", 712 + "type": "timeseries" 713 + }, 714 + 715 + { 716 + "collapsed": false, 717 + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, 688 718 "id": 101, 689 719 "panels": [], 690 720 "title": "Network", 691 721 "type": "row" 692 722 }, 723 + 693 724 { 694 725 "datasource": "Prometheus", 695 726 "fieldConfig": { 696 727 "defaults": { 697 - "color": { 698 - "mode": "palette-classic" 699 - }, 728 + "color": { "mode": "palette-classic" }, 700 729 "custom": { 701 730 "axisBorderShow": false, 702 731 "axisCenteredZero": false, ··· 704 733 "axisLabel": "", 705 734 "axisPlacement": "auto", 706 735 "barAlignment": 0, 707 - "barWidthFactor": 0.6, 708 736 "drawStyle": "line", 709 737 "fillOpacity": 10, 710 738 "gradientMode": "none", 711 - "hideFrom": { 712 - "legend": false, 713 - "tooltip": false, 714 - "viz": false 715 - }, 739 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 716 740 "insertNulls": false, 717 741 "lineInterpolation": "linear", 718 742 "lineWidth": 2, 719 743 "pointSize": 5, 720 - "scaleDistribution": { 721 - "type": "linear" 722 - }, 744 + "scaleDistribution": { "type": "linear" }, 723 745 "showPoints": "auto", 724 - "showValues": false, 725 746 "spanNulls": false, 726 - "stacking": { 727 - "group": "A", 728 - "mode": "none" 729 - }, 730 - "thresholdsStyle": { 731 - "mode": "off" 732 - } 747 + "stacking": { "group": "A", "mode": "none" }, 748 + "thresholdsStyle": { "mode": "off" } 733 749 }, 734 750 "mappings": [], 735 751 "thresholds": { 736 752 "mode": "absolute", 737 - "steps": [ 738 - { 739 - "color": "green", 740 - "value": 0 741 - }, 742 - { 743 - "color": "red", 744 - "value": 80 745 - } 746 - ] 753 + "steps": [{ "color": "green", "value": 0 }] 747 754 }, 748 755 "unit": "Bps" 749 756 }, 750 757 "overrides": [ 751 758 { 752 - "matcher": { 753 - "id": "byName", 754 - "options": "Transmit" 755 - }, 756 - "properties": [ 757 - { 758 - "id": "custom.transform", 759 - "value": "negative-Y" 760 - } 761 - ] 759 + "matcher": { "id": "byName", "options": "Transmit" }, 760 + "properties": [{ "id": "custom.transform", "value": "negative-Y" }] 762 761 } 763 762 ] 764 763 }, 765 - "gridPos": { 766 - "h": 8, 767 - "w": 12, 768 - "x": 0, 769 - "y": 16 770 - }, 764 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 24 }, 771 765 "id": 20, 772 766 "options": { 773 767 "legend": { ··· 776 770 "placement": "bottom", 777 771 "showLegend": true 778 772 }, 779 - "tooltip": { 780 - "hideZeros": false, 781 - "mode": "multi", 782 - "sort": "none" 783 - } 773 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 784 774 }, 785 - "pluginVersion": "12.3.3", 786 775 "targets": [ 787 776 { 788 777 "datasource": "Prometheus", 789 - "editorMode": "builder", 790 - "expr": "rate(node_network_receive_bytes_total{device=\"wlp0s20f3\"}[5m])", 778 + "expr": "rate(node_network_receive_bytes_total{device=\"eth0\"}[5m])", 791 779 "legendFormat": "Receive", 792 - "range": true, 793 780 "refId": "A" 794 781 }, 795 782 { 796 783 "datasource": "Prometheus", 797 - "editorMode": "builder", 798 784 "expr": "rate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])", 799 785 "legendFormat": "Transmit", 800 - "range": true, 801 786 "refId": "B" 802 787 } 803 788 ], 804 789 "title": "Network Traffic (eth0)", 805 790 "type": "timeseries" 806 791 }, 792 + 807 793 { 808 794 "datasource": "Prometheus", 809 795 "fieldConfig": { 810 796 "defaults": { 811 - "color": { 812 - "mode": "palette-classic" 813 - }, 797 + "color": { "mode": "palette-classic" }, 814 798 "custom": { 815 799 "axisBorderShow": false, 816 800 "axisCenteredZero": false, ··· 818 802 "axisLabel": "", 819 803 "axisPlacement": "auto", 820 804 "barAlignment": 0, 821 - "barWidthFactor": 0.6, 822 805 "drawStyle": "line", 823 806 "fillOpacity": 10, 824 807 "gradientMode": "none", 825 - "hideFrom": { 826 - "legend": false, 827 - "tooltip": false, 828 - "viz": false 829 - }, 808 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 830 809 "insertNulls": false, 831 810 "lineInterpolation": "linear", 832 811 "lineWidth": 2, 833 812 "pointSize": 5, 834 - "scaleDistribution": { 835 - "type": "linear" 836 - }, 813 + "scaleDistribution": { "type": "linear" }, 837 814 "showPoints": "auto", 838 - "showValues": false, 839 815 "spanNulls": false, 840 - "stacking": { 841 - "group": "A", 842 - "mode": "none" 843 - }, 844 - "thresholdsStyle": { 845 - "mode": "off" 846 - } 816 + "stacking": { "group": "A", "mode": "none" }, 817 + "thresholdsStyle": { "mode": "off" } 847 818 }, 848 819 "mappings": [], 849 820 "thresholds": { 850 821 "mode": "absolute", 851 - "steps": [ 852 - { 853 - "color": "green", 854 - "value": 0 855 - }, 856 - { 857 - "color": "red", 858 - "value": 80 859 - } 860 - ] 822 + "steps": [{ "color": "green", "value": 0 }] 861 823 }, 862 824 "unit": "Bps" 863 825 }, 864 826 "overrides": [ 865 827 { 866 - "matcher": { 867 - "id": "byName", 868 - "options": "Transmit" 869 - }, 870 - "properties": [ 871 - { 872 - "id": "custom.transform", 873 - "value": "negative-Y" 874 - } 875 - ] 828 + "matcher": { "id": "byName", "options": "Transmit" }, 829 + "properties": [{ "id": "custom.transform", "value": "negative-Y" }] 876 830 } 877 831 ] 878 832 }, 879 - "gridPos": { 880 - "h": 8, 881 - "w": 12, 882 - "x": 12, 883 - "y": 16 884 - }, 833 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 24 }, 885 834 "id": 21, 886 835 "options": { 887 836 "legend": { ··· 890 839 "placement": "bottom", 891 840 "showLegend": true 892 841 }, 893 - "tooltip": { 894 - "hideZeros": false, 895 - "mode": "multi", 896 - "sort": "none" 897 - } 842 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 898 843 }, 899 - "pluginVersion": "12.3.3", 900 844 "targets": [ 901 845 { 902 846 "datasource": "Prometheus", ··· 914 858 "title": "Network Traffic (tailscale0)", 915 859 "type": "timeseries" 916 860 }, 861 + 917 862 { 918 863 "collapsed": false, 919 - "gridPos": { 920 - "h": 1, 921 - "w": 24, 922 - "x": 0, 923 - "y": 24 924 - }, 864 + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 32 }, 925 865 "id": 102, 926 866 "panels": [], 927 867 "title": "Disk I/O", 928 868 "type": "row" 929 869 }, 870 + 930 871 { 931 872 "datasource": "Prometheus", 932 873 "fieldConfig": { 933 874 "defaults": { 934 - "color": { 935 - "mode": "palette-classic" 936 - }, 875 + "color": { "mode": "palette-classic" }, 937 876 "custom": { 938 877 "axisBorderShow": false, 939 878 "axisCenteredZero": false, ··· 941 880 "axisLabel": "", 942 881 "axisPlacement": "auto", 943 882 "barAlignment": 0, 944 - "barWidthFactor": 0.6, 945 883 "drawStyle": "line", 946 884 "fillOpacity": 10, 947 885 "gradientMode": "none", 948 - "hideFrom": { 949 - "legend": false, 950 - "tooltip": false, 951 - "viz": false 952 - }, 886 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 953 887 "insertNulls": false, 954 888 "lineInterpolation": "linear", 955 889 "lineWidth": 2, 956 890 "pointSize": 5, 957 - "scaleDistribution": { 958 - "type": "linear" 959 - }, 891 + "scaleDistribution": { "type": "linear" }, 960 892 "showPoints": "auto", 961 - "showValues": false, 962 893 "spanNulls": false, 963 - "stacking": { 964 - "group": "A", 965 - "mode": "none" 966 - }, 967 - "thresholdsStyle": { 968 - "mode": "off" 969 - } 894 + "stacking": { "group": "A", "mode": "none" }, 895 + "thresholdsStyle": { "mode": "off" } 970 896 }, 971 897 "mappings": [], 972 898 "thresholds": { 973 899 "mode": "absolute", 974 - "steps": [ 975 - { 976 - "color": "green", 977 - "value": 0 978 - }, 979 - { 980 - "color": "red", 981 - "value": 80 982 - } 983 - ] 900 + "steps": [{ "color": "green", "value": 0 }] 984 901 }, 985 902 "unit": "Bps" 986 903 }, 987 904 "overrides": [ 988 905 { 989 - "matcher": { 990 - "id": "byName", 991 - "options": "Write" 992 - }, 993 - "properties": [ 994 - { 995 - "id": "custom.transform", 996 - "value": "negative-Y" 997 - } 998 - ] 906 + "matcher": { "id": "byName", "options": "Write" }, 907 + "properties": [{ "id": "custom.transform", "value": "negative-Y" }] 999 908 } 1000 909 ] 1001 910 }, 1002 - "gridPos": { 1003 - "h": 8, 1004 - "w": 12, 1005 - "x": 0, 1006 - "y": 25 1007 - }, 911 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 33 }, 1008 912 "id": 30, 1009 913 "options": { 1010 914 "legend": { ··· 1013 917 "placement": "bottom", 1014 918 "showLegend": true 1015 919 }, 1016 - "tooltip": { 1017 - "hideZeros": false, 1018 - "mode": "multi", 1019 - "sort": "none" 1020 - } 920 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1021 921 }, 1022 - "pluginVersion": "12.3.3", 1023 922 "targets": [ 1024 923 { 1025 924 "datasource": "Prometheus", ··· 1037 936 "title": "Disk I/O Throughput", 1038 937 "type": "timeseries" 1039 938 }, 939 + 1040 940 { 1041 941 "datasource": "Prometheus", 1042 942 "fieldConfig": { 1043 943 "defaults": { 1044 - "color": { 1045 - "mode": "palette-classic" 1046 - }, 944 + "color": { "mode": "palette-classic" }, 1047 945 "custom": { 1048 946 "axisBorderShow": false, 1049 947 "axisCenteredZero": false, ··· 1051 949 "axisLabel": "", 1052 950 "axisPlacement": "auto", 1053 951 "barAlignment": 0, 1054 - "barWidthFactor": 0.6, 1055 952 "drawStyle": "line", 1056 953 "fillOpacity": 10, 1057 954 "gradientMode": "none", 1058 - "hideFrom": { 1059 - "legend": false, 1060 - "tooltip": false, 1061 - "viz": false 1062 - }, 955 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1063 956 "insertNulls": false, 1064 957 "lineInterpolation": "linear", 1065 958 "lineWidth": 2, 1066 959 "pointSize": 5, 1067 - "scaleDistribution": { 1068 - "type": "linear" 1069 - }, 960 + "scaleDistribution": { "type": "linear" }, 1070 961 "showPoints": "auto", 1071 - "showValues": false, 1072 962 "spanNulls": false, 1073 - "stacking": { 1074 - "group": "A", 1075 - "mode": "none" 1076 - }, 1077 - "thresholdsStyle": { 1078 - "mode": "off" 1079 - } 963 + "stacking": { "group": "A", "mode": "none" }, 964 + "thresholdsStyle": { "mode": "off" } 1080 965 }, 1081 966 "mappings": [], 1082 967 "thresholds": { 1083 968 "mode": "absolute", 1084 - "steps": [ 1085 - { 1086 - "color": "green", 1087 - "value": 0 1088 - }, 1089 - { 1090 - "color": "red", 1091 - "value": 80 1092 - } 1093 - ] 969 + "steps": [{ "color": "green", "value": 0 }] 1094 970 }, 1095 971 "unit": "ms" 1096 972 }, 1097 973 "overrides": [] 1098 974 }, 1099 - "gridPos": { 1100 - "h": 8, 1101 - "w": 12, 1102 - "x": 12, 1103 - "y": 25 1104 - }, 975 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 33 }, 1105 976 "id": 31, 1106 977 "options": { 1107 978 "legend": { ··· 1110 981 "placement": "bottom", 1111 982 "showLegend": true 1112 983 }, 1113 - "tooltip": { 1114 - "hideZeros": false, 1115 - "mode": "multi", 1116 - "sort": "none" 1117 - } 984 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1118 985 }, 1119 - "pluginVersion": "12.3.3", 1120 986 "targets": [ 1121 987 { 1122 988 "datasource": "Prometheus", ··· 1134 1000 "title": "Disk I/O Latency", 1135 1001 "type": "timeseries" 1136 1002 }, 1003 + 1137 1004 { 1138 - "collapsed": false, 1139 - "gridPos": { 1140 - "h": 1, 1141 - "w": 24, 1142 - "x": 0, 1143 - "y": 33 1005 + "datasource": "Prometheus", 1006 + "fieldConfig": { 1007 + "defaults": { 1008 + "color": { "mode": "palette-classic" }, 1009 + "custom": { 1010 + "axisBorderShow": false, 1011 + "axisCenteredZero": false, 1012 + "axisColorMode": "text", 1013 + "axisLabel": "", 1014 + "axisPlacement": "auto", 1015 + "barAlignment": 0, 1016 + "drawStyle": "line", 1017 + "fillOpacity": 10, 1018 + "gradientMode": "none", 1019 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1020 + "insertNulls": false, 1021 + "lineInterpolation": "linear", 1022 + "lineWidth": 2, 1023 + "pointSize": 5, 1024 + "scaleDistribution": { "type": "linear" }, 1025 + "showPoints": "auto", 1026 + "spanNulls": false, 1027 + "stacking": { "group": "A", "mode": "none" }, 1028 + "thresholdsStyle": { "mode": "off" } 1029 + }, 1030 + "mappings": [], 1031 + "min": 0, 1032 + "max": 100, 1033 + "thresholds": { 1034 + "mode": "absolute", 1035 + "steps": [{ "color": "green", "value": 0 }] 1036 + }, 1037 + "unit": "percent" 1038 + }, 1039 + "overrides": [] 1144 1040 }, 1041 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 41 }, 1042 + "id": 32, 1043 + "options": { 1044 + "legend": { 1045 + "calcs": [], 1046 + "displayMode": "list", 1047 + "placement": "bottom", 1048 + "showLegend": true 1049 + }, 1050 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1051 + }, 1052 + "targets": [ 1053 + { 1054 + "datasource": "Prometheus", 1055 + "expr": "rate(node_disk_io_time_seconds_total[5m]) * 100", 1056 + "legendFormat": "{{device}}", 1057 + "refId": "A" 1058 + } 1059 + ], 1060 + "title": "Disk Utilisation %", 1061 + "type": "timeseries" 1062 + }, 1063 + 1064 + { 1065 + "datasource": "Prometheus", 1066 + "fieldConfig": { 1067 + "defaults": { 1068 + "color": { "mode": "palette-classic" }, 1069 + "custom": { 1070 + "axisBorderShow": false, 1071 + "axisCenteredZero": false, 1072 + "axisColorMode": "text", 1073 + "axisLabel": "", 1074 + "axisPlacement": "auto", 1075 + "barAlignment": 0, 1076 + "drawStyle": "line", 1077 + "fillOpacity": 10, 1078 + "gradientMode": "none", 1079 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1080 + "insertNulls": false, 1081 + "lineInterpolation": "linear", 1082 + "lineWidth": 2, 1083 + "pointSize": 5, 1084 + "scaleDistribution": { "type": "linear" }, 1085 + "showPoints": "auto", 1086 + "spanNulls": false, 1087 + "stacking": { "group": "A", "mode": "none" }, 1088 + "thresholdsStyle": { "mode": "off" } 1089 + }, 1090 + "mappings": [], 1091 + "min": 0, 1092 + "thresholds": { 1093 + "mode": "absolute", 1094 + "steps": [{ "color": "green", "value": 0 }] 1095 + }, 1096 + "unit": "iops" 1097 + }, 1098 + "overrides": [] 1099 + }, 1100 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 41 }, 1101 + "id": 33, 1102 + "options": { 1103 + "legend": { 1104 + "calcs": [], 1105 + "displayMode": "list", 1106 + "placement": "bottom", 1107 + "showLegend": true 1108 + }, 1109 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1110 + }, 1111 + "targets": [ 1112 + { 1113 + "datasource": "Prometheus", 1114 + "expr": "rate(node_disk_reads_completed_total[5m])", 1115 + "legendFormat": "Read {{device}}", 1116 + "refId": "A" 1117 + }, 1118 + { 1119 + "datasource": "Prometheus", 1120 + "expr": "rate(node_disk_writes_completed_total[5m])", 1121 + "legendFormat": "Write {{device}}", 1122 + "refId": "B" 1123 + } 1124 + ], 1125 + "title": "Disk IOPS", 1126 + "type": "timeseries" 1127 + }, 1128 + 1129 + { 1130 + "collapsed": false, 1131 + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 49 }, 1145 1132 "id": 103, 1146 1133 "panels": [], 1147 1134 "title": "Caddy", 1148 1135 "type": "row" 1149 1136 }, 1137 + 1150 1138 { 1151 1139 "datasource": "Prometheus", 1152 1140 "fieldConfig": { 1153 1141 "defaults": { 1154 - "color": { 1155 - "mode": "palette-classic" 1142 + "color": { "mode": "thresholds" }, 1143 + "mappings": [], 1144 + "min": 0, 1145 + "thresholds": { 1146 + "mode": "absolute", 1147 + "steps": [{ "color": "green", "value": 0 }] 1148 + }, 1149 + "unit": "short" 1150 + }, 1151 + "overrides": [] 1152 + }, 1153 + "gridPos": { "h": 4, "w": 4, "x": 0, "y": 50 }, 1154 + "id": 42, 1155 + "options": { 1156 + "colorMode": "value", 1157 + "graphMode": "area", 1158 + "justifyMode": "auto", 1159 + "orientation": "auto", 1160 + "reduceOptions": { 1161 + "calcs": ["lastNotNull"], 1162 + "fields": "", 1163 + "values": false 1164 + }, 1165 + "textMode": "auto", 1166 + "wideLayout": true 1167 + }, 1168 + "targets": [ 1169 + { 1170 + "datasource": "Prometheus", 1171 + "expr": "sum(caddy_http_active_requests)", 1172 + "legendFormat": "Active", 1173 + "refId": "A" 1174 + } 1175 + ], 1176 + "title": "Active Requests", 1177 + "type": "stat" 1178 + }, 1179 + 1180 + { 1181 + "datasource": "Prometheus", 1182 + "fieldConfig": { 1183 + "defaults": { 1184 + "color": { "mode": "thresholds" }, 1185 + "mappings": [], 1186 + "min": 0, 1187 + "thresholds": { 1188 + "mode": "absolute", 1189 + "steps": [{ "color": "green", "value": 0 }] 1190 + }, 1191 + "unit": "reqps" 1192 + }, 1193 + "overrides": [] 1194 + }, 1195 + "gridPos": { "h": 4, "w": 4, "x": 4, "y": 50 }, 1196 + "id": 43, 1197 + "options": { 1198 + "colorMode": "value", 1199 + "graphMode": "area", 1200 + "justifyMode": "auto", 1201 + "orientation": "auto", 1202 + "reduceOptions": { 1203 + "calcs": ["lastNotNull"], 1204 + "fields": "", 1205 + "values": false 1206 + }, 1207 + "textMode": "auto", 1208 + "wideLayout": true 1209 + }, 1210 + "targets": [ 1211 + { 1212 + "datasource": "Prometheus", 1213 + "expr": "sum(rate(caddy_http_requests_total[5m]))", 1214 + "legendFormat": "req/s", 1215 + "refId": "A" 1216 + } 1217 + ], 1218 + "title": "Total Request Rate", 1219 + "type": "stat" 1220 + }, 1221 + 1222 + { 1223 + "datasource": "Prometheus", 1224 + "fieldConfig": { 1225 + "defaults": { 1226 + "color": { "mode": "thresholds" }, 1227 + "mappings": [], 1228 + "min": 0, 1229 + "thresholds": { 1230 + "mode": "absolute", 1231 + "steps": [ 1232 + { "color": "green", "value": 0 }, 1233 + { "color": "yellow", "value": 0.01 }, 1234 + { "color": "red", "value": 0.05 } 1235 + ] 1156 1236 }, 1237 + "unit": "percentunit" 1238 + }, 1239 + "overrides": [] 1240 + }, 1241 + "gridPos": { "h": 4, "w": 4, "x": 8, "y": 50 }, 1242 + "id": 44, 1243 + "options": { 1244 + "colorMode": "background", 1245 + "graphMode": "area", 1246 + "justifyMode": "auto", 1247 + "orientation": "auto", 1248 + "reduceOptions": { 1249 + "calcs": ["lastNotNull"], 1250 + "fields": "", 1251 + "values": false 1252 + }, 1253 + "textMode": "auto", 1254 + "wideLayout": true 1255 + }, 1256 + "targets": [ 1257 + { 1258 + "datasource": "Prometheus", 1259 + "expr": "sum(rate(caddy_http_requests_total{code=~\"5..\"}[5m])) / sum(rate(caddy_http_requests_total[5m]))", 1260 + "legendFormat": "5xx rate", 1261 + "refId": "A" 1262 + } 1263 + ], 1264 + "title": "5xx Error Rate", 1265 + "type": "stat" 1266 + }, 1267 + 1268 + { 1269 + "datasource": "Prometheus", 1270 + "fieldConfig": { 1271 + "defaults": { 1272 + "color": { "mode": "palette-classic" }, 1157 1273 "custom": { 1158 1274 "axisBorderShow": false, 1159 1275 "axisCenteredZero": false, ··· 1161 1277 "axisLabel": "", 1162 1278 "axisPlacement": "auto", 1163 1279 "barAlignment": 0, 1164 - "barWidthFactor": 0.6, 1165 1280 "drawStyle": "line", 1166 1281 "fillOpacity": 10, 1167 1282 "gradientMode": "none", 1168 - "hideFrom": { 1169 - "legend": false, 1170 - "tooltip": false, 1171 - "viz": false 1172 - }, 1283 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1173 1284 "insertNulls": false, 1174 1285 "lineInterpolation": "linear", 1175 1286 "lineWidth": 2, 1176 1287 "pointSize": 5, 1177 - "scaleDistribution": { 1178 - "type": "linear" 1179 - }, 1288 + "scaleDistribution": { "type": "linear" }, 1180 1289 "showPoints": "auto", 1181 - "showValues": false, 1182 1290 "spanNulls": false, 1183 - "stacking": { 1184 - "group": "A", 1185 - "mode": "none" 1186 - }, 1187 - "thresholdsStyle": { 1188 - "mode": "off" 1189 - } 1291 + "stacking": { "group": "A", "mode": "none" }, 1292 + "thresholdsStyle": { "mode": "off" } 1190 1293 }, 1191 1294 "mappings": [], 1192 1295 "thresholds": { 1193 1296 "mode": "absolute", 1194 - "steps": [ 1195 - { 1196 - "color": "green", 1197 - "value": 0 1198 - }, 1199 - { 1200 - "color": "red", 1201 - "value": 80 1202 - } 1203 - ] 1297 + "steps": [{ "color": "green", "value": 0 }] 1204 1298 }, 1205 1299 "unit": "reqps" 1206 1300 }, 1207 1301 "overrides": [] 1208 1302 }, 1209 - "gridPos": { 1210 - "h": 8, 1211 - "w": 12, 1212 - "x": 0, 1213 - "y": 34 1214 - }, 1303 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 54 }, 1215 1304 "id": 40, 1216 1305 "options": { 1217 1306 "legend": { ··· 1220 1309 "placement": "bottom", 1221 1310 "showLegend": true 1222 1311 }, 1223 - "tooltip": { 1224 - "hideZeros": false, 1225 - "mode": "multi", 1226 - "sort": "none" 1227 - } 1312 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1228 1313 }, 1229 - "pluginVersion": "12.3.3", 1230 1314 "targets": [ 1231 1315 { 1232 1316 "datasource": "Prometheus", ··· 1238 1322 "title": "Request Rate by Status Code", 1239 1323 "type": "timeseries" 1240 1324 }, 1325 + 1241 1326 { 1242 1327 "datasource": "Prometheus", 1243 1328 "fieldConfig": { 1244 1329 "defaults": { 1245 - "color": { 1246 - "mode": "palette-classic" 1247 - }, 1330 + "color": { "mode": "palette-classic" }, 1248 1331 "custom": { 1249 1332 "axisBorderShow": false, 1250 1333 "axisCenteredZero": false, ··· 1252 1335 "axisLabel": "", 1253 1336 "axisPlacement": "auto", 1254 1337 "barAlignment": 0, 1255 - "barWidthFactor": 0.6, 1256 1338 "drawStyle": "line", 1257 1339 "fillOpacity": 10, 1258 1340 "gradientMode": "none", 1259 - "hideFrom": { 1260 - "legend": false, 1261 - "tooltip": false, 1262 - "viz": false 1263 - }, 1341 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1264 1342 "insertNulls": false, 1265 1343 "lineInterpolation": "linear", 1266 1344 "lineWidth": 2, 1267 1345 "pointSize": 5, 1268 - "scaleDistribution": { 1269 - "type": "linear" 1270 - }, 1346 + "scaleDistribution": { "type": "linear" }, 1271 1347 "showPoints": "auto", 1272 - "showValues": false, 1273 1348 "spanNulls": false, 1274 - "stacking": { 1275 - "group": "A", 1276 - "mode": "none" 1277 - }, 1278 - "thresholdsStyle": { 1279 - "mode": "off" 1280 - } 1349 + "stacking": { "group": "A", "mode": "none" }, 1350 + "thresholdsStyle": { "mode": "off" } 1281 1351 }, 1282 1352 "mappings": [], 1283 1353 "thresholds": { 1284 1354 "mode": "absolute", 1285 - "steps": [ 1286 - { 1287 - "color": "green", 1288 - "value": 0 1289 - }, 1290 - { 1291 - "color": "red", 1292 - "value": 80 1293 - } 1294 - ] 1355 + "steps": [{ "color": "green", "value": 0 }] 1295 1356 }, 1296 1357 "unit": "s" 1297 1358 }, 1298 1359 "overrides": [] 1299 1360 }, 1300 - "gridPos": { 1301 - "h": 8, 1302 - "w": 12, 1303 - "x": 12, 1304 - "y": 34 1305 - }, 1361 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 54 }, 1306 1362 "id": 41, 1307 1363 "options": { 1308 1364 "legend": { ··· 1311 1367 "placement": "bottom", 1312 1368 "showLegend": true 1313 1369 }, 1314 - "tooltip": { 1315 - "hideZeros": false, 1316 - "mode": "multi", 1317 - "sort": "none" 1318 - } 1370 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1319 1371 }, 1320 - "pluginVersion": "12.3.3", 1321 1372 "targets": [ 1322 1373 { 1323 1374 "datasource": "Prometheus", ··· 1341 1392 "title": "Request Duration (p50/p95/p99)", 1342 1393 "type": "timeseries" 1343 1394 }, 1395 + 1344 1396 { 1345 - "collapsed": false, 1346 - "gridPos": { 1347 - "h": 1, 1348 - "w": 24, 1349 - "x": 0, 1350 - "y": 42 1397 + "datasource": "Prometheus", 1398 + "fieldConfig": { 1399 + "defaults": { 1400 + "color": { "mode": "palette-classic" }, 1401 + "custom": { 1402 + "axisBorderShow": false, 1403 + "axisCenteredZero": false, 1404 + "axisColorMode": "text", 1405 + "axisLabel": "", 1406 + "axisPlacement": "auto", 1407 + "barAlignment": 0, 1408 + "drawStyle": "line", 1409 + "fillOpacity": 10, 1410 + "gradientMode": "none", 1411 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1412 + "insertNulls": false, 1413 + "lineInterpolation": "linear", 1414 + "lineWidth": 2, 1415 + "pointSize": 5, 1416 + "scaleDistribution": { "type": "linear" }, 1417 + "showPoints": "auto", 1418 + "spanNulls": false, 1419 + "stacking": { "group": "A", "mode": "none" }, 1420 + "thresholdsStyle": { "mode": "off" } 1421 + }, 1422 + "mappings": [], 1423 + "thresholds": { 1424 + "mode": "absolute", 1425 + "steps": [{ "color": "green", "value": 0 }] 1426 + }, 1427 + "unit": "reqps" 1428 + }, 1429 + "overrides": [] 1351 1430 }, 1431 + "gridPos": { "h": 8, "w": 24, "x": 0, "y": 62 }, 1432 + "id": 45, 1433 + "options": { 1434 + "legend": { 1435 + "calcs": [], 1436 + "displayMode": "list", 1437 + "placement": "bottom", 1438 + "showLegend": true 1439 + }, 1440 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1441 + }, 1442 + "targets": [ 1443 + { 1444 + "datasource": "Prometheus", 1445 + "expr": "sum by(server) (rate(caddy_http_requests_total[5m]))", 1446 + "legendFormat": "{{server}}", 1447 + "refId": "A" 1448 + } 1449 + ], 1450 + "title": "Request Rate by Virtual Host", 1451 + "type": "timeseries" 1452 + }, 1453 + 1454 + { 1455 + "collapsed": false, 1456 + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 70 }, 1352 1457 "id": 104, 1353 1458 "panels": [], 1354 1459 "title": "PostgreSQL", 1355 1460 "type": "row" 1356 1461 }, 1462 + 1357 1463 { 1358 1464 "datasource": "Prometheus", 1359 1465 "fieldConfig": { 1360 1466 "defaults": { 1361 - "color": { 1362 - "mode": "palette-classic" 1363 - }, 1467 + "color": { "mode": "palette-classic" }, 1364 1468 "custom": { 1365 1469 "axisBorderShow": false, 1366 1470 "axisCenteredZero": false, ··· 1368 1472 "axisLabel": "", 1369 1473 "axisPlacement": "auto", 1370 1474 "barAlignment": 0, 1371 - "barWidthFactor": 0.6, 1372 1475 "drawStyle": "line", 1373 1476 "fillOpacity": 10, 1374 1477 "gradientMode": "none", 1375 - "hideFrom": { 1376 - "legend": false, 1377 - "tooltip": false, 1378 - "viz": false 1379 - }, 1478 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1380 1479 "insertNulls": false, 1381 1480 "lineInterpolation": "linear", 1382 1481 "lineWidth": 2, 1383 1482 "pointSize": 5, 1384 - "scaleDistribution": { 1385 - "type": "linear" 1386 - }, 1483 + "scaleDistribution": { "type": "linear" }, 1387 1484 "showPoints": "auto", 1388 - "showValues": false, 1389 1485 "spanNulls": false, 1390 - "stacking": { 1391 - "group": "A", 1392 - "mode": "none" 1393 - }, 1394 - "thresholdsStyle": { 1395 - "mode": "off" 1396 - } 1486 + "stacking": { "group": "A", "mode": "none" }, 1487 + "thresholdsStyle": { "mode": "off" } 1397 1488 }, 1398 1489 "mappings": [], 1399 1490 "thresholds": { 1400 1491 "mode": "absolute", 1401 - "steps": [ 1402 - { 1403 - "color": "green", 1404 - "value": 0 1405 - }, 1406 - { 1407 - "color": "red", 1408 - "value": 80 1409 - } 1410 - ] 1492 + "steps": [{ "color": "green", "value": 0 }] 1411 1493 }, 1412 1494 "unit": "short" 1413 1495 }, 1414 1496 "overrides": [] 1415 1497 }, 1416 - "gridPos": { 1417 - "h": 8, 1418 - "w": 12, 1419 - "x": 0, 1420 - "y": 43 1421 - }, 1498 + "gridPos": { "h": 8, "w": 8, "x": 0, "y": 71 }, 1422 1499 "id": 50, 1423 1500 "options": { 1424 1501 "legend": { ··· 1427 1504 "placement": "bottom", 1428 1505 "showLegend": true 1429 1506 }, 1430 - "tooltip": { 1431 - "hideZeros": false, 1432 - "mode": "multi", 1433 - "sort": "none" 1434 - } 1507 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1435 1508 }, 1436 - "pluginVersion": "12.3.3", 1437 1509 "targets": [ 1438 1510 { 1439 1511 "datasource": "Prometheus", ··· 1445 1517 "title": "DB Connections", 1446 1518 "type": "timeseries" 1447 1519 }, 1520 + 1448 1521 { 1449 1522 "datasource": "Prometheus", 1450 1523 "fieldConfig": { 1451 1524 "defaults": { 1452 - "color": { 1453 - "mode": "palette-classic" 1454 - }, 1525 + "color": { "mode": "palette-classic" }, 1455 1526 "custom": { 1456 1527 "axisBorderShow": false, 1457 1528 "axisCenteredZero": false, ··· 1459 1530 "axisLabel": "", 1460 1531 "axisPlacement": "auto", 1461 1532 "barAlignment": 0, 1462 - "barWidthFactor": 0.6, 1463 1533 "drawStyle": "line", 1464 1534 "fillOpacity": 10, 1465 1535 "gradientMode": "none", 1466 - "hideFrom": { 1467 - "legend": false, 1468 - "tooltip": false, 1469 - "viz": false 1470 - }, 1536 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1471 1537 "insertNulls": false, 1472 1538 "lineInterpolation": "linear", 1473 1539 "lineWidth": 2, 1474 1540 "pointSize": 5, 1475 - "scaleDistribution": { 1476 - "type": "linear" 1477 - }, 1541 + "scaleDistribution": { "type": "linear" }, 1478 1542 "showPoints": "auto", 1479 - "showValues": false, 1480 1543 "spanNulls": false, 1481 - "stacking": { 1482 - "group": "A", 1483 - "mode": "none" 1484 - }, 1485 - "thresholdsStyle": { 1486 - "mode": "off" 1487 - } 1544 + "stacking": { "group": "A", "mode": "none" }, 1545 + "thresholdsStyle": { "mode": "off" } 1488 1546 }, 1489 1547 "mappings": [], 1490 1548 "thresholds": { 1491 1549 "mode": "absolute", 1492 - "steps": [ 1493 - { 1494 - "color": "green", 1495 - "value": 0 1496 - }, 1497 - { 1498 - "color": "red", 1499 - "value": 80 1500 - } 1501 - ] 1550 + "steps": [{ "color": "green", "value": 0 }] 1502 1551 }, 1503 1552 "unit": "ops" 1504 1553 }, 1505 1554 "overrides": [] 1506 1555 }, 1507 - "gridPos": { 1508 - "h": 8, 1509 - "w": 12, 1510 - "x": 12, 1511 - "y": 43 1512 - }, 1556 + "gridPos": { "h": 8, "w": 8, "x": 8, "y": 71 }, 1513 1557 "id": 51, 1514 1558 "options": { 1515 1559 "legend": { ··· 1518 1562 "placement": "bottom", 1519 1563 "showLegend": true 1520 1564 }, 1521 - "tooltip": { 1522 - "hideZeros": false, 1523 - "mode": "multi", 1524 - "sort": "none" 1525 - } 1565 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1526 1566 }, 1527 - "pluginVersion": "12.3.3", 1528 1567 "targets": [ 1529 1568 { 1530 1569 "datasource": "Prometheus", ··· 1541 1580 ], 1542 1581 "title": "DB Transactions/sec", 1543 1582 "type": "timeseries" 1583 + }, 1584 + 1585 + { 1586 + "datasource": "Prometheus", 1587 + "fieldConfig": { 1588 + "defaults": { 1589 + "color": { "mode": "palette-classic" }, 1590 + "custom": { 1591 + "axisBorderShow": false, 1592 + "axisCenteredZero": false, 1593 + "axisColorMode": "text", 1594 + "axisLabel": "", 1595 + "axisPlacement": "auto", 1596 + "barAlignment": 0, 1597 + "drawStyle": "line", 1598 + "fillOpacity": 10, 1599 + "gradientMode": "none", 1600 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1601 + "insertNulls": false, 1602 + "lineInterpolation": "linear", 1603 + "lineWidth": 2, 1604 + "pointSize": 5, 1605 + "scaleDistribution": { "type": "linear" }, 1606 + "showPoints": "auto", 1607 + "spanNulls": false, 1608 + "stacking": { "group": "A", "mode": "none" }, 1609 + "thresholdsStyle": { "mode": "off" } 1610 + }, 1611 + "mappings": [], 1612 + "min": 0, 1613 + "max": 1, 1614 + "thresholds": { 1615 + "mode": "absolute", 1616 + "steps": [ 1617 + { "color": "red", "value": 0 }, 1618 + { "color": "yellow", "value": 0.9 }, 1619 + { "color": "green", "value": 0.99 } 1620 + ] 1621 + }, 1622 + "unit": "percentunit" 1623 + }, 1624 + "overrides": [] 1625 + }, 1626 + "gridPos": { "h": 8, "w": 8, "x": 16, "y": 71 }, 1627 + "id": 52, 1628 + "options": { 1629 + "legend": { 1630 + "calcs": [], 1631 + "displayMode": "list", 1632 + "placement": "bottom", 1633 + "showLegend": true 1634 + }, 1635 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1636 + }, 1637 + "targets": [ 1638 + { 1639 + "datasource": "Prometheus", 1640 + "expr": "rate(pg_stat_database_blks_hit[5m]) / (rate(pg_stat_database_blks_hit[5m]) + rate(pg_stat_database_blks_read[5m]))", 1641 + "legendFormat": "{{datname}}", 1642 + "refId": "A" 1643 + } 1644 + ], 1645 + "title": "Cache Hit Ratio", 1646 + "type": "timeseries" 1647 + }, 1648 + 1649 + { 1650 + "datasource": "Prometheus", 1651 + "fieldConfig": { 1652 + "defaults": { 1653 + "color": { "mode": "palette-classic" }, 1654 + "custom": { 1655 + "axisBorderShow": false, 1656 + "axisCenteredZero": false, 1657 + "axisColorMode": "text", 1658 + "axisLabel": "", 1659 + "axisPlacement": "auto", 1660 + "barAlignment": 0, 1661 + "drawStyle": "line", 1662 + "fillOpacity": 10, 1663 + "gradientMode": "none", 1664 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1665 + "insertNulls": false, 1666 + "lineInterpolation": "linear", 1667 + "lineWidth": 2, 1668 + "pointSize": 5, 1669 + "scaleDistribution": { "type": "linear" }, 1670 + "showPoints": "auto", 1671 + "spanNulls": false, 1672 + "stacking": { "group": "A", "mode": "none" }, 1673 + "thresholdsStyle": { "mode": "off" } 1674 + }, 1675 + "mappings": [], 1676 + "min": 0, 1677 + "thresholds": { 1678 + "mode": "absolute", 1679 + "steps": [{ "color": "green", "value": 0 }] 1680 + }, 1681 + "unit": "bytes" 1682 + }, 1683 + "overrides": [] 1684 + }, 1685 + "gridPos": { "h": 8, "w": 12, "x": 0, "y": 79 }, 1686 + "id": 53, 1687 + "options": { 1688 + "legend": { 1689 + "calcs": [], 1690 + "displayMode": "list", 1691 + "placement": "bottom", 1692 + "showLegend": true 1693 + }, 1694 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1695 + }, 1696 + "targets": [ 1697 + { 1698 + "datasource": "Prometheus", 1699 + "expr": "pg_database_size_bytes", 1700 + "legendFormat": "{{datname}}", 1701 + "refId": "A" 1702 + } 1703 + ], 1704 + "title": "Database Size", 1705 + "type": "timeseries" 1706 + }, 1707 + 1708 + { 1709 + "datasource": "Prometheus", 1710 + "fieldConfig": { 1711 + "defaults": { 1712 + "color": { "mode": "palette-classic" }, 1713 + "custom": { 1714 + "axisBorderShow": false, 1715 + "axisCenteredZero": false, 1716 + "axisColorMode": "text", 1717 + "axisLabel": "", 1718 + "axisPlacement": "auto", 1719 + "barAlignment": 0, 1720 + "drawStyle": "line", 1721 + "fillOpacity": 10, 1722 + "gradientMode": "none", 1723 + "hideFrom": { "legend": false, "tooltip": false, "viz": false }, 1724 + "insertNulls": false, 1725 + "lineInterpolation": "linear", 1726 + "lineWidth": 2, 1727 + "pointSize": 5, 1728 + "scaleDistribution": { "type": "linear" }, 1729 + "showPoints": "auto", 1730 + "spanNulls": false, 1731 + "stacking": { "group": "A", "mode": "none" }, 1732 + "thresholdsStyle": { "mode": "off" } 1733 + }, 1734 + "mappings": [], 1735 + "min": 0, 1736 + "thresholds": { 1737 + "mode": "absolute", 1738 + "steps": [{ "color": "green", "value": 0 }] 1739 + }, 1740 + "unit": "short" 1741 + }, 1742 + "overrides": [] 1743 + }, 1744 + "gridPos": { "h": 8, "w": 12, "x": 12, "y": 79 }, 1745 + "id": 54, 1746 + "options": { 1747 + "legend": { 1748 + "calcs": [], 1749 + "displayMode": "list", 1750 + "placement": "bottom", 1751 + "showLegend": true 1752 + }, 1753 + "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } 1754 + }, 1755 + "targets": [ 1756 + { 1757 + "datasource": "Prometheus", 1758 + "expr": "rate(pg_stat_database_deadlocks[5m])", 1759 + "legendFormat": "deadlocks {{datname}}", 1760 + "refId": "A" 1761 + }, 1762 + { 1763 + "datasource": "Prometheus", 1764 + "expr": "rate(pg_stat_database_conflicts[5m])", 1765 + "legendFormat": "conflicts {{datname}}", 1766 + "refId": "B" 1767 + } 1768 + ], 1769 + "title": "DB Deadlocks & Conflicts", 1770 + "type": "timeseries" 1771 + }, 1772 + 1773 + { 1774 + "collapsed": false, 1775 + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 87 }, 1776 + "id": 105, 1777 + "panels": [], 1778 + "title": "Services", 1779 + "type": "row" 1780 + }, 1781 + 1782 + { 1783 + "datasource": "Prometheus", 1784 + "fieldConfig": { 1785 + "defaults": { 1786 + "color": { "mode": "thresholds" }, 1787 + "mappings": [ 1788 + { 1789 + "options": { 1790 + "0": { "color": "red", "index": 0, "text": "down" }, 1791 + "1": { "color": "green", "index": 1, "text": "active" } 1792 + }, 1793 + "type": "value" 1794 + } 1795 + ], 1796 + "thresholds": { 1797 + "mode": "absolute", 1798 + "steps": [ 1799 + { "color": "red", "value": 0 }, 1800 + { "color": "green", "value": 1 } 1801 + ] 1802 + } 1803 + }, 1804 + "overrides": [] 1805 + }, 1806 + "gridPos": { "h": 6, "w": 24, "x": 0, "y": 88 }, 1807 + "id": 60, 1808 + "options": { 1809 + "colorMode": "background", 1810 + "graphMode": "none", 1811 + "justifyMode": "center", 1812 + "orientation": "horizontal", 1813 + "reduceOptions": { 1814 + "calcs": ["lastNotNull"], 1815 + "fields": "", 1816 + "values": false 1817 + }, 1818 + "textMode": "value_and_name", 1819 + "wideLayout": false 1820 + }, 1821 + "targets": [ 1822 + { 1823 + "datasource": "Prometheus", 1824 + "expr": "node_systemd_unit_state{name=\"caddy.service\",state=\"active\"}", 1825 + "legendFormat": "caddy", 1826 + "refId": "A" 1827 + }, 1828 + { 1829 + "datasource": "Prometheus", 1830 + "expr": "node_systemd_unit_state{name=\"nextcloud.service\",state=\"active\"}", 1831 + "legendFormat": "nextcloud", 1832 + "refId": "B" 1833 + }, 1834 + { 1835 + "datasource": "Prometheus", 1836 + "expr": "node_systemd_unit_state{name=\"postgresql.service\",state=\"active\"}", 1837 + "legendFormat": "postgresql", 1838 + "refId": "C" 1839 + }, 1840 + { 1841 + "datasource": "Prometheus", 1842 + "expr": "node_systemd_unit_state{name=\"redis-nextcloud.service\",state=\"active\"}", 1843 + "legendFormat": "redis", 1844 + "refId": "D" 1845 + }, 1846 + { 1847 + "datasource": "Prometheus", 1848 + "expr": "node_systemd_unit_state{name=\"smartd.service\",state=\"active\"}", 1849 + "legendFormat": "smartd", 1850 + "refId": "E" 1851 + }, 1852 + { 1853 + "datasource": "Prometheus", 1854 + "expr": "node_systemd_unit_state{name=\"forgejo.service\",state=\"active\"}", 1855 + "legendFormat": "forgejo", 1856 + "refId": "F" 1857 + }, 1858 + { 1859 + "datasource": "Prometheus", 1860 + "expr": "node_systemd_unit_state{name=\"gotosocial.service\",state=\"active\"}", 1861 + "legendFormat": "gotosocial", 1862 + "refId": "G" 1863 + }, 1864 + { 1865 + "datasource": "Prometheus", 1866 + "expr": "node_systemd_unit_state{name=\"jellyfin.service\",state=\"active\"}", 1867 + "legendFormat": "jellyfin", 1868 + "refId": "H" 1869 + }, 1870 + { 1871 + "datasource": "Prometheus", 1872 + "expr": "node_systemd_unit_state{name=\"vaultwarden.service\",state=\"active\"}", 1873 + "legendFormat": "vaultwarden", 1874 + "refId": "I" 1875 + }, 1876 + { 1877 + "datasource": "Prometheus", 1878 + "expr": "node_systemd_unit_state{name=\"immich-server.service\",state=\"active\"}", 1879 + "legendFormat": "immich", 1880 + "refId": "J" 1881 + }, 1882 + { 1883 + "datasource": "Prometheus", 1884 + "expr": "node_systemd_unit_state{name=\"pds.service\",state=\"active\"}", 1885 + "legendFormat": "pds", 1886 + "refId": "K" 1887 + } 1888 + ], 1889 + "title": "Service Health", 1890 + "type": "stat" 1544 1891 } 1545 1892 ], 1546 1893 "preload": false, 1547 1894 "refresh": "30s", 1548 1895 "schemaVersion": 42, 1549 - "tags": [ 1550 - "server" 1551 - ], 1552 - "templating": { 1553 - "list": [] 1554 - }, 1555 - "time": { 1556 - "from": "now-3h", 1557 - "to": "now" 1558 - }, 1896 + "tags": ["server"], 1897 + "templating": { "list": [] }, 1898 + "time": { "from": "now-3h", "to": "now" }, 1559 1899 "timepicker": {}, 1560 1900 "timezone": "browser", 1561 1901 "title": "Server Overview", 1562 1902 "uid": "server-overview", 1563 - "version": 1 1564 - } 1903 + "version": 2 1904 + }