envoy-clusters.json (58287B)
1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": { 7 "type": "datasource", 8 "uid": "grafana" 9 }, 10 "enable": true, 11 "hide": true, 12 "iconColor": "rgba(0, 211, 255, 1)", 13 "name": "Annotations & Alerts", 14 "type": "dashboard" 15 } 16 ] 17 }, 18 "description": "Envoy proxy monitoring Dashboard with cluster and service level templates. ", 19 "editable": true, 20 "fiscalYearStartMonth": 0, 21 "gnetId": 11021, 22 "graphTooltip": 0, 23 "id": 2, 24 "links": [], 25 "liveNow": false, 26 "panels": [ 27 { 28 "datasource": { 29 "type": "prometheus", 30 "uid": "$datasource" 31 }, 32 "fieldConfig": { 33 "defaults": { 34 "color": { 35 "mode": "thresholds" 36 }, 37 "mappings": [ 38 { 39 "options": { 40 "match": "null", 41 "result": { 42 "text": "N/A" 43 } 44 }, 45 "type": "special" 46 } 47 ], 48 "max": 3, 49 "min": 0, 50 "thresholds": { 51 "mode": "absolute", 52 "steps": [ 53 { 54 "color": "#d44a3a", 55 "value": null 56 }, 57 { 58 "color": "rgba(237, 129, 40, 0.89)", 59 "value": 1 60 }, 61 { 62 "color": "#299c46", 63 "value": 2 64 } 65 ] 66 }, 67 "unit": "none" 68 }, 69 "overrides": [] 70 }, 71 "gridPos": { 72 "h": 5, 73 "w": 5, 74 "x": 0, 75 "y": 0 76 }, 77 "id": 9, 78 "maxDataPoints": 100, 79 "options": { 80 "minVizHeight": 75, 81 "minVizWidth": 75, 82 "orientation": "horizontal", 83 "reduceOptions": { 84 "calcs": [ 85 "mean" 86 ], 87 "fields": "", 88 "values": false 89 }, 90 "showThresholdLabels": false, 91 "showThresholdMarkers": true, 92 "sizing": "auto" 93 }, 94 "pluginVersion": "11.0.0", 95 "targets": [ 96 { 97 "datasource": { 98 "uid": "$datasource" 99 }, 100 "editorMode": "code", 101 "expr": "sum(envoy_server_live{})", 102 "format": "time_series", 103 "interval": "", 104 "intervalFactor": 1, 105 "legendFormat": "", 106 "range": true, 107 "refId": "A" 108 } 109 ], 110 "title": "Live servers", 111 "type": "gauge" 112 }, 113 { 114 "datasource": { 115 "type": "prometheus", 116 "uid": "$datasource" 117 }, 118 "fieldConfig": { 119 "defaults": { 120 "color": { 121 "mode": "thresholds" 122 }, 123 "mappings": [ 124 { 125 "options": { 126 "match": "null", 127 "result": { 128 "text": "N/A" 129 } 130 }, 131 "type": "special" 132 } 133 ], 134 "thresholds": { 135 "mode": "absolute", 136 "steps": [ 137 { 138 "color": "green", 139 "value": null 140 }, 141 { 142 "color": "red", 143 "value": 80 144 } 145 ] 146 }, 147 "unit": "s" 148 }, 149 "overrides": [] 150 }, 151 "gridPos": { 152 "h": 5, 153 "w": 4, 154 "x": 5, 155 "y": 0 156 }, 157 "id": 12, 158 "maxDataPoints": 100, 159 "options": { 160 "colorMode": "value", 161 "graphMode": "none", 162 "justifyMode": "auto", 163 "orientation": "horizontal", 164 "reduceOptions": { 165 "calcs": [ 166 "mean" 167 ], 168 "fields": "", 169 "values": false 170 }, 171 "showPercentChange": false, 172 "textMode": "auto", 173 "wideLayout": true 174 }, 175 "pluginVersion": "11.0.0", 176 "targets": [ 177 { 178 "datasource": { 179 "uid": "$datasource" 180 }, 181 "editorMode": "code", 182 "expr": "avg(envoy_server_uptime)", 183 "format": "time_series", 184 "intervalFactor": 1, 185 "legendFormat": "", 186 "range": true, 187 "refId": "A" 188 } 189 ], 190 "title": "Avg uptime per node", 191 "type": "stat" 192 }, 193 { 194 "datasource": { 195 "type": "prometheus", 196 "uid": "$datasource" 197 }, 198 "fieldConfig": { 199 "defaults": { 200 "color": { 201 "mode": "thresholds" 202 }, 203 "mappings": [ 204 { 205 "options": { 206 "match": "null", 207 "result": { 208 "text": "N/A" 209 } 210 }, 211 "type": "special" 212 } 213 ], 214 "thresholds": { 215 "mode": "absolute", 216 "steps": [ 217 { 218 "color": "green", 219 "value": null 220 }, 221 { 222 "color": "red", 223 "value": 80 224 } 225 ] 226 }, 227 "unit": "decbytes" 228 }, 229 "overrides": [] 230 }, 231 "gridPos": { 232 "h": 5, 233 "w": 5, 234 "x": 9, 235 "y": 0 236 }, 237 "id": 11, 238 "maxDataPoints": 100, 239 "options": { 240 "colorMode": "none", 241 "graphMode": "none", 242 "justifyMode": "auto", 243 "orientation": "horizontal", 244 "reduceOptions": { 245 "calcs": [ 246 "mean" 247 ], 248 "fields": "", 249 "values": false 250 }, 251 "showPercentChange": false, 252 "textMode": "auto", 253 "wideLayout": true 254 }, 255 "pluginVersion": "11.0.0", 256 "targets": [ 257 { 258 "datasource": { 259 "uid": "$datasource" 260 }, 261 "editorMode": "builder", 262 "expr": "sum(envoy_server_memory_allocated{})", 263 "format": "time_series", 264 "intervalFactor": 1, 265 "legendFormat": "", 266 "range": true, 267 "refId": "A" 268 } 269 ], 270 "title": "Allocated Memory", 271 "type": "stat" 272 }, 273 { 274 "datasource": { 275 "type": "prometheus", 276 "uid": "$datasource" 277 }, 278 "fieldConfig": { 279 "defaults": { 280 "color": { 281 "mode": "thresholds" 282 }, 283 "mappings": [ 284 { 285 "options": { 286 "match": "null", 287 "result": { 288 "text": "N/A" 289 } 290 }, 291 "type": "special" 292 } 293 ], 294 "thresholds": { 295 "mode": "absolute", 296 "steps": [ 297 { 298 "color": "green", 299 "value": null 300 }, 301 { 302 "color": "red", 303 "value": 80 304 } 305 ] 306 }, 307 "unit": "decbytes" 308 }, 309 "overrides": [] 310 }, 311 "gridPos": { 312 "h": 5, 313 "w": 4, 314 "x": 14, 315 "y": 0 316 }, 317 "id": 13, 318 "maxDataPoints": 100, 319 "options": { 320 "colorMode": "none", 321 "graphMode": "none", 322 "justifyMode": "auto", 323 "orientation": "horizontal", 324 "reduceOptions": { 325 "calcs": [ 326 "mean" 327 ], 328 "fields": "", 329 "values": false 330 }, 331 "showPercentChange": false, 332 "textMode": "auto", 333 "wideLayout": true 334 }, 335 "pluginVersion": "11.0.0", 336 "targets": [ 337 { 338 "datasource": { 339 "uid": "$datasource" 340 }, 341 "editorMode": "code", 342 "expr": "sum(envoy_server_memory_heap_size)", 343 "format": "time_series", 344 "intervalFactor": 1, 345 "legendFormat": "", 346 "range": true, 347 "refId": "A" 348 } 349 ], 350 "title": "Heap Size", 351 "type": "stat" 352 }, 353 { 354 "datasource": { 355 "type": "prometheus", 356 "uid": "$datasource" 357 }, 358 "fieldConfig": { 359 "defaults": { 360 "color": { 361 "mode": "thresholds" 362 }, 363 "mappings": [ 364 { 365 "options": { 366 "match": "null", 367 "result": { 368 "text": "N/A" 369 } 370 }, 371 "type": "special" 372 } 373 ], 374 "thresholds": { 375 "mode": "absolute", 376 "steps": [ 377 { 378 "color": "green", 379 "value": null 380 }, 381 { 382 "color": "red", 383 "value": 80 384 } 385 ] 386 }, 387 "unit": "none" 388 }, 389 "overrides": [] 390 }, 391 "gridPos": { 392 "h": 5, 393 "w": 3, 394 "x": 18, 395 "y": 0 396 }, 397 "id": 19, 398 "maxDataPoints": 100, 399 "options": { 400 "colorMode": "none", 401 "graphMode": "none", 402 "justifyMode": "auto", 403 "orientation": "horizontal", 404 "reduceOptions": { 405 "calcs": [ 406 "mean" 407 ], 408 "fields": "", 409 "values": false 410 }, 411 "showPercentChange": false, 412 "textMode": "auto", 413 "wideLayout": true 414 }, 415 "pluginVersion": "11.0.0", 416 "targets": [ 417 { 418 "datasource": { 419 "uid": "$datasource" 420 }, 421 "editorMode": "code", 422 "expr": "(sum(envoy_cluster_membership_healthy{envoy_cluster_name=~\"$cluster\"}) - sum(envoy_cluster_membership_total{envoy_cluster_name=~\"$cluster\"}))", 423 "format": "time_series", 424 "intervalFactor": 1, 425 "legendFormat": "", 426 "range": true, 427 "refId": "A" 428 } 429 ], 430 "title": "Unhealthy Clusters", 431 "type": "stat" 432 }, 433 { 434 "datasource": { 435 "type": "prometheus", 436 "uid": "$datasource" 437 }, 438 "fieldConfig": { 439 "defaults": { 440 "color": { 441 "mode": "thresholds" 442 }, 443 "mappings": [ 444 { 445 "options": { 446 "0": { 447 "text": "NOT WELL" 448 }, 449 "1": { 450 "text": "OK" 451 } 452 }, 453 "type": "value" 454 }, 455 { 456 "options": { 457 "match": "null", 458 "result": { 459 "text": "N/A" 460 } 461 }, 462 "type": "special" 463 } 464 ], 465 "thresholds": { 466 "mode": "absolute", 467 "steps": [ 468 { 469 "color": "#d44a3a", 470 "value": null 471 }, 472 { 473 "color": "rgba(237, 129, 40, 0.89)", 474 "value": 0 475 }, 476 { 477 "color": "#299c46", 478 "value": 1 479 } 480 ] 481 }, 482 "unit": "none" 483 }, 484 "overrides": [] 485 }, 486 "gridPos": { 487 "h": 5, 488 "w": 3, 489 "x": 21, 490 "y": 0 491 }, 492 "id": 20, 493 "maxDataPoints": 100, 494 "options": { 495 "colorMode": "value", 496 "graphMode": "none", 497 "justifyMode": "auto", 498 "orientation": "horizontal", 499 "reduceOptions": { 500 "calcs": [ 501 "mean" 502 ], 503 "fields": "", 504 "values": false 505 }, 506 "showPercentChange": false, 507 "textMode": "auto", 508 "wideLayout": true 509 }, 510 "pluginVersion": "11.0.0", 511 "targets": [ 512 { 513 "datasource": { 514 "uid": "$datasource" 515 }, 516 "editorMode": "code", 517 "expr": "(sum(envoy_cluster_membership_total{envoy_cluster_name=~\"$cluster\"})-sum(envoy_cluster_membership_healthy{envoy_cluster_name=~\"$cluster\"})) == bool 0", 518 "format": "time_series", 519 "intervalFactor": 1, 520 "legendFormat": "", 521 "range": true, 522 "refId": "A" 523 } 524 ], 525 "title": "Cluster State", 526 "type": "stat" 527 }, 528 { 529 "datasource": { 530 "type": "prometheus", 531 "uid": "$datasource" 532 }, 533 "fieldConfig": { 534 "defaults": { 535 "color": { 536 "mode": "palette-classic" 537 }, 538 "custom": { 539 "axisBorderShow": false, 540 "axisCenteredZero": false, 541 "axisColorMode": "text", 542 "axisLabel": "", 543 "axisPlacement": "auto", 544 "barAlignment": 0, 545 "drawStyle": "line", 546 "fillOpacity": 10, 547 "gradientMode": "none", 548 "hideFrom": { 549 "legend": false, 550 "tooltip": false, 551 "viz": false 552 }, 553 "insertNulls": false, 554 "lineInterpolation": "linear", 555 "lineWidth": 1, 556 "pointSize": 5, 557 "scaleDistribution": { 558 "type": "linear" 559 }, 560 "showPoints": "never", 561 "spanNulls": false, 562 "stacking": { 563 "group": "A", 564 "mode": "none" 565 }, 566 "thresholdsStyle": { 567 "mode": "off" 568 } 569 }, 570 "links": [], 571 "mappings": [], 572 "thresholds": { 573 "mode": "absolute", 574 "steps": [ 575 { 576 "color": "green", 577 "value": null 578 }, 579 { 580 "color": "red", 581 "value": 80 582 } 583 ] 584 }, 585 "unit": "short" 586 }, 587 "overrides": [] 588 }, 589 "gridPos": { 590 "h": 7, 591 "w": 12, 592 "x": 0, 593 "y": 5 594 }, 595 "id": 2, 596 "options": { 597 "legend": { 598 "calcs": [], 599 "displayMode": "list", 600 "placement": "bottom", 601 "showLegend": true 602 }, 603 "tooltip": { 604 "maxHeight": 600, 605 "mode": "multi", 606 "sort": "none" 607 } 608 }, 609 "pluginVersion": "10.0.2", 610 "targets": [ 611 { 612 "datasource": { 613 "uid": "$datasource" 614 }, 615 "editorMode": "code", 616 "expr": "sum(envoy_cluster_upstream_cx_active{envoy_cluster_name=~\"$cluster\"}) by (envoy_cluster_name)", 617 "format": "time_series", 618 "intervalFactor": 2, 619 "legendFormat": "{{envoy_cluster_name}}", 620 "range": true, 621 "refId": "A" 622 } 623 ], 624 "title": "Total active connections", 625 "type": "timeseries" 626 }, 627 { 628 "datasource": { 629 "type": "prometheus", 630 "uid": "${datasource}" 631 }, 632 "fieldConfig": { 633 "defaults": { 634 "color": { 635 "mode": "palette-classic" 636 }, 637 "custom": { 638 "axisBorderShow": false, 639 "axisCenteredZero": false, 640 "axisColorMode": "text", 641 "axisLabel": "", 642 "axisPlacement": "auto", 643 "barAlignment": 0, 644 "drawStyle": "line", 645 "fillOpacity": 10, 646 "gradientMode": "none", 647 "hideFrom": { 648 "legend": false, 649 "tooltip": false, 650 "viz": false 651 }, 652 "insertNulls": false, 653 "lineInterpolation": "linear", 654 "lineWidth": 1, 655 "pointSize": 5, 656 "scaleDistribution": { 657 "type": "linear" 658 }, 659 "showPoints": "never", 660 "spanNulls": false, 661 "stacking": { 662 "group": "A", 663 "mode": "none" 664 }, 665 "thresholdsStyle": { 666 "mode": "off" 667 } 668 }, 669 "links": [], 670 "mappings": [], 671 "thresholds": { 672 "mode": "absolute", 673 "steps": [ 674 { 675 "color": "green", 676 "value": null 677 }, 678 { 679 "color": "red", 680 "value": 80 681 } 682 ] 683 }, 684 "unit": "short" 685 }, 686 "overrides": [ 687 { 688 "__systemRef": "hideSeriesFrom", 689 "matcher": { 690 "id": "byNames", 691 "options": { 692 "mode": "exclude", 693 "names": [ 694 "httproute/default/backend/rule/0" 695 ], 696 "prefix": "All except:", 697 "readOnly": true 698 } 699 }, 700 "properties": [ 701 { 702 "id": "custom.hideFrom", 703 "value": { 704 "legend": false, 705 "tooltip": false, 706 "viz": true 707 } 708 } 709 ] 710 } 711 ] 712 }, 713 "gridPos": { 714 "h": 7, 715 "w": 12, 716 "x": 12, 717 "y": 5 718 }, 719 "id": 4, 720 "options": { 721 "legend": { 722 "calcs": [], 723 "displayMode": "list", 724 "placement": "bottom", 725 "showLegend": true 726 }, 727 "tooltip": { 728 "maxHeight": 600, 729 "mode": "multi", 730 "sort": "none" 731 } 732 }, 733 "pluginVersion": "10.0.2", 734 "targets": [ 735 { 736 "datasource": { 737 "type": "prometheus", 738 "uid": "PBFA97CFB590B2093" 739 }, 740 "editorMode": "code", 741 "expr": "sum(irate(envoy_cluster_upstream_rq_total{envoy_cluster_name=~\"$cluster\"}[5m])) by (envoy_cluster_name)", 742 "format": "time_series", 743 "intervalFactor": 2, 744 "legendFormat": "{{envoy_cluster_name}}", 745 "range": true, 746 "refId": "A" 747 } 748 ], 749 "title": "Total requests", 750 "type": "timeseries" 751 }, 752 { 753 "datasource": { 754 "type": "prometheus", 755 "uid": "$datasource" 756 }, 757 "fieldConfig": { 758 "defaults": { 759 "color": { 760 "mode": "palette-classic" 761 }, 762 "custom": { 763 "axisBorderShow": false, 764 "axisCenteredZero": false, 765 "axisColorMode": "text", 766 "axisLabel": "", 767 "axisPlacement": "auto", 768 "barAlignment": 0, 769 "drawStyle": "line", 770 "fillOpacity": 10, 771 "gradientMode": "none", 772 "hideFrom": { 773 "legend": false, 774 "tooltip": false, 775 "viz": false 776 }, 777 "insertNulls": false, 778 "lineInterpolation": "linear", 779 "lineWidth": 1, 780 "pointSize": 5, 781 "scaleDistribution": { 782 "type": "linear" 783 }, 784 "showPoints": "never", 785 "spanNulls": false, 786 "stacking": { 787 "group": "A", 788 "mode": "none" 789 }, 790 "thresholdsStyle": { 791 "mode": "off" 792 } 793 }, 794 "links": [], 795 "mappings": [], 796 "thresholds": { 797 "mode": "absolute", 798 "steps": [ 799 { 800 "color": "green", 801 "value": null 802 }, 803 { 804 "color": "red", 805 "value": 80 806 } 807 ] 808 }, 809 "unit": "decbytes" 810 }, 811 "overrides": [] 812 }, 813 "gridPos": { 814 "h": 7, 815 "w": 12, 816 "x": 0, 817 "y": 12 818 }, 819 "id": 15, 820 "options": { 821 "legend": { 822 "calcs": [], 823 "displayMode": "list", 824 "placement": "bottom", 825 "showLegend": true 826 }, 827 "tooltip": { 828 "maxHeight": 600, 829 "mode": "multi", 830 "sort": "none" 831 } 832 }, 833 "pluginVersion": "10.0.2", 834 "targets": [ 835 { 836 "datasource": { 837 "uid": "$datasource" 838 }, 839 "editorMode": "code", 840 "expr": "sum(irate(envoy_cluster_upstream_cx_rx_bytes_total{envoy_cluster_name=~\"$cluster\"}[5m])) by (envoy_cluster_name)", 841 "format": "time_series", 842 "intervalFactor": 1, 843 "legendFormat": "{{envoy_cluster_name}} - in", 844 "range": true, 845 "refId": "A" 846 }, 847 { 848 "datasource": { 849 "uid": "$datasource" 850 }, 851 "editorMode": "code", 852 "expr": "sum(irate(envoy_cluster_upstream_cx_tx_bytes_total{envoy_cluster_name=~\"$cluster\"}[5m])) by (envoy_cluster_name)", 853 "format": "time_series", 854 "intervalFactor": 1, 855 "legendFormat": "{{envoy_cluster_name}} - out", 856 "range": true, 857 "refId": "B" 858 } 859 ], 860 "title": "Upstream Network Traffic", 861 "type": "timeseries" 862 }, 863 { 864 "datasource": { 865 "type": "prometheus", 866 "uid": "$datasource" 867 }, 868 "fieldConfig": { 869 "defaults": { 870 "color": { 871 "mode": "palette-classic" 872 }, 873 "custom": { 874 "axisBorderShow": false, 875 "axisCenteredZero": false, 876 "axisColorMode": "text", 877 "axisLabel": "", 878 "axisPlacement": "auto", 879 "barAlignment": 0, 880 "drawStyle": "line", 881 "fillOpacity": 10, 882 "gradientMode": "none", 883 "hideFrom": { 884 "legend": false, 885 "tooltip": false, 886 "viz": false 887 }, 888 "insertNulls": false, 889 "lineInterpolation": "linear", 890 "lineWidth": 1, 891 "pointSize": 5, 892 "scaleDistribution": { 893 "type": "linear" 894 }, 895 "showPoints": "never", 896 "spanNulls": false, 897 "stacking": { 898 "group": "A", 899 "mode": "none" 900 }, 901 "thresholdsStyle": { 902 "mode": "off" 903 } 904 }, 905 "links": [], 906 "mappings": [], 907 "thresholds": { 908 "mode": "absolute", 909 "steps": [ 910 { 911 "color": "green", 912 "value": null 913 }, 914 { 915 "color": "red", 916 "value": 80 917 } 918 ] 919 }, 920 "unit": "decbytes" 921 }, 922 "overrides": [] 923 }, 924 "gridPos": { 925 "h": 7, 926 "w": 12, 927 "x": 12, 928 "y": 12 929 }, 930 "id": 17, 931 "options": { 932 "legend": { 933 "calcs": [], 934 "displayMode": "list", 935 "placement": "bottom", 936 "showLegend": true 937 }, 938 "tooltip": { 939 "maxHeight": 600, 940 "mode": "multi", 941 "sort": "none" 942 } 943 }, 944 "pluginVersion": "10.0.2", 945 "targets": [ 946 { 947 "datasource": { 948 "uid": "$datasource" 949 }, 950 "editorMode": "builder", 951 "expr": "sum(irate(envoy_http_downstream_cx_rx_bytes_total{envoy_http_conn_manager_prefix=~\"http\"}[5m]))", 952 "format": "time_series", 953 "intervalFactor": 1, 954 "legendFormat": "{{service}} - in", 955 "range": true, 956 "refId": "A" 957 }, 958 { 959 "datasource": { 960 "uid": "$datasource" 961 }, 962 "editorMode": "builder", 963 "expr": "sum(irate(envoy_http_downstream_cx_tx_bytes_total{envoy_http_conn_manager_prefix=~\"http\"}[5m]))", 964 "format": "time_series", 965 "intervalFactor": 1, 966 "legendFormat": "{{service}} - out", 967 "range": true, 968 "refId": "B" 969 } 970 ], 971 "title": "Downstream Network Traffic", 972 "type": "timeseries" 973 }, 974 { 975 "datasource": { 976 "type": "prometheus", 977 "uid": "${datasource}" 978 }, 979 "fieldConfig": { 980 "defaults": { 981 "color": { 982 "mode": "palette-classic" 983 }, 984 "custom": { 985 "axisBorderShow": false, 986 "axisCenteredZero": false, 987 "axisColorMode": "text", 988 "axisLabel": "", 989 "axisPlacement": "auto", 990 "barAlignment": 0, 991 "drawStyle": "line", 992 "fillOpacity": 0, 993 "gradientMode": "none", 994 "hideFrom": { 995 "legend": false, 996 "tooltip": false, 997 "viz": false 998 }, 999 "insertNulls": false, 1000 "lineInterpolation": "linear", 1001 "lineWidth": 1, 1002 "pointSize": 5, 1003 "scaleDistribution": { 1004 "type": "linear" 1005 }, 1006 "showPoints": "auto", 1007 "spanNulls": false, 1008 "stacking": { 1009 "group": "A", 1010 "mode": "none" 1011 }, 1012 "thresholdsStyle": { 1013 "mode": "off" 1014 } 1015 }, 1016 "mappings": [], 1017 "thresholds": { 1018 "mode": "absolute", 1019 "steps": [ 1020 { 1021 "color": "green", 1022 "value": null 1023 }, 1024 { 1025 "color": "red", 1026 "value": 80 1027 } 1028 ] 1029 }, 1030 "unit": "ms" 1031 }, 1032 "overrides": [] 1033 }, 1034 "gridPos": { 1035 "h": 8, 1036 "w": 12, 1037 "x": 0, 1038 "y": 19 1039 }, 1040 "id": 22, 1041 "options": { 1042 "legend": { 1043 "calcs": [], 1044 "displayMode": "list", 1045 "placement": "bottom", 1046 "showLegend": true 1047 }, 1048 "tooltip": { 1049 "maxHeight": 600, 1050 "mode": "single", 1051 "sort": "none" 1052 } 1053 }, 1054 "targets": [ 1055 { 1056 "datasource": { 1057 "type": "prometheus", 1058 "uid": "${datasource}" 1059 }, 1060 "editorMode": "code", 1061 "expr": "histogram_quantile(0.99, sum(rate(envoy_cluster_upstream_rq_time_bucket{envoy_cluster_name=~\"$cluster\"}[5m])) by (le, envoy_cluster_name))", 1062 "instant": false, 1063 "legendFormat": "{{envoy_cluster_name}} 99%", 1064 "range": true, 1065 "refId": "A" 1066 }, 1067 { 1068 "datasource": { 1069 "type": "prometheus", 1070 "uid": "${datasource}" 1071 }, 1072 "editorMode": "code", 1073 "expr": "histogram_quantile(0.9, sum(rate(envoy_cluster_upstream_rq_time_bucket{envoy_cluster_name=~\"$cluster\"}[5m])) by (le, envoy_cluster_name))", 1074 "hide": false, 1075 "instant": false, 1076 "legendFormat": "{{envoy_cluster_name}} 90%", 1077 "range": true, 1078 "refId": "B" 1079 }, 1080 { 1081 "datasource": { 1082 "type": "prometheus", 1083 "uid": "${datasource}" 1084 }, 1085 "editorMode": "code", 1086 "expr": "histogram_quantile(0.5, sum(rate(envoy_cluster_upstream_rq_time_bucket{envoy_cluster_name=~\"$cluster\"}[5m])) by (le, envoy_cluster_name))", 1087 "hide": false, 1088 "instant": false, 1089 "legendFormat": "{{envoy_cluster_name}} 50%", 1090 "range": true, 1091 "refId": "C" 1092 } 1093 ], 1094 "title": "Upstream Latency", 1095 "type": "timeseries" 1096 }, 1097 { 1098 "datasource": { 1099 "type": "prometheus", 1100 "uid": "${datasource}" 1101 }, 1102 "fieldConfig": { 1103 "defaults": { 1104 "color": { 1105 "mode": "palette-classic" 1106 }, 1107 "custom": { 1108 "axisBorderShow": false, 1109 "axisCenteredZero": false, 1110 "axisColorMode": "text", 1111 "axisLabel": "", 1112 "axisPlacement": "auto", 1113 "barAlignment": 0, 1114 "drawStyle": "line", 1115 "fillOpacity": 0, 1116 "gradientMode": "none", 1117 "hideFrom": { 1118 "legend": false, 1119 "tooltip": false, 1120 "viz": false 1121 }, 1122 "insertNulls": false, 1123 "lineInterpolation": "linear", 1124 "lineWidth": 1, 1125 "pointSize": 5, 1126 "scaleDistribution": { 1127 "type": "linear" 1128 }, 1129 "showPoints": "auto", 1130 "spanNulls": false, 1131 "stacking": { 1132 "group": "A", 1133 "mode": "none" 1134 }, 1135 "thresholdsStyle": { 1136 "mode": "off" 1137 } 1138 }, 1139 "mappings": [], 1140 "thresholds": { 1141 "mode": "absolute", 1142 "steps": [ 1143 { 1144 "color": "green", 1145 "value": null 1146 }, 1147 { 1148 "color": "red", 1149 "value": 80 1150 } 1151 ] 1152 } 1153 }, 1154 "overrides": [] 1155 }, 1156 "gridPos": { 1157 "h": 8, 1158 "w": 6, 1159 "x": 12, 1160 "y": 19 1161 }, 1162 "id": 24, 1163 "options": { 1164 "legend": { 1165 "calcs": [], 1166 "displayMode": "list", 1167 "placement": "bottom", 1168 "showLegend": true 1169 }, 1170 "tooltip": { 1171 "maxHeight": 600, 1172 "mode": "single", 1173 "sort": "none" 1174 } 1175 }, 1176 "targets": [ 1177 { 1178 "datasource": { 1179 "type": "prometheus", 1180 "uid": "${datasource}" 1181 }, 1182 "editorMode": "code", 1183 "expr": "sum(rate(envoy_cluster_upstream_rq_xx{envoy_response_code_class=~\"2\", envoy_cluster_name=~\"$cluster\"}[5m])) by (envoy_cluster_name)", 1184 "instant": false, 1185 "legendFormat": "{{envoy_cluster_name}}", 1186 "range": true, 1187 "refId": "A" 1188 } 1189 ], 1190 "title": "Upstream 2xx Responses", 1191 "type": "timeseries" 1192 }, 1193 { 1194 "datasource": { 1195 "type": "prometheus", 1196 "uid": "${datasource}" 1197 }, 1198 "fieldConfig": { 1199 "defaults": { 1200 "color": { 1201 "mode": "palette-classic" 1202 }, 1203 "custom": { 1204 "axisBorderShow": false, 1205 "axisCenteredZero": false, 1206 "axisColorMode": "text", 1207 "axisLabel": "", 1208 "axisPlacement": "auto", 1209 "barAlignment": 0, 1210 "drawStyle": "line", 1211 "fillOpacity": 0, 1212 "gradientMode": "none", 1213 "hideFrom": { 1214 "legend": false, 1215 "tooltip": false, 1216 "viz": false 1217 }, 1218 "insertNulls": false, 1219 "lineInterpolation": "linear", 1220 "lineWidth": 1, 1221 "pointSize": 5, 1222 "scaleDistribution": { 1223 "type": "linear" 1224 }, 1225 "showPoints": "auto", 1226 "spanNulls": false, 1227 "stacking": { 1228 "group": "A", 1229 "mode": "none" 1230 }, 1231 "thresholdsStyle": { 1232 "mode": "off" 1233 } 1234 }, 1235 "mappings": [], 1236 "thresholds": { 1237 "mode": "absolute", 1238 "steps": [ 1239 { 1240 "color": "green", 1241 "value": null 1242 }, 1243 { 1244 "color": "red", 1245 "value": 80 1246 } 1247 ] 1248 } 1249 }, 1250 "overrides": [] 1251 }, 1252 "gridPos": { 1253 "h": 8, 1254 "w": 6, 1255 "x": 18, 1256 "y": 19 1257 }, 1258 "id": 28, 1259 "options": { 1260 "legend": { 1261 "calcs": [], 1262 "displayMode": "list", 1263 "placement": "bottom", 1264 "showLegend": true 1265 }, 1266 "tooltip": { 1267 "maxHeight": 600, 1268 "mode": "single", 1269 "sort": "none" 1270 } 1271 }, 1272 "targets": [ 1273 { 1274 "datasource": { 1275 "type": "prometheus", 1276 "uid": "${datasource}" 1277 }, 1278 "editorMode": "code", 1279 "expr": "sum(rate(envoy_cluster_upstream_rq_xx{envoy_cluster_name=~\"$cluster\",envoy_response_code_class=~\"4\"}[1m])) by (envoy_cluster_name)", 1280 "instant": false, 1281 "legendFormat": "{{envoy_cluster_name}}", 1282 "range": true, 1283 "refId": "A" 1284 } 1285 ], 1286 "title": "Upstream 4xx Responses", 1287 "type": "timeseries" 1288 }, 1289 { 1290 "datasource": { 1291 "type": "prometheus", 1292 "uid": "$datasource" 1293 }, 1294 "fieldConfig": { 1295 "defaults": { 1296 "color": { 1297 "mode": "palette-classic" 1298 }, 1299 "custom": { 1300 "axisBorderShow": false, 1301 "axisCenteredZero": false, 1302 "axisColorMode": "text", 1303 "axisLabel": "", 1304 "axisPlacement": "auto", 1305 "barAlignment": 0, 1306 "drawStyle": "line", 1307 "fillOpacity": 10, 1308 "gradientMode": "none", 1309 "hideFrom": { 1310 "legend": false, 1311 "tooltip": false, 1312 "viz": false 1313 }, 1314 "insertNulls": false, 1315 "lineInterpolation": "linear", 1316 "lineWidth": 1, 1317 "pointSize": 5, 1318 "scaleDistribution": { 1319 "type": "linear" 1320 }, 1321 "showPoints": "never", 1322 "spanNulls": false, 1323 "stacking": { 1324 "group": "A", 1325 "mode": "none" 1326 }, 1327 "thresholdsStyle": { 1328 "mode": "off" 1329 } 1330 }, 1331 "links": [], 1332 "mappings": [], 1333 "thresholds": { 1334 "mode": "absolute", 1335 "steps": [ 1336 { 1337 "color": "green", 1338 "value": null 1339 }, 1340 { 1341 "color": "red", 1342 "value": 80 1343 } 1344 ] 1345 }, 1346 "unit": "short" 1347 }, 1348 "overrides": [] 1349 }, 1350 "gridPos": { 1351 "h": 8, 1352 "w": 12, 1353 "x": 0, 1354 "y": 27 1355 }, 1356 "id": 7, 1357 "options": { 1358 "legend": { 1359 "calcs": [], 1360 "displayMode": "list", 1361 "placement": "bottom", 1362 "showLegend": true 1363 }, 1364 "tooltip": { 1365 "maxHeight": 600, 1366 "mode": "multi", 1367 "sort": "none" 1368 } 1369 }, 1370 "pluginVersion": "10.0.2", 1371 "targets": [ 1372 { 1373 "datasource": { 1374 "uid": "$datasource" 1375 }, 1376 "editorMode": "code", 1377 "expr": "sum(envoy_cluster_membership_healthy{envoy_cluster_name=~\"$cluster\"})", 1378 "format": "time_series", 1379 "intervalFactor": 2, 1380 "legendFormat": "healthy", 1381 "range": true, 1382 "refId": "A" 1383 }, 1384 { 1385 "datasource": { 1386 "uid": "$datasource" 1387 }, 1388 "expr": "sum(envoy_cluster_membership_total{envoy_cluster_name=~\"$cluster\",service=~\"$service\"})", 1389 "format": "time_series", 1390 "intervalFactor": 2, 1391 "legendFormat": "total", 1392 "refId": "B" 1393 } 1394 ], 1395 "title": "Downstream members", 1396 "type": "timeseries" 1397 }, 1398 { 1399 "datasource": { 1400 "type": "prometheus", 1401 "uid": "${datasource}" 1402 }, 1403 "fieldConfig": { 1404 "defaults": { 1405 "color": { 1406 "mode": "palette-classic" 1407 }, 1408 "custom": { 1409 "axisBorderShow": false, 1410 "axisCenteredZero": false, 1411 "axisColorMode": "text", 1412 "axisLabel": "", 1413 "axisPlacement": "auto", 1414 "barAlignment": 0, 1415 "drawStyle": "line", 1416 "fillOpacity": 0, 1417 "gradientMode": "none", 1418 "hideFrom": { 1419 "legend": false, 1420 "tooltip": false, 1421 "viz": false 1422 }, 1423 "insertNulls": false, 1424 "lineInterpolation": "linear", 1425 "lineWidth": 1, 1426 "pointSize": 5, 1427 "scaleDistribution": { 1428 "type": "linear" 1429 }, 1430 "showPoints": "auto", 1431 "spanNulls": false, 1432 "stacking": { 1433 "group": "A", 1434 "mode": "none" 1435 }, 1436 "thresholdsStyle": { 1437 "mode": "off" 1438 } 1439 }, 1440 "mappings": [], 1441 "thresholds": { 1442 "mode": "absolute", 1443 "steps": [ 1444 { 1445 "color": "green", 1446 "value": null 1447 }, 1448 { 1449 "color": "red", 1450 "value": 80 1451 } 1452 ] 1453 } 1454 }, 1455 "overrides": [] 1456 }, 1457 "gridPos": { 1458 "h": 8, 1459 "w": 6, 1460 "x": 12, 1461 "y": 27 1462 }, 1463 "id": 30, 1464 "options": { 1465 "legend": { 1466 "calcs": [], 1467 "displayMode": "list", 1468 "placement": "bottom", 1469 "showLegend": true 1470 }, 1471 "tooltip": { 1472 "maxHeight": 600, 1473 "mode": "single", 1474 "sort": "none" 1475 } 1476 }, 1477 "targets": [ 1478 { 1479 "datasource": { 1480 "type": "prometheus", 1481 "uid": "${datasource}" 1482 }, 1483 "editorMode": "code", 1484 "expr": "sum(rate(envoy_cluster_upstream_rq_xx{envoy_cluster_name=~\"$cluster\",envoy_response_code_class=~\"5\"}[5m])) by (envoy_cluster_name)", 1485 "instant": false, 1486 "legendFormat": "{{envoy_cluster_name}}", 1487 "range": true, 1488 "refId": "A" 1489 } 1490 ], 1491 "title": "Upstream 5xx Responses", 1492 "type": "timeseries" 1493 }, 1494 { 1495 "datasource": { 1496 "type": "prometheus", 1497 "uid": "${datasource}" 1498 }, 1499 "fieldConfig": { 1500 "defaults": { 1501 "color": { 1502 "mode": "palette-classic" 1503 }, 1504 "custom": { 1505 "axisBorderShow": false, 1506 "axisCenteredZero": false, 1507 "axisColorMode": "text", 1508 "axisLabel": "", 1509 "axisPlacement": "auto", 1510 "barAlignment": 0, 1511 "drawStyle": "line", 1512 "fillOpacity": 0, 1513 "gradientMode": "none", 1514 "hideFrom": { 1515 "legend": false, 1516 "tooltip": false, 1517 "viz": false 1518 }, 1519 "insertNulls": false, 1520 "lineInterpolation": "linear", 1521 "lineWidth": 1, 1522 "pointSize": 5, 1523 "scaleDistribution": { 1524 "type": "linear" 1525 }, 1526 "showPoints": "auto", 1527 "spanNulls": false, 1528 "stacking": { 1529 "group": "A", 1530 "mode": "none" 1531 }, 1532 "thresholdsStyle": { 1533 "mode": "off" 1534 } 1535 }, 1536 "mappings": [], 1537 "thresholds": { 1538 "mode": "absolute", 1539 "steps": [ 1540 { 1541 "color": "green", 1542 "value": null 1543 }, 1544 { 1545 "color": "red", 1546 "value": 80 1547 } 1548 ] 1549 } 1550 }, 1551 "overrides": [] 1552 }, 1553 "gridPos": { 1554 "h": 8, 1555 "w": 6, 1556 "x": 18, 1557 "y": 27 1558 }, 1559 "id": 26, 1560 "options": { 1561 "legend": { 1562 "calcs": [], 1563 "displayMode": "list", 1564 "placement": "bottom", 1565 "showLegend": true 1566 }, 1567 "tooltip": { 1568 "maxHeight": 600, 1569 "mode": "single", 1570 "sort": "none" 1571 } 1572 }, 1573 "targets": [ 1574 { 1575 "datasource": { 1576 "type": "prometheus", 1577 "uid": "${datasource}" 1578 }, 1579 "editorMode": "code", 1580 "expr": "sum(rate(envoy_cluster_upstream_rq_xx{envoy_cluster_name=~\"$cluster\",envoy_response_code_class=~\"3\"}[5m])) by (envoy_cluster_name)", 1581 "instant": false, 1582 "legendFormat": "{{envoy_cluster_name}}", 1583 "range": true, 1584 "refId": "A" 1585 } 1586 ], 1587 "title": "Upstream 3xx Responses", 1588 "type": "timeseries" 1589 } 1590 ], 1591 "refresh": "30s", 1592 "schemaVersion": 39, 1593 "tags": [ 1594 "Data Plane" 1595 ], 1596 "templating": { 1597 "list": [ 1598 { 1599 "current": { 1600 "selected": false, 1601 "text": "Prometheus", 1602 "value": "Prometheus" 1603 }, 1604 "hide": 0, 1605 "includeAll": false, 1606 "multi": false, 1607 "name": "datasource", 1608 "options": [], 1609 "query": "prometheus", 1610 "refresh": 1, 1611 "regex": "", 1612 "skipUrlSync": false, 1613 "type": "datasource" 1614 }, 1615 { 1616 "current": { 1617 "selected": false, 1618 "text": "httproute/default/backend/rule/0", 1619 "value": "httproute/default/backend/rule/0" 1620 }, 1621 "datasource": { 1622 "uid": "$datasource" 1623 }, 1624 "definition": "label_values(envoy_cluster_name)", 1625 "hide": 0, 1626 "includeAll": true, 1627 "label": "Cluster", 1628 "multi": false, 1629 "name": "cluster", 1630 "options": [], 1631 "query": { 1632 "query": "label_values(envoy_cluster_name)", 1633 "refId": "PrometheusVariableQueryEditor-VariableQuery" 1634 }, 1635 "refresh": 1, 1636 "regex": "", 1637 "skipUrlSync": false, 1638 "sort": 1, 1639 "tagValuesQuery": "", 1640 "tagsQuery": "", 1641 "type": "query", 1642 "useTags": false 1643 } 1644 ] 1645 }, 1646 "time": { 1647 "from": "now-15m", 1648 "to": "now" 1649 }, 1650 "timeRangeUpdatedDuringEditOrView": false, 1651 "timepicker": { 1652 "refresh_intervals": [ 1653 "5s", 1654 "10s", 1655 "30s", 1656 "1m", 1657 "5m", 1658 "15m", 1659 "30m", 1660 "1h", 1661 "2h", 1662 "1d" 1663 ], 1664 "time_options": [ 1665 "5m", 1666 "15m", 1667 "1h", 1668 "6h", 1669 "12h", 1670 "24h", 1671 "2d", 1672 "7d", 1673 "30d" 1674 ] 1675 }, 1676 "timezone": "", 1677 "title": "Envoy Clusters", 1678 "uid": "8WkEOMnANKE6PW5hhpVv", 1679 "version": 1, 1680 "weekStart": "" 1681 }