github.com/polarismesh/polaris@v1.17.8/release/standalone/docker-compose/grafana/dashboards/polaris-server.json (about) 1 { 2 "__inputs": [ 3 { 4 "name": "Prometheus", 5 "label": "Prometheus", 6 "description": "", 7 "type": "datasource", 8 "pluginId": "prometheus", 9 "pluginName": "Prometheus" 10 } 11 ], 12 "__requires": [ 13 { 14 "type": "grafana", 15 "id": "grafana", 16 "name": "Grafana", 17 "version": "6.3.5" 18 }, 19 { 20 "type": "panel", 21 "id": "graph", 22 "name": "Graph", 23 "version": "" 24 }, 25 { 26 "type": "datasource", 27 "id": "prometheus", 28 "name": "Prometheus", 29 "version": "1.0.0" 30 } 31 ], 32 "annotations": { 33 "list": [ 34 { 35 "builtIn": 1, 36 "datasource": "-- Grafana --", 37 "enable": true, 38 "hide": true, 39 "iconColor": "rgba(0, 211, 255, 1)", 40 "name": "Annotations & Alerts", 41 "type": "dashboard" 42 } 43 ] 44 }, 45 "editable": true, 46 "gnetId": 10826, 47 "graphTooltip": 0, 48 "id": null, 49 "iteration": 1567755378675, 50 "links": [], 51 "panels": [ 52 { 53 "aliasColors": {}, 54 "bars": false, 55 "dashLength": 10, 56 "dashes": false, 57 "fill": 1, 58 "fillGradient": 0, 59 "gridPos": { 60 "h": 8, 61 "w": 12, 62 "x": 0, 63 "y": 0 64 }, 65 "id": 26, 66 "legend": { 67 "avg": false, 68 "current": false, 69 "max": false, 70 "min": false, 71 "show": true, 72 "total": false, 73 "values": false 74 }, 75 "lines": true, 76 "linewidth": 1, 77 "links": [], 78 "nullPointMode": "null", 79 "options": { 80 "dataLinks": [] 81 }, 82 "percentage": false, 83 "pointradius": 2, 84 "points": false, 85 "renderer": "flot", 86 "seriesOverrides": [], 87 "spaceLength": 10, 88 "stack": false, 89 "steppedLine": false, 90 "targets": [ 91 { 92 "expr": "go_memstats_mspan_inuse_bytes", 93 "format": "time_series", 94 "intervalFactor": 1, 95 "refId": "A" 96 }, 97 { 98 "expr": "go_memstats_mspan_sys_bytes", 99 "format": "time_series", 100 "intervalFactor": 1, 101 "refId": "B" 102 }, 103 { 104 "expr": "go_memstats_mcache_inuse_bytes", 105 "format": "time_series", 106 "intervalFactor": 1, 107 "refId": "C" 108 }, 109 { 110 "expr": "go_memstats_mcache_sys_bytes", 111 "format": "time_series", 112 "intervalFactor": 1, 113 "refId": "D" 114 }, 115 { 116 "expr": "go_memstats_buck_hash_sys_bytes", 117 "format": "time_series", 118 "intervalFactor": 1, 119 "refId": "E" 120 }, 121 { 122 "expr": "go_memstats_gc_sys_bytes", 123 "format": "time_series", 124 "intervalFactor": 1, 125 "refId": "F" 126 }, 127 { 128 "expr": "go_memstats_other_sys_bytes - go_memstats_other_sys_bytes", 129 "format": "time_series", 130 "intervalFactor": 1, 131 "legendFormat": "bytes of memory are used for other runtime allocations {pod={{kubernetes_pod_name}}}", 132 "refId": "G" 133 }, 134 { 135 "expr": "go_memstats_next_gc_bytes", 136 "format": "time_series", 137 "intervalFactor": 1, 138 "refId": "H" 139 } 140 ], 141 "thresholds": [], 142 "timeFrom": null, 143 "timeRegions": [], 144 "timeShift": null, 145 "title": "Memory in Off-Heap", 146 "tooltip": { 147 "shared": true, 148 "sort": 0, 149 "value_type": "individual" 150 }, 151 "type": "graph", 152 "xaxis": { 153 "buckets": null, 154 "mode": "time", 155 "name": null, 156 "show": true, 157 "values": [] 158 }, 159 "yaxes": [ 160 { 161 "format": "decbytes", 162 "label": null, 163 "logBase": 1, 164 "max": null, 165 "min": null, 166 "show": true 167 }, 168 { 169 "format": "short", 170 "label": null, 171 "logBase": 1, 172 "max": null, 173 "min": null, 174 "show": false 175 } 176 ], 177 "yaxis": { 178 "align": false, 179 "alignLevel": null 180 } 181 }, 182 { 183 "aliasColors": {}, 184 "bars": false, 185 "dashLength": 10, 186 "dashes": false, 187 "fill": 1, 188 "fillGradient": 0, 189 "gridPos": { 190 "h": 8, 191 "w": 12, 192 "x": 12, 193 "y": 0 194 }, 195 "id": 12, 196 "legend": { 197 "avg": false, 198 "current": false, 199 "max": false, 200 "min": false, 201 "show": true, 202 "total": false, 203 "values": false 204 }, 205 "lines": true, 206 "linewidth": 1, 207 "links": [], 208 "nullPointMode": "null", 209 "options": { 210 "dataLinks": [] 211 }, 212 "percentage": false, 213 "pointradius": 2, 214 "points": false, 215 "renderer": "flot", 216 "seriesOverrides": [], 217 "spaceLength": 10, 218 "stack": false, 219 "steppedLine": false, 220 "targets": [ 221 { 222 "expr": "go_memstats_heap_alloc_bytes", 223 "format": "time_series", 224 "intervalFactor": 1, 225 "refId": "B" 226 }, 227 { 228 "expr": "go_memstats_heap_sys_bytes", 229 "format": "time_series", 230 "intervalFactor": 1, 231 "refId": "A" 232 }, 233 { 234 "expr": "go_memstats_heap_idle_bytes", 235 "format": "time_series", 236 "intervalFactor": 1, 237 "refId": "C" 238 }, 239 { 240 "expr": "go_memstats_heap_inuse_bytes", 241 "format": "time_series", 242 "intervalFactor": 1, 243 "legendFormat": "", 244 "refId": "D" 245 }, 246 { 247 "expr": "go_memstats_heap_released_bytes", 248 "format": "time_series", 249 "intervalFactor": 1, 250 "refId": "E" 251 } 252 ], 253 "thresholds": [], 254 "timeFrom": null, 255 "timeRegions": [], 256 "timeShift": null, 257 "title": "Memory in Heap", 258 "tooltip": { 259 "shared": true, 260 "sort": 0, 261 "value_type": "individual" 262 }, 263 "type": "graph", 264 "xaxis": { 265 "buckets": null, 266 "mode": "time", 267 "name": null, 268 "show": true, 269 "values": [] 270 }, 271 "yaxes": [ 272 { 273 "format": "decbytes", 274 "label": null, 275 "logBase": 1, 276 "max": null, 277 "min": null, 278 "show": true 279 }, 280 { 281 "format": "short", 282 "label": null, 283 "logBase": 1, 284 "max": null, 285 "min": null, 286 "show": true 287 } 288 ], 289 "yaxis": { 290 "align": false, 291 "alignLevel": null 292 } 293 }, 294 { 295 "aliasColors": {}, 296 "bars": false, 297 "dashLength": 10, 298 "dashes": false, 299 "fill": 1, 300 "fillGradient": 0, 301 "gridPos": { 302 "h": 8, 303 "w": 12, 304 "x": 0, 305 "y": 8 306 }, 307 "id": 24, 308 "legend": { 309 "avg": false, 310 "current": false, 311 "max": false, 312 "min": false, 313 "show": true, 314 "total": false, 315 "values": false 316 }, 317 "lines": true, 318 "linewidth": 1, 319 "links": [], 320 "nullPointMode": "null", 321 "options": { 322 "dataLinks": [] 323 }, 324 "percentage": false, 325 "pointradius": 2, 326 "points": false, 327 "renderer": "flot", 328 "seriesOverrides": [], 329 "spaceLength": 10, 330 "stack": false, 331 "steppedLine": false, 332 "targets": [ 333 { 334 "expr": "go_memstats_stack_inuse_bytes", 335 "format": "time_series", 336 "intervalFactor": 1, 337 "refId": "A" 338 }, 339 { 340 "expr": "go_memstats_stack_sys_bytes", 341 "format": "time_series", 342 "intervalFactor": 1, 343 "refId": "B" 344 } 345 ], 346 "thresholds": [], 347 "timeFrom": null, 348 "timeRegions": [], 349 "timeShift": null, 350 "title": "Memory in Stack", 351 "tooltip": { 352 "shared": true, 353 "sort": 0, 354 "value_type": "individual" 355 }, 356 "type": "graph", 357 "xaxis": { 358 "buckets": null, 359 "mode": "time", 360 "name": null, 361 "show": true, 362 "values": [] 363 }, 364 "yaxes": [ 365 { 366 "format": "decbytes", 367 "label": null, 368 "logBase": 1, 369 "max": null, 370 "min": null, 371 "show": true 372 }, 373 { 374 "format": "short", 375 "label": null, 376 "logBase": 1, 377 "max": null, 378 "min": null, 379 "show": true 380 } 381 ], 382 "yaxis": { 383 "align": false, 384 "alignLevel": null 385 } 386 }, 387 { 388 "aliasColors": {}, 389 "bars": false, 390 "dashLength": 10, 391 "dashes": false, 392 "fill": 1, 393 "fillGradient": 0, 394 "gridPos": { 395 "h": 8, 396 "w": 12, 397 "x": 12, 398 "y": 8 399 }, 400 "id": 16, 401 "legend": { 402 "avg": false, 403 "current": false, 404 "max": false, 405 "min": false, 406 "show": true, 407 "total": false, 408 "values": false 409 }, 410 "lines": true, 411 "linewidth": 1, 412 "links": [], 413 "nullPointMode": "null", 414 "options": { 415 "dataLinks": [] 416 }, 417 "percentage": false, 418 "pointradius": 2, 419 "points": false, 420 "renderer": "flot", 421 "seriesOverrides": [], 422 "spaceLength": 10, 423 "stack": false, 424 "steppedLine": false, 425 "targets": [ 426 { 427 "expr": "go_memstats_sys_bytes", 428 "format": "time_series", 429 "intervalFactor": 1, 430 "refId": "A" 431 } 432 ], 433 "thresholds": [], 434 "timeFrom": null, 435 "timeRegions": [], 436 "timeShift": null, 437 "title": "Total Used Memory", 438 "tooltip": { 439 "shared": true, 440 "sort": 0, 441 "value_type": "individual" 442 }, 443 "type": "graph", 444 "xaxis": { 445 "buckets": null, 446 "mode": "time", 447 "name": null, 448 "show": true, 449 "values": [] 450 }, 451 "yaxes": [ 452 { 453 "format": "decbytes", 454 "label": null, 455 "logBase": 1, 456 "max": null, 457 "min": null, 458 "show": true 459 }, 460 { 461 "format": "short", 462 "label": null, 463 "logBase": 1, 464 "max": null, 465 "min": null, 466 "show": true 467 } 468 ], 469 "yaxis": { 470 "align": false, 471 "alignLevel": null 472 } 473 }, 474 { 475 "aliasColors": {}, 476 "bars": false, 477 "dashLength": 10, 478 "dashes": false, 479 "fill": 1, 480 "fillGradient": 0, 481 "gridPos": { 482 "h": 8, 483 "w": 12, 484 "x": 0, 485 "y": 16 486 }, 487 "id": 22, 488 "legend": { 489 "alignAsTable": false, 490 "avg": false, 491 "current": false, 492 "max": false, 493 "min": false, 494 "rightSide": false, 495 "show": true, 496 "total": false, 497 "values": false 498 }, 499 "lines": true, 500 "linewidth": 1, 501 "links": [], 502 "nullPointMode": "null", 503 "options": { 504 "dataLinks": [] 505 }, 506 "percentage": false, 507 "pointradius": 2, 508 "points": false, 509 "renderer": "flot", 510 "seriesOverrides": [], 511 "spaceLength": 10, 512 "stack": false, 513 "steppedLine": false, 514 "targets": [ 515 { 516 "expr": "go_memstats_mallocs_total - go_memstats_frees_total", 517 "format": "time_series", 518 "intervalFactor": 1, 519 "refId": "A" 520 } 521 ], 522 "thresholds": [], 523 "timeFrom": null, 524 "timeRegions": [], 525 "timeShift": null, 526 "title": "Number of Live Objects", 527 "tooltip": { 528 "shared": true, 529 "sort": 0, 530 "value_type": "individual" 531 }, 532 "type": "graph", 533 "xaxis": { 534 "buckets": null, 535 "mode": "time", 536 "name": null, 537 "show": true, 538 "values": [] 539 }, 540 "yaxes": [ 541 { 542 "format": "short", 543 "label": null, 544 "logBase": 1, 545 "max": null, 546 "min": null, 547 "show": true 548 }, 549 { 550 "format": "short", 551 "label": null, 552 "logBase": 1, 553 "max": null, 554 "min": null, 555 "show": false 556 } 557 ], 558 "yaxis": { 559 "align": false, 560 "alignLevel": null 561 } 562 }, 563 { 564 "aliasColors": {}, 565 "bars": false, 566 "dashLength": 10, 567 "dashes": false, 568 "description": "shows how many heap objects are allocated. This is a counter value so you can use rate() to objects allocated/s.", 569 "fill": 1, 570 "fillGradient": 0, 571 "gridPos": { 572 "h": 8, 573 "w": 12, 574 "x": 12, 575 "y": 16 576 }, 577 "id": 20, 578 "legend": { 579 "avg": false, 580 "current": false, 581 "max": false, 582 "min": false, 583 "show": true, 584 "total": false, 585 "values": false 586 }, 587 "lines": true, 588 "linewidth": 1, 589 "links": [], 590 "nullPointMode": "null", 591 "options": { 592 "dataLinks": [] 593 }, 594 "percentage": false, 595 "pointradius": 2, 596 "points": false, 597 "renderer": "flot", 598 "seriesOverrides": [], 599 "spaceLength": 10, 600 "stack": false, 601 "steppedLine": false, 602 "targets": [ 603 { 604 "expr": "rate(go_memstats_mallocs_total[1m])", 605 "format": "time_series", 606 "intervalFactor": 1, 607 "refId": "A" 608 } 609 ], 610 "thresholds": [], 611 "timeFrom": null, 612 "timeRegions": [], 613 "timeShift": null, 614 "title": "Rate of Objects Allocated", 615 "tooltip": { 616 "shared": true, 617 "sort": 0, 618 "value_type": "individual" 619 }, 620 "type": "graph", 621 "xaxis": { 622 "buckets": null, 623 "mode": "time", 624 "name": null, 625 "show": true, 626 "values": [] 627 }, 628 "yaxes": [ 629 { 630 "format": "short", 631 "label": null, 632 "logBase": 1, 633 "max": null, 634 "min": null, 635 "show": true 636 }, 637 { 638 "format": "short", 639 "label": null, 640 "logBase": 1, 641 "max": null, 642 "min": null, 643 "show": true 644 } 645 ], 646 "yaxis": { 647 "align": false, 648 "alignLevel": null 649 } 650 }, 651 { 652 "aliasColors": {}, 653 "bars": false, 654 "dashLength": 10, 655 "dashes": false, 656 "description": "go_memstats_lookups_total – counts how many pointer dereferences happened. This is a counter value so you can use rate() to lookups/s.", 657 "fill": 1, 658 "fillGradient": 0, 659 "gridPos": { 660 "h": 8, 661 "w": 12, 662 "x": 0, 663 "y": 24 664 }, 665 "id": 18, 666 "legend": { 667 "avg": false, 668 "current": false, 669 "max": false, 670 "min": false, 671 "show": true, 672 "total": false, 673 "values": false 674 }, 675 "lines": true, 676 "linewidth": 1, 677 "links": [], 678 "nullPointMode": "null", 679 "options": { 680 "dataLinks": [] 681 }, 682 "percentage": false, 683 "pointradius": 2, 684 "points": false, 685 "renderer": "flot", 686 "seriesOverrides": [], 687 "spaceLength": 10, 688 "stack": false, 689 "steppedLine": false, 690 "targets": [ 691 { 692 "expr": "rate(go_memstats_lookups_total[1m])", 693 "format": "time_series", 694 "intervalFactor": 1, 695 "refId": "A" 696 } 697 ], 698 "thresholds": [], 699 "timeFrom": null, 700 "timeRegions": [], 701 "timeShift": null, 702 "title": "Rate of a Pointer Dereferences", 703 "tooltip": { 704 "shared": true, 705 "sort": 0, 706 "value_type": "individual" 707 }, 708 "type": "graph", 709 "xaxis": { 710 "buckets": null, 711 "mode": "time", 712 "name": null, 713 "show": true, 714 "values": [] 715 }, 716 "yaxes": [ 717 { 718 "format": "ops", 719 "label": null, 720 "logBase": 1, 721 "max": null, 722 "min": null, 723 "show": true 724 }, 725 { 726 "format": "short", 727 "label": null, 728 "logBase": 1, 729 "max": null, 730 "min": null, 731 "show": true 732 } 733 ], 734 "yaxis": { 735 "align": false, 736 "alignLevel": null 737 } 738 }, 739 { 740 "aliasColors": {}, 741 "bars": false, 742 "dashLength": 10, 743 "dashes": false, 744 "fill": 1, 745 "fillGradient": 0, 746 "gridPos": { 747 "h": 8, 748 "w": 12, 749 "x": 12, 750 "y": 24 751 }, 752 "id": 8, 753 "legend": { 754 "avg": false, 755 "current": false, 756 "max": false, 757 "min": false, 758 "show": true, 759 "total": false, 760 "values": false 761 }, 762 "lines": true, 763 "linewidth": 1, 764 "links": [], 765 "nullPointMode": "null", 766 "options": { 767 "dataLinks": [] 768 }, 769 "percentage": false, 770 "pointradius": 2, 771 "points": false, 772 "renderer": "flot", 773 "seriesOverrides": [], 774 "spaceLength": 10, 775 "stack": false, 776 "steppedLine": false, 777 "targets": [ 778 { 779 "expr": "go_goroutines", 780 "format": "time_series", 781 "intervalFactor": 1, 782 "refId": "A" 783 } 784 ], 785 "thresholds": [], 786 "timeFrom": null, 787 "timeRegions": [], 788 "timeShift": null, 789 "title": "Goroutines", 790 "tooltip": { 791 "shared": true, 792 "sort": 0, 793 "value_type": "individual" 794 }, 795 "type": "graph", 796 "xaxis": { 797 "buckets": null, 798 "mode": "time", 799 "name": null, 800 "show": true, 801 "values": [] 802 }, 803 "yaxes": [ 804 { 805 "format": "short", 806 "label": null, 807 "logBase": 1, 808 "max": null, 809 "min": null, 810 "show": true 811 }, 812 { 813 "format": "short", 814 "label": null, 815 "logBase": 1, 816 "max": null, 817 "min": null, 818 "show": true 819 } 820 ], 821 "yaxis": { 822 "align": false, 823 "alignLevel": null 824 } 825 }, 826 { 827 "aliasColors": {}, 828 "bars": false, 829 "dashLength": 10, 830 "dashes": false, 831 "fill": 1, 832 "fillGradient": 0, 833 "gridPos": { 834 "h": 8, 835 "w": 12, 836 "x": 0, 837 "y": 32 838 }, 839 "id": 14, 840 "legend": { 841 "avg": false, 842 "current": false, 843 "max": false, 844 "min": false, 845 "show": true, 846 "total": false, 847 "values": false 848 }, 849 "lines": true, 850 "linewidth": 1, 851 "links": [], 852 "nullPointMode": "null", 853 "options": { 854 "dataLinks": [] 855 }, 856 "percentage": false, 857 "pointradius": 1, 858 "points": true, 859 "renderer": "flot", 860 "seriesOverrides": [], 861 "spaceLength": 10, 862 "stack": false, 863 "steppedLine": false, 864 "targets": [ 865 { 866 "expr": "rate(go_memstats_alloc_bytes_total[1m])", 867 "format": "time_series", 868 "intervalFactor": 1, 869 "refId": "A" 870 } 871 ], 872 "thresholds": [], 873 "timeFrom": null, 874 "timeRegions": [], 875 "timeShift": null, 876 "title": "Rates of Allocation", 877 "tooltip": { 878 "shared": true, 879 "sort": 0, 880 "value_type": "individual" 881 }, 882 "type": "graph", 883 "xaxis": { 884 "buckets": null, 885 "mode": "time", 886 "name": null, 887 "show": true, 888 "values": [] 889 }, 890 "yaxes": [ 891 { 892 "format": "Bps", 893 "label": null, 894 "logBase": 1, 895 "max": null, 896 "min": null, 897 "show": true 898 }, 899 { 900 "format": "short", 901 "label": null, 902 "logBase": 1, 903 "max": null, 904 "min": null, 905 "show": false 906 } 907 ], 908 "yaxis": { 909 "align": false, 910 "alignLevel": null 911 } 912 }, 913 { 914 "aliasColors": {}, 915 "bars": false, 916 "dashLength": 10, 917 "dashes": false, 918 "fill": 1, 919 "fillGradient": 0, 920 "gridPos": { 921 "h": 8, 922 "w": 12, 923 "x": 12, 924 "y": 32 925 }, 926 "id": 4, 927 "legend": { 928 "alignAsTable": false, 929 "avg": false, 930 "current": false, 931 "max": false, 932 "min": false, 933 "show": true, 934 "total": false, 935 "values": false 936 }, 937 "lines": true, 938 "linewidth": 1, 939 "links": [], 940 "nullPointMode": "null", 941 "options": { 942 "dataLinks": [] 943 }, 944 "percentage": false, 945 "pointradius": 2, 946 "points": false, 947 "renderer": "flot", 948 "seriesOverrides": [], 949 "spaceLength": 10, 950 "stack": false, 951 "steppedLine": false, 952 "targets": [ 953 { 954 "expr": "go_gc_duration_seconds", 955 "format": "time_series", 956 "intervalFactor": 1, 957 "refId": "A" 958 } 959 ], 960 "thresholds": [], 961 "timeFrom": null, 962 "timeRegions": [], 963 "timeShift": null, 964 "title": "GC duration quantile", 965 "tooltip": { 966 "shared": true, 967 "sort": 0, 968 "value_type": "individual" 969 }, 970 "type": "graph", 971 "xaxis": { 972 "buckets": null, 973 "mode": "time", 974 "name": null, 975 "show": true, 976 "values": [] 977 }, 978 "yaxes": [ 979 { 980 "format": "ms", 981 "label": null, 982 "logBase": 1, 983 "max": null, 984 "min": null, 985 "show": true 986 }, 987 { 988 "format": "short", 989 "label": null, 990 "logBase": 1, 991 "max": null, 992 "min": null, 993 "show": true 994 } 995 ], 996 "yaxis": { 997 "align": false, 998 "alignLevel": null 999 } 1000 } 1001 ], 1002 "refresh": "5s", 1003 "schemaVersion": 19, 1004 "style": "dark", 1005 "tags": [ 1006 "go", 1007 "golang" 1008 ], 1009 "templating": {}, 1010 "time": { 1011 "from": "now-1h", 1012 "to": "now" 1013 }, 1014 "timepicker": { 1015 "refresh_intervals": [ 1016 "5s", 1017 "10s", 1018 "30s", 1019 "1m", 1020 "5m", 1021 "15m", 1022 "30m", 1023 "1h", 1024 "2h", 1025 "1d" 1026 ], 1027 "time_options": [ 1028 "5m", 1029 "15m", 1030 "1h", 1031 "6h", 1032 "12h", 1033 "24h", 1034 "2d", 1035 "7d", 1036 "30d" 1037 ] 1038 }, 1039 "timezone": "", 1040 "title": "Polaris Server Runtime metrics", 1041 "uid": "CgCw8jKZz", 1042 "version": 4, 1043 "description": "Polaris Golang Server Runtime metrics" 1044 }