github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/dashboards/zitadel/json/sql.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": "-- Grafana --", 7 "enable": true, 8 "hide": true, 9 "iconColor": "rgba(0, 211, 255, 1)", 10 "name": "Annotations & Alerts", 11 "type": "dashboard" 12 } 13 ] 14 }, 15 "editable": true, 16 "gnetId": null, 17 "graphTooltip": 1, 18 "iteration": 1610375348578, 19 "links": [ 20 { 21 "asDropdown": true, 22 "icon": "external link", 23 "includeVars": true, 24 "keepTime": true, 25 "tags": [ 26 "cockroach" 27 ], 28 "targetBlank": true, 29 "title": "Dashboards", 30 "type": "dashboards" 31 } 32 ], 33 "panels": [ 34 { 35 "aliasColors": {}, 36 "bars": false, 37 "dashLength": 10, 38 "dashes": false, 39 "datasource": "$datasource", 40 "editable": true, 41 "error": false, 42 "fieldConfig": { 43 "defaults": { 44 "custom": {} 45 }, 46 "overrides": [] 47 }, 48 "fill": 1, 49 "fillGradient": 0, 50 "grid": {}, 51 "gridPos": { 52 "h": 7, 53 "w": 16, 54 "x": 0, 55 "y": 0 56 }, 57 "hiddenSeries": false, 58 "id": 6, 59 "legend": { 60 "alignAsTable": false, 61 "avg": false, 62 "current": false, 63 "max": false, 64 "min": false, 65 "show": true, 66 "total": false, 67 "values": false 68 }, 69 "lines": true, 70 "linewidth": 2, 71 "links": [], 72 "nullPointMode": "null as zero", 73 "percentage": false, 74 "pluginVersion": "7.1.5", 75 "pointradius": 5, 76 "points": false, 77 "renderer": "flot", 78 "seriesOverrides": [], 79 "spaceLength": 10, 80 "stack": false, 81 "steppedLine": false, 82 "targets": [ 83 { 84 "expr": "sum(sql_conns{cluster=\"$cluster\",job=\"$job\",instance=~\"$node\"})", 85 "format": "time_series", 86 "hide": false, 87 "interval": "", 88 "intervalFactor": 2, 89 "legendFormat": "Connections", 90 "metric": "", 91 "refId": "A", 92 "step": 240 93 } 94 ], 95 "thresholds": [], 96 "timeFrom": null, 97 "timeRegions": [], 98 "timeShift": null, 99 "title": "SQL Connections: $node", 100 "tooltip": { 101 "msResolution": false, 102 "shared": true, 103 "sort": 0, 104 "value_type": "cumulative" 105 }, 106 "type": "graph", 107 "xaxis": { 108 "buckets": null, 109 "mode": "time", 110 "name": null, 111 "show": true, 112 "values": [] 113 }, 114 "yaxes": [ 115 { 116 "format": "short", 117 "label": null, 118 "logBase": 1, 119 "max": null, 120 "min": 0, 121 "show": true 122 }, 123 { 124 "format": "short", 125 "label": null, 126 "logBase": 1, 127 "max": null, 128 "min": null, 129 "show": true 130 } 131 ], 132 "yaxis": { 133 "align": false, 134 "alignLevel": null 135 } 136 }, 137 { 138 "columns": [ 139 { 140 "text": "Current", 141 "value": "current" 142 }, 143 { 144 "text": "Avg", 145 "value": "avg" 146 }, 147 { 148 "text": "Min", 149 "value": "min" 150 }, 151 { 152 "text": "Max", 153 "value": "max" 154 } 155 ], 156 "datasource": "$datasource", 157 "editable": true, 158 "error": false, 159 "fieldConfig": { 160 "defaults": { 161 "custom": {} 162 }, 163 "overrides": [] 164 }, 165 "fontSize": "90%", 166 "gridPos": { 167 "h": 7, 168 "w": 8, 169 "x": 16, 170 "y": 0 171 }, 172 "id": 12, 173 "links": [], 174 "pageSize": null, 175 "scroll": true, 176 "showHeader": true, 177 "sort": { 178 "col": 0, 179 "desc": false 180 }, 181 "styles": [ 182 { 183 "align": "auto", 184 "dateFormat": "YYYY-MM-DD HH:mm:ss", 185 "pattern": "Time", 186 "type": "date" 187 }, 188 { 189 "align": "auto", 190 "colorMode": null, 191 "colors": [ 192 "rgba(245, 54, 54, 0.9)", 193 "rgba(237, 129, 40, 0.89)", 194 "rgba(50, 172, 45, 0.97)" 195 ], 196 "decimals": 0, 197 "pattern": "/.*/", 198 "thresholds": [], 199 "type": "number", 200 "unit": "short" 201 } 202 ], 203 "targets": [ 204 { 205 "expr": "sql_conns{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}", 206 "format": "time_series", 207 "interval": "", 208 "intervalFactor": 2, 209 "legendFormat": "{{instance}}", 210 "refId": "A", 211 "step": 240 212 } 213 ], 214 "title": "Connections: $node", 215 "transform": "timeseries_aggregations", 216 "type": "table-old" 217 }, 218 { 219 "aliasColors": {}, 220 "bars": false, 221 "dashLength": 10, 222 "dashes": false, 223 "datasource": "$datasource", 224 "editable": true, 225 "error": false, 226 "fieldConfig": { 227 "defaults": { 228 "custom": {} 229 }, 230 "overrides": [] 231 }, 232 "fill": 1, 233 "fillGradient": 0, 234 "grid": {}, 235 "gridPos": { 236 "h": 7, 237 "w": 16, 238 "x": 0, 239 "y": 7 240 }, 241 "hiddenSeries": false, 242 "id": 7, 243 "legend": { 244 "avg": false, 245 "current": false, 246 "max": false, 247 "min": false, 248 "show": true, 249 "total": false, 250 "values": false 251 }, 252 "lines": true, 253 "linewidth": 2, 254 "links": [], 255 "nullPointMode": "null as zero", 256 "percentage": false, 257 "pluginVersion": "7.1.5", 258 "pointradius": 5, 259 "points": false, 260 "renderer": "flot", 261 "seriesOverrides": [], 262 "spaceLength": 10, 263 "stack": false, 264 "steppedLine": false, 265 "targets": [ 266 { 267 "expr": "sum(rate(sql_bytesin{job=\"$job\", cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 268 "format": "time_series", 269 "interval": "", 270 "intervalFactor": 2, 271 "legendFormat": "In", 272 "metric": "", 273 "refId": "A", 274 "step": 240 275 }, 276 { 277 "expr": "sum(rate(sql_bytesout{job=\"$job\", cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 278 "format": "time_series", 279 "interval": "", 280 "intervalFactor": 2, 281 "legendFormat": "Out", 282 "metric": "", 283 "refId": "B", 284 "step": 240 285 } 286 ], 287 "thresholds": [], 288 "timeFrom": null, 289 "timeRegions": [], 290 "timeShift": null, 291 "title": "Bytes: $node", 292 "tooltip": { 293 "msResolution": false, 294 "shared": true, 295 "sort": 0, 296 "value_type": "cumulative" 297 }, 298 "type": "graph", 299 "xaxis": { 300 "buckets": null, 301 "mode": "time", 302 "name": null, 303 "show": true, 304 "values": [] 305 }, 306 "yaxes": [ 307 { 308 "format": "Bps", 309 "label": null, 310 "logBase": 1, 311 "max": null, 312 "min": 0, 313 "show": true 314 }, 315 { 316 "format": "short", 317 "label": null, 318 "logBase": 1, 319 "max": null, 320 "min": null, 321 "show": true 322 } 323 ], 324 "yaxis": { 325 "align": false, 326 "alignLevel": null 327 } 328 }, 329 { 330 "columns": [ 331 { 332 "text": "Current", 333 "value": "current" 334 }, 335 { 336 "text": "Avg", 337 "value": "avg" 338 }, 339 { 340 "text": "Min", 341 "value": "min" 342 }, 343 { 344 "text": "Max", 345 "value": "max" 346 } 347 ], 348 "datasource": "$datasource", 349 "editable": true, 350 "error": false, 351 "fieldConfig": { 352 "defaults": { 353 "custom": {} 354 }, 355 "overrides": [] 356 }, 357 "fontSize": "90%", 358 "gridPos": { 359 "h": 7, 360 "w": 8, 361 "x": 16, 362 "y": 7 363 }, 364 "hideTimeOverride": false, 365 "id": 13, 366 "links": [], 367 "pageSize": null, 368 "scroll": true, 369 "showHeader": true, 370 "sort": { 371 "col": 0, 372 "desc": true 373 }, 374 "styles": [ 375 { 376 "align": "auto", 377 "colorMode": null, 378 "colors": [ 379 "rgba(245, 54, 54, 0.9)", 380 "rgba(237, 129, 40, 0.89)", 381 "rgba(50, 172, 45, 0.97)" 382 ], 383 "dateFormat": "YYYY-MM-DD HH:mm:ss", 384 "decimals": 2, 385 "pattern": "/.*/", 386 "thresholds": [], 387 "type": "number", 388 "unit": "Bps" 389 } 390 ], 391 "targets": [ 392 { 393 "expr": "rate(sql_bytesin{job=\"$job\", cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval])", 394 "format": "time_series", 395 "interval": "", 396 "intervalFactor": 2, 397 "legendFormat": "{{instance}} - in", 398 "refId": "A", 399 "step": 240 400 }, 401 { 402 "expr": "rate(sql_bytesout{job=\"$job\", cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval])", 403 "format": "time_series", 404 "interval": "", 405 "intervalFactor": 2, 406 "legendFormat": "{{instance}} - out", 407 "metric": "", 408 "refId": "B", 409 "step": 240 410 } 411 ], 412 "timeFrom": null, 413 "timeShift": null, 414 "title": "Bytes in/out: $node", 415 "transform": "timeseries_aggregations", 416 "type": "table-old" 417 }, 418 { 419 "aliasColors": {}, 420 "bars": false, 421 "dashLength": 10, 422 "dashes": false, 423 "datasource": "$datasource", 424 "editable": true, 425 "error": false, 426 "fieldConfig": { 427 "defaults": { 428 "custom": {} 429 }, 430 "overrides": [] 431 }, 432 "fill": 1, 433 "fillGradient": 0, 434 "grid": {}, 435 "gridPos": { 436 "h": 7, 437 "w": 16, 438 "x": 0, 439 "y": 14 440 }, 441 "hiddenSeries": false, 442 "id": 9, 443 "legend": { 444 "avg": false, 445 "current": false, 446 "max": false, 447 "min": false, 448 "show": true, 449 "total": false, 450 "values": false 451 }, 452 "lines": true, 453 "linewidth": 2, 454 "links": [], 455 "nullPointMode": "null as zero", 456 "percentage": false, 457 "pluginVersion": "7.1.5", 458 "pointradius": 5, 459 "points": false, 460 "renderer": "flot", 461 "seriesOverrides": [], 462 "spaceLength": 10, 463 "stack": false, 464 "steppedLine": false, 465 "targets": [ 466 { 467 "expr": "sum(rate(sql_select_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 468 "format": "time_series", 469 "interval": "", 470 "intervalFactor": 2, 471 "legendFormat": "select", 472 "metric": "", 473 "refId": "A", 474 "step": 240 475 }, 476 { 477 "expr": "sum(rate(sql_insert_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 478 "format": "time_series", 479 "interval": "", 480 "intervalFactor": 2, 481 "legendFormat": "insert", 482 "metric": "", 483 "refId": "B", 484 "step": 240 485 }, 486 { 487 "expr": "sum(rate(sql_update_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 488 "format": "time_series", 489 "interval": "", 490 "intervalFactor": 2, 491 "legendFormat": "update", 492 "metric": "", 493 "refId": "C", 494 "step": 240 495 }, 496 { 497 "expr": "sum(rate(sql_delete_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 498 "format": "time_series", 499 "interval": "", 500 "intervalFactor": 2, 501 "legendFormat": "delete", 502 "metric": "", 503 "refId": "D", 504 "step": 240 505 } 506 ], 507 "thresholds": [], 508 "timeFrom": null, 509 "timeRegions": [], 510 "timeShift": null, 511 "title": "Queries: $node", 512 "tooltip": { 513 "msResolution": false, 514 "shared": true, 515 "sort": 0, 516 "value_type": "cumulative" 517 }, 518 "type": "graph", 519 "xaxis": { 520 "buckets": null, 521 "mode": "time", 522 "name": null, 523 "show": true, 524 "values": [] 525 }, 526 "yaxes": [ 527 { 528 "format": "short", 529 "label": null, 530 "logBase": 1, 531 "max": null, 532 "min": 0, 533 "show": true 534 }, 535 { 536 "format": "short", 537 "label": null, 538 "logBase": 1, 539 "max": null, 540 "min": null, 541 "show": true 542 } 543 ], 544 "yaxis": { 545 "align": false, 546 "alignLevel": null 547 } 548 }, 549 { 550 "columns": [ 551 { 552 "text": "Current", 553 "value": "current" 554 }, 555 { 556 "text": "Avg", 557 "value": "avg" 558 }, 559 { 560 "text": "Min", 561 "value": "min" 562 }, 563 { 564 "text": "Max", 565 "value": "max" 566 } 567 ], 568 "datasource": "$datasource", 569 "editable": true, 570 "error": false, 571 "fieldConfig": { 572 "defaults": { 573 "custom": {} 574 }, 575 "overrides": [] 576 }, 577 "fontSize": "90%", 578 "gridPos": { 579 "h": 7, 580 "w": 8, 581 "x": 16, 582 "y": 14 583 }, 584 "id": 14, 585 "links": [], 586 "pageSize": null, 587 "scroll": true, 588 "showHeader": true, 589 "sort": { 590 "col": 0, 591 "desc": true 592 }, 593 "styles": [ 594 { 595 "align": "auto", 596 "dateFormat": "YYYY-MM-DD HH:mm:ss", 597 "pattern": "Time", 598 "type": "date" 599 }, 600 { 601 "align": "auto", 602 "colorMode": null, 603 "colors": [ 604 "rgba(245, 54, 54, 0.9)", 605 "rgba(237, 129, 40, 0.89)", 606 "rgba(50, 172, 45, 0.97)" 607 ], 608 "decimals": 2, 609 "pattern": "/.*/", 610 "thresholds": [], 611 "type": "number", 612 "unit": "short" 613 } 614 ], 615 "targets": [ 616 { 617 "expr": "rate(sql_select_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]) + rate(sql_insert_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]) + rate(sql_update_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]) + rate(sql_delete_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval])", 618 "format": "time_series", 619 "interval": "", 620 "intervalFactor": 2, 621 "legendFormat": "{{instance}}", 622 "metric": "", 623 "refId": "A", 624 "step": 240 625 } 626 ], 627 "title": "Queries: $node", 628 "transform": "timeseries_aggregations", 629 "type": "table-old" 630 }, 631 { 632 "aliasColors": {}, 633 "bars": false, 634 "dashLength": 10, 635 "dashes": false, 636 "datasource": "$datasource", 637 "editable": true, 638 "error": false, 639 "fieldConfig": { 640 "defaults": { 641 "custom": {} 642 }, 643 "overrides": [] 644 }, 645 "fill": 1, 646 "fillGradient": 0, 647 "grid": {}, 648 "gridPos": { 649 "h": 7, 650 "w": 16, 651 "x": 0, 652 "y": 21 653 }, 654 "hiddenSeries": false, 655 "id": 17, 656 "legend": { 657 "avg": false, 658 "current": false, 659 "max": false, 660 "min": false, 661 "show": true, 662 "total": false, 663 "values": false 664 }, 665 "lines": true, 666 "linewidth": 2, 667 "links": [], 668 "nullPointMode": "connected", 669 "percentage": false, 670 "pluginVersion": "7.1.5", 671 "pointradius": 5, 672 "points": false, 673 "renderer": "flot", 674 "seriesOverrides": [], 675 "spaceLength": 10, 676 "stack": false, 677 "steppedLine": false, 678 "targets": [ 679 { 680 "expr": "sql_exec_latency:rate1m:quantile_99{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}", 681 "format": "time_series", 682 "interval": "", 683 "intervalFactor": 2, 684 "legendFormat": "{{instance}}", 685 "metric": "exec_latency:rate1m:quantile_99", 686 "refId": "A", 687 "step": 240 688 } 689 ], 690 "thresholds": [], 691 "timeFrom": null, 692 "timeRegions": [], 693 "timeShift": null, 694 "title": "SQL Exec Latency: 99th percentile", 695 "tooltip": { 696 "msResolution": false, 697 "shared": true, 698 "sort": 0, 699 "value_type": "cumulative" 700 }, 701 "type": "graph", 702 "xaxis": { 703 "buckets": null, 704 "mode": "time", 705 "name": null, 706 "show": true, 707 "values": [] 708 }, 709 "yaxes": [ 710 { 711 "format": "ns", 712 "label": null, 713 "logBase": 1, 714 "max": null, 715 "min": null, 716 "show": true 717 }, 718 { 719 "format": "short", 720 "label": null, 721 "logBase": 1, 722 "max": null, 723 "min": null, 724 "show": true 725 } 726 ], 727 "yaxis": { 728 "align": false, 729 "alignLevel": null 730 } 731 }, 732 { 733 "columns": [ 734 { 735 "text": "Current", 736 "value": "current" 737 }, 738 { 739 "text": "Avg", 740 "value": "avg" 741 }, 742 { 743 "text": "Min", 744 "value": "min" 745 }, 746 { 747 "text": "Max", 748 "value": "max" 749 } 750 ], 751 "datasource": "$datasource", 752 "editable": true, 753 "error": false, 754 "fieldConfig": { 755 "defaults": { 756 "custom": {} 757 }, 758 "overrides": [] 759 }, 760 "fontSize": "90%", 761 "gridPos": { 762 "h": 7, 763 "w": 8, 764 "x": 16, 765 "y": 21 766 }, 767 "id": 15, 768 "links": [], 769 "pageSize": null, 770 "scroll": true, 771 "showHeader": true, 772 "sort": { 773 "col": 0, 774 "desc": true 775 }, 776 "styles": [ 777 { 778 "align": "auto", 779 "dateFormat": "YYYY-MM-DD HH:mm:ss", 780 "pattern": "Time", 781 "type": "date" 782 }, 783 { 784 "align": "auto", 785 "colorMode": null, 786 "colors": [ 787 "rgba(245, 54, 54, 0.9)", 788 "rgba(237, 129, 40, 0.89)", 789 "rgba(50, 172, 45, 0.97)" 790 ], 791 "decimals": 2, 792 "pattern": "/.*/", 793 "thresholds": [], 794 "type": "number", 795 "unit": "short" 796 } 797 ], 798 "targets": [ 799 { 800 "expr": "rate(sql_txn_begin_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]) + rate(sql_txn_commit_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]) + rate(sql_txn_abort_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]) + rate(sql_txn_rollback_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval])", 801 "format": "time_series", 802 "interval": "", 803 "intervalFactor": 2, 804 "legendFormat": "{{instance}}", 805 "refId": "A", 806 "step": 240 807 } 808 ], 809 "title": "Transactions: $node", 810 "transform": "timeseries_aggregations", 811 "type": "table-old" 812 }, 813 { 814 "aliasColors": {}, 815 "bars": false, 816 "dashLength": 10, 817 "dashes": false, 818 "datasource": "$datasource", 819 "editable": true, 820 "error": false, 821 "fieldConfig": { 822 "defaults": { 823 "custom": {} 824 }, 825 "overrides": [] 826 }, 827 "fill": 1, 828 "fillGradient": 0, 829 "grid": {}, 830 "gridPos": { 831 "h": 7, 832 "w": 16, 833 "x": 0, 834 "y": 28 835 }, 836 "hiddenSeries": false, 837 "id": 18, 838 "legend": { 839 "avg": false, 840 "current": false, 841 "max": false, 842 "min": false, 843 "show": true, 844 "total": false, 845 "values": false 846 }, 847 "lines": true, 848 "linewidth": 2, 849 "links": [], 850 "nullPointMode": "connected", 851 "percentage": false, 852 "pluginVersion": "7.1.5", 853 "pointradius": 5, 854 "points": false, 855 "renderer": "flot", 856 "seriesOverrides": [], 857 "spaceLength": 10, 858 "stack": false, 859 "steppedLine": false, 860 "targets": [ 861 { 862 "expr": "sql_exec_latency:rate1m:quantile_95{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}", 863 "format": "time_series", 864 "interval": "", 865 "intervalFactor": 2, 866 "legendFormat": "{{instance}}", 867 "metric": "exec_latency:rate1m:quantile_99", 868 "refId": "A", 869 "step": 240 870 } 871 ], 872 "thresholds": [], 873 "timeFrom": null, 874 "timeRegions": [], 875 "timeShift": null, 876 "title": "SQL Exec Latency: 95th percentile", 877 "tooltip": { 878 "msResolution": false, 879 "shared": true, 880 "sort": 0, 881 "value_type": "cumulative" 882 }, 883 "type": "graph", 884 "xaxis": { 885 "buckets": null, 886 "mode": "time", 887 "name": null, 888 "show": true, 889 "values": [] 890 }, 891 "yaxes": [ 892 { 893 "format": "ns", 894 "label": null, 895 "logBase": 1, 896 "max": null, 897 "min": null, 898 "show": true 899 }, 900 { 901 "format": "short", 902 "label": null, 903 "logBase": 1, 904 "max": null, 905 "min": null, 906 "show": true 907 } 908 ], 909 "yaxis": { 910 "align": false, 911 "alignLevel": null 912 } 913 }, 914 { 915 "columns": [ 916 { 917 "text": "Current", 918 "value": "current" 919 }, 920 { 921 "text": "Avg", 922 "value": "avg" 923 }, 924 { 925 "text": "Min", 926 "value": "min" 927 }, 928 { 929 "text": "Max", 930 "value": "max" 931 } 932 ], 933 "datasource": "$datasource", 934 "editable": true, 935 "error": false, 936 "fieldConfig": { 937 "defaults": { 938 "custom": {} 939 }, 940 "overrides": [] 941 }, 942 "fontSize": "90%", 943 "gridPos": { 944 "h": 7, 945 "w": 8, 946 "x": 16, 947 "y": 28 948 }, 949 "id": 16, 950 "links": [], 951 "pageSize": null, 952 "scroll": true, 953 "showHeader": true, 954 "sort": { 955 "col": 0, 956 "desc": true 957 }, 958 "styles": [ 959 { 960 "align": "auto", 961 "dateFormat": "YYYY-MM-DD HH:mm:ss", 962 "pattern": "Time", 963 "type": "date" 964 }, 965 { 966 "align": "auto", 967 "colorMode": null, 968 "colors": [ 969 "rgba(245, 54, 54, 0.9)", 970 "rgba(237, 129, 40, 0.89)", 971 "rgba(50, 172, 45, 0.97)" 972 ], 973 "decimals": 2, 974 "pattern": "/.*/", 975 "thresholds": [], 976 "type": "number", 977 "unit": "short" 978 } 979 ], 980 "targets": [ 981 { 982 "expr": "rate(sql_ddl_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval])", 983 "format": "time_series", 984 "interval": "", 985 "intervalFactor": 2, 986 "legendFormat": "{{instance}}", 987 "metric": "", 988 "refId": "A", 989 "step": 240 990 } 991 ], 992 "title": "Schema Changes: $node", 993 "transform": "timeseries_aggregations", 994 "type": "table-old" 995 }, 996 { 997 "aliasColors": {}, 998 "bars": false, 999 "dashLength": 10, 1000 "dashes": false, 1001 "datasource": "$datasource", 1002 "editable": true, 1003 "error": false, 1004 "fieldConfig": { 1005 "defaults": { 1006 "custom": {} 1007 }, 1008 "overrides": [] 1009 }, 1010 "fill": 1, 1011 "fillGradient": 0, 1012 "grid": {}, 1013 "gridPos": { 1014 "h": 7, 1015 "w": 16, 1016 "x": 0, 1017 "y": 35 1018 }, 1019 "hiddenSeries": false, 1020 "id": 10, 1021 "legend": { 1022 "avg": false, 1023 "current": false, 1024 "max": false, 1025 "min": false, 1026 "show": true, 1027 "total": false, 1028 "values": false 1029 }, 1030 "lines": true, 1031 "linewidth": 2, 1032 "links": [], 1033 "nullPointMode": "null as zero", 1034 "percentage": false, 1035 "pluginVersion": "7.1.5", 1036 "pointradius": 5, 1037 "points": false, 1038 "renderer": "flot", 1039 "seriesOverrides": [], 1040 "spaceLength": 10, 1041 "stack": false, 1042 "steppedLine": false, 1043 "targets": [ 1044 { 1045 "expr": "sum(rate(sql_txn_begin_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 1046 "format": "time_series", 1047 "interval": "", 1048 "intervalFactor": 2, 1049 "legendFormat": "begin", 1050 "metric": "", 1051 "refId": "A", 1052 "step": 240 1053 }, 1054 { 1055 "expr": "sum(rate(sql_txn_commit_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 1056 "format": "time_series", 1057 "interval": "", 1058 "intervalFactor": 2, 1059 "legendFormat": "commit", 1060 "refId": "B", 1061 "step": 240 1062 }, 1063 { 1064 "expr": "sum(rate(sql_txn_abort_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 1065 "format": "time_series", 1066 "interval": "", 1067 "intervalFactor": 2, 1068 "legendFormat": "abort", 1069 "refId": "C", 1070 "step": 240 1071 }, 1072 { 1073 "expr": "sum(rate(sql_txn_rollback_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 1074 "format": "time_series", 1075 "interval": "", 1076 "intervalFactor": 2, 1077 "legendFormat": "rollback", 1078 "refId": "D", 1079 "step": 240 1080 } 1081 ], 1082 "thresholds": [], 1083 "timeFrom": null, 1084 "timeRegions": [], 1085 "timeShift": null, 1086 "title": "Transactions: $node", 1087 "tooltip": { 1088 "msResolution": false, 1089 "shared": true, 1090 "sort": 0, 1091 "value_type": "cumulative" 1092 }, 1093 "type": "graph", 1094 "xaxis": { 1095 "buckets": null, 1096 "mode": "time", 1097 "name": null, 1098 "show": true, 1099 "values": [] 1100 }, 1101 "yaxes": [ 1102 { 1103 "format": "short", 1104 "label": null, 1105 "logBase": 1, 1106 "max": null, 1107 "min": 0, 1108 "show": true 1109 }, 1110 { 1111 "format": "short", 1112 "label": null, 1113 "logBase": 1, 1114 "max": null, 1115 "min": null, 1116 "show": true 1117 } 1118 ], 1119 "yaxis": { 1120 "align": false, 1121 "alignLevel": null 1122 } 1123 }, 1124 { 1125 "aliasColors": {}, 1126 "bars": false, 1127 "dashLength": 10, 1128 "dashes": false, 1129 "datasource": "$datasource", 1130 "editable": true, 1131 "error": false, 1132 "fieldConfig": { 1133 "defaults": { 1134 "custom": {} 1135 }, 1136 "overrides": [] 1137 }, 1138 "fill": 1, 1139 "grid": {}, 1140 "gridPos": { 1141 "h": 7, 1142 "w": 16, 1143 "x": 0, 1144 "y": 42 1145 }, 1146 "id": 11, 1147 "legend": { 1148 "avg": false, 1149 "current": false, 1150 "max": false, 1151 "min": false, 1152 "show": true, 1153 "total": false, 1154 "values": false 1155 }, 1156 "lines": true, 1157 "linewidth": 2, 1158 "links": [], 1159 "nullPointMode": "null as zero", 1160 "percentage": false, 1161 "pluginVersion": "7.1.5", 1162 "pointradius": 5, 1163 "points": false, 1164 "renderer": "flot", 1165 "seriesOverrides": [], 1166 "spaceLength": 10, 1167 "stack": false, 1168 "steppedLine": false, 1169 "targets": [ 1170 { 1171 "expr": "sum(rate(sql_ddl_count{job=\"$job\",cluster=\"$cluster\",instance=~\"$node\"}[$rate_interval]))", 1172 "format": "time_series", 1173 "interval": "", 1174 "intervalFactor": 2, 1175 "legendFormat": "DDL", 1176 "metric": "", 1177 "refId": "A", 1178 "step": 240 1179 } 1180 ], 1181 "thresholds": [], 1182 "timeFrom": null, 1183 "timeShift": null, 1184 "title": "Schema changes: $node", 1185 "tooltip": { 1186 "msResolution": false, 1187 "shared": true, 1188 "sort": 0, 1189 "value_type": "cumulative" 1190 }, 1191 "type": "graph", 1192 "xaxis": { 1193 "buckets": null, 1194 "mode": "time", 1195 "name": null, 1196 "show": true, 1197 "values": [] 1198 }, 1199 "yaxes": [ 1200 { 1201 "format": "short", 1202 "label": null, 1203 "logBase": 1, 1204 "max": null, 1205 "min": 0, 1206 "show": true 1207 }, 1208 { 1209 "format": "short", 1210 "label": null, 1211 "logBase": 1, 1212 "max": null, 1213 "min": null, 1214 "show": true 1215 } 1216 ] 1217 } 1218 ], 1219 "refresh": false, 1220 "schemaVersion": 26, 1221 "style": "dark", 1222 "tags": [ 1223 "cockroach" 1224 ], 1225 "templating": { 1226 "list": [ 1227 { 1228 "current": { 1229 "selected": false, 1230 "text": "caos-prometheus", 1231 "value": "caos-prometheus" 1232 }, 1233 "hide": 0, 1234 "includeAll": false, 1235 "label": null, 1236 "multi": false, 1237 "name": "datasource", 1238 "options": [], 1239 "query": "prometheus", 1240 "refresh": 1, 1241 "regex": "", 1242 "skipUrlSync": false, 1243 "type": "datasource" 1244 }, 1245 { 1246 "auto": false, 1247 "auto_count": 30, 1248 "auto_min": "10s", 1249 "current": { 1250 "selected": false, 1251 "text": "30s", 1252 "value": "30s" 1253 }, 1254 "datasource": null, 1255 "hide": 0, 1256 "includeAll": false, 1257 "label": "Rate Interval", 1258 "multi": false, 1259 "name": "rate_interval", 1260 "options": [ 1261 { 1262 "selected": true, 1263 "text": "30s", 1264 "value": "30s" 1265 }, 1266 { 1267 "selected": false, 1268 "text": "1m", 1269 "value": "1m" 1270 }, 1271 { 1272 "selected": false, 1273 "text": "5m", 1274 "value": "5m" 1275 }, 1276 { 1277 "selected": false, 1278 "text": "10m", 1279 "value": "10m" 1280 }, 1281 { 1282 "selected": false, 1283 "text": "30m", 1284 "value": "30m" 1285 }, 1286 { 1287 "selected": false, 1288 "text": "1h", 1289 "value": "1h" 1290 }, 1291 { 1292 "selected": false, 1293 "text": "6h", 1294 "value": "6h" 1295 }, 1296 { 1297 "selected": false, 1298 "text": "12h", 1299 "value": "12h" 1300 }, 1301 { 1302 "selected": false, 1303 "text": "1d", 1304 "value": "1d" 1305 } 1306 ], 1307 "query": "30s,1m,5m,10m,30m,1h,6h,12h,1d", 1308 "refresh": 2, 1309 "skipUrlSync": false, 1310 "type": "interval" 1311 }, 1312 { 1313 "allValue": null, 1314 "current": { 1315 "selected": false, 1316 "text": "cockroachdb-public", 1317 "value": "cockroachdb-public" 1318 }, 1319 "datasource": "$datasource", 1320 "definition": "label_values(sys_uptime, job)", 1321 "hide": 0, 1322 "includeAll": false, 1323 "label": null, 1324 "multi": false, 1325 "name": "job", 1326 "options": [], 1327 "query": "label_values(sys_uptime, job)", 1328 "refresh": 1, 1329 "regex": "", 1330 "skipUrlSync": false, 1331 "sort": 1, 1332 "tagValuesQuery": "", 1333 "tags": [], 1334 "tagsQuery": "", 1335 "type": "query", 1336 "useTags": false 1337 }, 1338 { 1339 "allValue": null, 1340 "current": { 1341 "isNone": true, 1342 "selected": true, 1343 "text": "None", 1344 "value": "" 1345 }, 1346 "datasource": "$datasource", 1347 "definition": "sys_uptime{job=\"$job\"}", 1348 "hide": 0, 1349 "includeAll": false, 1350 "label": "Cluster name", 1351 "multi": false, 1352 "name": "cluster", 1353 "options": [], 1354 "query": "sys_uptime{job=\"$job\"}", 1355 "refresh": 1, 1356 "regex": "/cluster=\"([^\"]+)\"/", 1357 "skipUrlSync": false, 1358 "sort": 1, 1359 "tagValuesQuery": "", 1360 "tags": [], 1361 "tagsQuery": "", 1362 "type": "query", 1363 "useTags": false 1364 }, 1365 { 1366 "allValue": ".*", 1367 "current": { 1368 "selected": true, 1369 "text": "All", 1370 "value": "$__all" 1371 }, 1372 "datasource": "$datasource", 1373 "definition": "label_values(sys_uptime{job=\"$job\",cluster=\"$cluster\"},instance)", 1374 "hide": 0, 1375 "includeAll": true, 1376 "label": "Node", 1377 "multi": false, 1378 "name": "node", 1379 "options": [], 1380 "query": "label_values(sys_uptime{job=\"$job\",cluster=\"$cluster\"},instance)", 1381 "refresh": 1, 1382 "regex": "", 1383 "skipUrlSync": false, 1384 "sort": 3, 1385 "tagValuesQuery": "", 1386 "tags": [], 1387 "tagsQuery": "", 1388 "type": "query", 1389 "useTags": false 1390 } 1391 ] 1392 }, 1393 "time": { 1394 "from": "now-24h", 1395 "to": "now" 1396 }, 1397 "timepicker": { 1398 "refresh_intervals": [ 1399 "5s", 1400 "10s", 1401 "30s", 1402 "1m", 1403 "5m", 1404 "15m", 1405 "30m", 1406 "1h", 1407 "2h", 1408 "1d" 1409 ], 1410 "time_options": [ 1411 "5m", 1412 "15m", 1413 "1h", 1414 "6h", 1415 "12h", 1416 "24h", 1417 "2d", 1418 "7d", 1419 "30d" 1420 ] 1421 }, 1422 "timezone": "utc", 1423 "title": "Cockroach SQL", 1424 "uid": "000000004", 1425 "version": 1 1426 }