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