otelmart.json (21929B)
1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": { 7 "type": "grafana", 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 "editable": true, 19 "fiscalYearStartMonth": 0, 20 "graphTooltip": 0, 21 "liveNow": false, 22 "panels": [ 23 { 24 "datasource": { 25 "type": "prometheus", 26 "uid": "prometheus" 27 }, 28 "fieldConfig": { 29 "defaults": { 30 "color": { 31 "mode": "palette-classic" 32 }, 33 "custom": { 34 "axisBorderShow": false, 35 "axisCenteredZero": false, 36 "axisColorMode": "text", 37 "axisLabel": "", 38 "axisPlacement": "auto", 39 "barAlignment": 0, 40 "barWidthFactor": 0.6, 41 "drawStyle": "line", 42 "fillOpacity": 0, 43 "gradientMode": "none", 44 "hideFrom": { 45 "legend": false, 46 "tooltip": false, 47 "viz": false 48 }, 49 "insertNulls": false, 50 "lineInterpolation": "linear", 51 "lineWidth": 1, 52 "pointSize": 5, 53 "scaleDistribution": { 54 "type": "linear" 55 }, 56 "showPoints": "auto", 57 "showValues": false, 58 "spanNulls": false, 59 "stacking": { 60 "group": "A", 61 "mode": "none" 62 }, 63 "thresholdsStyle": { 64 "mode": "off" 65 } 66 }, 67 "thresholds": { 68 "mode": "absolute", 69 "steps": [ 70 { 71 "color": "green", 72 "value": 0 73 }, 74 { 75 "color": "red", 76 "value": 80 77 } 78 ] 79 } 80 } 81 }, 82 "gridPos": { 83 "h": 8, 84 "w": 12, 85 "x": 0, 86 "y": 0 87 }, 88 "id": 2, 89 "options": { 90 "annotations": { 91 "clustering": -1, 92 "multiLane": false 93 }, 94 "legend": { 95 "calcs": [], 96 "displayMode": "list", 97 "enableFacetedFilter": false, 98 "overflow": "ellipsis", 99 "placement": "bottom", 100 "showLegend": true 101 }, 102 "tooltip": { 103 "hideZeros": false, 104 "mode": "single", 105 "sort": "none" 106 } 107 }, 108 "pluginVersion": "13.1.3", 109 "targets": [ 110 { 111 "datasource": { 112 "type": "prometheus", 113 "uid": "prometheus" 114 }, 115 "editorMode": "code", 116 "expr": "sum(rate(http_server_request_duration_seconds_count[5m])) by (job)", 117 "legendFormat": "__auto", 118 "range": true, 119 "refId": "A" 120 } 121 ], 122 "title": "Request Rate: The Store Traffic", 123 "type": "timeseries" 124 }, 125 { 126 "datasource": { 127 "type": "prometheus", 128 "uid": "prometheus" 129 }, 130 "fieldConfig": { 131 "defaults": { 132 "color": { 133 "mode": "palette-classic" 134 }, 135 "custom": { 136 "axisBorderShow": false, 137 "axisCenteredZero": false, 138 "axisColorMode": "text", 139 "axisLabel": "", 140 "axisPlacement": "auto", 141 "barAlignment": 0, 142 "barWidthFactor": 0.6, 143 "drawStyle": "line", 144 "fillOpacity": 25, 145 "gradientMode": "none", 146 "hideFrom": { 147 "legend": false, 148 "tooltip": false, 149 "viz": false 150 }, 151 "insertNulls": false, 152 "lineInterpolation": "linear", 153 "lineWidth": 1, 154 "pointSize": 5, 155 "scaleDistribution": { 156 "type": "linear" 157 }, 158 "showPoints": "auto", 159 "showValues": false, 160 "spanNulls": false, 161 "stacking": { 162 "group": "A", 163 "mode": "normal" 164 }, 165 "thresholdsStyle": { 166 "mode": "off" 167 } 168 }, 169 "thresholds": { 170 "mode": "absolute", 171 "steps": [ 172 { 173 "color": "green", 174 "value": 0 175 }, 176 { 177 "color": "red", 178 "value": 80 179 } 180 ] 181 } 182 } 183 }, 184 "gridPos": { 185 "h": 8, 186 "w": 12, 187 "x": 12, 188 "y": 0 189 }, 190 "id": 6, 191 "options": { 192 "annotations": { 193 "clustering": -1, 194 "multiLane": false 195 }, 196 "legend": { 197 "calcs": [], 198 "displayMode": "list", 199 "enableFacetedFilter": false, 200 "overflow": "ellipsis", 201 "placement": "bottom", 202 "showLegend": true 203 }, 204 "tooltip": { 205 "hideZeros": false, 206 "mode": "single", 207 "sort": "none" 208 } 209 }, 210 "pluginVersion": "13.1.3", 211 "targets": [ 212 { 213 "datasource": { 214 "type": "prometheus", 215 "uid": "prometheus" 216 }, 217 "editorMode": "code", 218 "expr": "(sum(rate(http_server_request_duration_seconds_count{http_response_status_code=~\"4..|5..\"}[5m])) by (job) / sum(rate(http_server_request_duration_seconds_count[5m])) by (job) * 100) or (sum(rate(http_server_request_duration_seconds_count[5m])) by (job) * 0)", 219 "legendFormat": "__auto", 220 "range": true, 221 "refId": "A" 222 } 223 ], 224 "title": "Error Rate: Broken Registers", 225 "type": "timeseries" 226 }, 227 { 228 "datasource": { 229 "type": "prometheus", 230 "uid": "prometheus" 231 }, 232 "fieldConfig": { 233 "defaults": { 234 "color": { 235 "mode": "palette-classic" 236 }, 237 "custom": { 238 "axisBorderShow": false, 239 "axisCenteredZero": false, 240 "axisColorMode": "text", 241 "axisLabel": "", 242 "axisPlacement": "auto", 243 "barAlignment": 0, 244 "barWidthFactor": 0.6, 245 "drawStyle": "line", 246 "fillOpacity": 0, 247 "gradientMode": "none", 248 "hideFrom": { 249 "legend": false, 250 "tooltip": false, 251 "viz": false 252 }, 253 "insertNulls": false, 254 "lineInterpolation": "linear", 255 "lineWidth": 1, 256 "pointSize": 5, 257 "scaleDistribution": { 258 "type": "linear" 259 }, 260 "showPoints": "auto", 261 "showValues": false, 262 "spanNulls": false, 263 "stacking": { 264 "group": "A", 265 "mode": "none" 266 }, 267 "thresholdsStyle": { 268 "mode": "off" 269 } 270 }, 271 "thresholds": { 272 "mode": "absolute", 273 "steps": [ 274 { 275 "color": "green", 276 "value": 0 277 }, 278 { 279 "color": "red", 280 "value": 80 281 } 282 ] 283 } 284 } 285 }, 286 "gridPos": { 287 "h": 8, 288 "w": 12, 289 "x": 0, 290 "y": 8 291 }, 292 "id": 3, 293 "options": { 294 "annotations": { 295 "clustering": -1, 296 "multiLane": false 297 }, 298 "legend": { 299 "calcs": [], 300 "displayMode": "list", 301 "enableFacetedFilter": false, 302 "overflow": "ellipsis", 303 "placement": "bottom", 304 "showLegend": true 305 }, 306 "tooltip": { 307 "hideZeros": false, 308 "mode": "single", 309 "sort": "none" 310 } 311 }, 312 "pluginVersion": "13.1.3", 313 "targets": [ 314 { 315 "datasource": { 316 "type": "prometheus", 317 "uid": "prometheus" 318 }, 319 "editorMode": "code", 320 "expr": "histogram_quantile(0.5, sum(rate(http_server_request_duration_seconds_bucket[5m])) by (le, job))", 321 "legendFormat": "__auto", 322 "range": true, 323 "refId": "A" 324 } 325 ], 326 "title": "Latency: Checkout Speed (Wait Times - 0.5 percentile)", 327 "type": "timeseries" 328 }, 329 { 330 "datasource": { 331 "type": "prometheus", 332 "uid": "prometheus" 333 }, 334 "fieldConfig": { 335 "defaults": { 336 "color": { 337 "mode": "palette-classic" 338 }, 339 "custom": { 340 "axisBorderShow": false, 341 "axisCenteredZero": false, 342 "axisColorMode": "text", 343 "axisLabel": "", 344 "axisPlacement": "auto", 345 "barAlignment": 0, 346 "barWidthFactor": 0.6, 347 "drawStyle": "line", 348 "fillOpacity": 25, 349 "gradientMode": "none", 350 "hideFrom": { 351 "legend": false, 352 "tooltip": false, 353 "viz": false 354 }, 355 "insertNulls": false, 356 "lineInterpolation": "linear", 357 "lineWidth": 1, 358 "pointSize": 5, 359 "scaleDistribution": { 360 "type": "linear" 361 }, 362 "showPoints": "auto", 363 "showValues": false, 364 "spanNulls": false, 365 "stacking": { 366 "group": "A", 367 "mode": "none" 368 }, 369 "thresholdsStyle": { 370 "mode": "off" 371 } 372 }, 373 "thresholds": { 374 "mode": "absolute", 375 "steps": [ 376 { 377 "color": "green", 378 "value": 0 379 }, 380 { 381 "color": "red", 382 "value": 80 383 } 384 ] 385 } 386 } 387 }, 388 "gridPos": { 389 "h": 8, 390 "w": 12, 391 "x": 12, 392 "y": 8 393 }, 394 "id": 1, 395 "options": { 396 "annotations": { 397 "clustering": -1, 398 "multiLane": false 399 }, 400 "legend": { 401 "calcs": [], 402 "displayMode": "list", 403 "enableFacetedFilter": false, 404 "overflow": "ellipsis", 405 "placement": "bottom", 406 "showLegend": true 407 }, 408 "tooltip": { 409 "hideZeros": false, 410 "mode": "single", 411 "sort": "none" 412 } 413 }, 414 "pluginVersion": "13.1.3", 415 "targets": [ 416 { 417 "datasource": { 418 "type": "prometheus", 419 "uid": "prometheus" 420 }, 421 "editorMode": "code", 422 "expr": "sum(rate(inventory_reservation_attempts_total[5m])) by (job)", 423 "legendFormat": "__auto", 424 "range": true, 425 "refId": "A" 426 } 427 ], 428 "title": "Inventory Reservation Rate", 429 "type": "timeseries" 430 }, 431 { 432 "datasource": { 433 "type": "prometheus", 434 "uid": "prometheus" 435 }, 436 "fieldConfig": { 437 "defaults": { 438 "color": { 439 "mode": "palette-classic" 440 }, 441 "custom": { 442 "axisBorderShow": false, 443 "axisCenteredZero": false, 444 "axisColorMode": "text", 445 "axisLabel": "", 446 "axisPlacement": "auto", 447 "barAlignment": 0, 448 "barWidthFactor": 0.6, 449 "drawStyle": "line", 450 "fillOpacity": 0, 451 "gradientMode": "none", 452 "hideFrom": { 453 "legend": false, 454 "tooltip": false, 455 "viz": false 456 }, 457 "insertNulls": false, 458 "lineInterpolation": "linear", 459 "lineWidth": 1, 460 "pointSize": 5, 461 "scaleDistribution": { 462 "type": "linear" 463 }, 464 "showPoints": "auto", 465 "showValues": false, 466 "spanNulls": false, 467 "stacking": { 468 "group": "A", 469 "mode": "none" 470 }, 471 "thresholdsStyle": { 472 "mode": "off" 473 } 474 }, 475 "thresholds": { 476 "mode": "absolute", 477 "steps": [ 478 { 479 "color": "green", 480 "value": 0 481 }, 482 { 483 "color": "red", 484 "value": 80 485 } 486 ] 487 } 488 } 489 }, 490 "gridPos": { 491 "h": 8, 492 "w": 12, 493 "x": 0, 494 "y": 16 495 }, 496 "id": 7, 497 "options": { 498 "annotations": { 499 "clustering": -1, 500 "multiLane": false 501 }, 502 "legend": { 503 "calcs": [], 504 "displayMode": "list", 505 "enableFacetedFilter": false, 506 "overflow": "ellipsis", 507 "placement": "bottom", 508 "showLegend": true 509 }, 510 "tooltip": { 511 "hideZeros": false, 512 "mode": "single", 513 "sort": "none" 514 } 515 }, 516 "pluginVersion": "13.1.3", 517 "targets": [ 518 { 519 "datasource": { 520 "type": "prometheus", 521 "uid": "prometheus" 522 }, 523 "editorMode": "code", 524 "expr": "histogram_quantile(0.9, sum(rate(http_server_request_duration_seconds_bucket[5m])) by (le, job))", 525 "legendFormat": "__auto", 526 "range": true, 527 "refId": "A" 528 } 529 ], 530 "title": "Latency: Checkout Speed (Wait Times - 0.9 percentile)", 531 "type": "timeseries" 532 }, 533 { 534 "datasource": { 535 "type": "prometheus", 536 "uid": "prometheus" 537 }, 538 "fieldConfig": { 539 "defaults": { 540 "color": { 541 "mode": "palette-classic", 542 "seriesBy": "last" 543 }, 544 "custom": { 545 "axisBorderShow": false, 546 "axisCenteredZero": false, 547 "axisColorMode": "text", 548 "axisLabel": "", 549 "axisPlacement": "auto", 550 "barAlignment": 0, 551 "barWidthFactor": 0.6, 552 "drawStyle": "line", 553 "fillOpacity": 27, 554 "gradientMode": "opacity", 555 "hideFrom": { 556 "legend": false, 557 "tooltip": false, 558 "viz": false 559 }, 560 "insertNulls": false, 561 "lineInterpolation": "linear", 562 "lineStyle": { 563 "fill": "solid" 564 }, 565 "lineWidth": 1, 566 "pointSize": 4, 567 "scaleDistribution": { 568 "type": "linear" 569 }, 570 "showPoints": "auto", 571 "showValues": false, 572 "spanNulls": false, 573 "stacking": { 574 "group": "A", 575 "mode": "none" 576 }, 577 "thresholdsStyle": { 578 "mode": "off" 579 } 580 }, 581 "thresholds": { 582 "mode": "percentage", 583 "steps": [ 584 { 585 "color": "green", 586 "value": 0 587 }, 588 { 589 "color": "#EAB839", 590 "value": 60 591 }, 592 { 593 "color": "red", 594 "value": 80 595 } 596 ] 597 } 598 } 599 }, 600 "gridPos": { 601 "h": 8, 602 "w": 12, 603 "x": 12, 604 "y": 16 605 }, 606 "id": 5, 607 "options": { 608 "annotations": { 609 "clustering": -1, 610 "multiLane": false 611 }, 612 "legend": { 613 "calcs": [], 614 "displayMode": "list", 615 "enableFacetedFilter": false, 616 "overflow": "ellipsis", 617 "placement": "bottom", 618 "showLegend": true 619 }, 620 "tooltip": { 621 "hideZeros": false, 622 "mode": "single", 623 "sort": "none" 624 } 625 }, 626 "pluginVersion": "13.1.3", 627 "targets": [ 628 { 629 "datasource": { 630 "type": "prometheus", 631 "uid": "prometheus" 632 }, 633 "editorMode": "code", 634 "expr": "(sum(rate(orders_checkout_attempts_total[5m])) - sum(rate(orders_checkout_failures_total[5m]))) / sum(rate(orders_checkout_attempts_total[5m])) * 100", 635 "legendFormat": "__auto", 636 "range": true, 637 "refId": "A" 638 } 639 ], 640 "title": "Business Metrics: Checkout Success Rate", 641 "type": "timeseries" 642 }, 643 { 644 "datasource": { 645 "type": "prometheus", 646 "uid": "prometheus" 647 }, 648 "fieldConfig": { 649 "defaults": { 650 "color": { 651 "mode": "palette-classic" 652 }, 653 "custom": { 654 "axisBorderShow": false, 655 "axisCenteredZero": false, 656 "axisColorMode": "text", 657 "axisLabel": "", 658 "axisPlacement": "auto", 659 "barAlignment": 0, 660 "barWidthFactor": 0.6, 661 "drawStyle": "line", 662 "fillOpacity": 0, 663 "gradientMode": "none", 664 "hideFrom": { 665 "legend": false, 666 "tooltip": false, 667 "viz": false 668 }, 669 "insertNulls": false, 670 "lineInterpolation": "linear", 671 "lineWidth": 1, 672 "pointSize": 5, 673 "scaleDistribution": { 674 "type": "linear" 675 }, 676 "showPoints": "auto", 677 "showValues": false, 678 "spanNulls": false, 679 "stacking": { 680 "group": "A", 681 "mode": "none" 682 }, 683 "thresholdsStyle": { 684 "mode": "off" 685 } 686 }, 687 "thresholds": { 688 "mode": "absolute", 689 "steps": [ 690 { 691 "color": "green", 692 "value": 0 693 }, 694 { 695 "color": "red", 696 "value": 80 697 } 698 ] 699 } 700 } 701 }, 702 "gridPos": { 703 "h": 8, 704 "w": 12, 705 "x": 0, 706 "y": 24 707 }, 708 "id": 8, 709 "options": { 710 "annotations": { 711 "clustering": -1, 712 "multiLane": false 713 }, 714 "legend": { 715 "calcs": [], 716 "displayMode": "list", 717 "enableFacetedFilter": false, 718 "overflow": "ellipsis", 719 "placement": "bottom", 720 "showLegend": true 721 }, 722 "tooltip": { 723 "hideZeros": false, 724 "mode": "single", 725 "sort": "none" 726 } 727 }, 728 "pluginVersion": "13.1.3", 729 "targets": [ 730 { 731 "datasource": { 732 "type": "prometheus", 733 "uid": "prometheus" 734 }, 735 "editorMode": "code", 736 "expr": "histogram_quantile(0.99, sum(rate(http_server_request_duration_seconds_bucket[5m])) by (le, job))", 737 "legendFormat": "__auto", 738 "range": true, 739 "refId": "A" 740 } 741 ], 742 "title": "Latency: Checkout Speed (Wait Times - 0.99 percentile)", 743 "type": "timeseries" 744 }, 745 { 746 "datasource": { 747 "type": "prometheus", 748 "uid": "prometheus" 749 }, 750 "fieldConfig": { 751 "defaults": { 752 "color": { 753 "mode": "palette-classic" 754 }, 755 "custom": { 756 "axisBorderShow": false, 757 "axisCenteredZero": false, 758 "axisColorMode": "text", 759 "axisLabel": "", 760 "axisPlacement": "auto", 761 "barAlignment": 0, 762 "barWidthFactor": 0.6, 763 "drawStyle": "line", 764 "fillOpacity": 0, 765 "gradientMode": "none", 766 "hideFrom": { 767 "legend": false, 768 "tooltip": false, 769 "viz": false 770 }, 771 "insertNulls": false, 772 "lineInterpolation": "linear", 773 "lineWidth": 1, 774 "pointSize": 5, 775 "scaleDistribution": { 776 "type": "linear" 777 }, 778 "showPoints": "auto", 779 "showValues": false, 780 "spanNulls": false, 781 "stacking": { 782 "group": "A", 783 "mode": "none" 784 }, 785 "thresholdsStyle": { 786 "mode": "off" 787 } 788 }, 789 "thresholds": { 790 "mode": "absolute", 791 "steps": [ 792 { 793 "color": "green", 794 "value": 0 795 }, 796 { 797 "color": "red", 798 "value": 80 799 } 800 ] 801 } 802 } 803 }, 804 "gridPos": { 805 "h": 8, 806 "w": 12, 807 "x": 12, 808 "y": 24 809 }, 810 "id": 4, 811 "options": { 812 "annotations": { 813 "clustering": -1, 814 "multiLane": false 815 }, 816 "legend": { 817 "calcs": [], 818 "displayMode": "list", 819 "enableFacetedFilter": false, 820 "overflow": "ellipsis", 821 "placement": "bottom", 822 "showLegend": true 823 }, 824 "tooltip": { 825 "hideZeros": false, 826 "mode": "single", 827 "sort": "none" 828 } 829 }, 830 "pluginVersion": "13.1.3", 831 "targets": [ 832 { 833 "datasource": { 834 "type": "prometheus", 835 "uid": "prometheus" 836 }, 837 "editorMode": "code", 838 "expr": "db_pool_connections_idle{job=~\".+\"}", 839 "legendFormat": "__auto", 840 "range": true, 841 "refId": "A" 842 } 843 ], 844 "title": "Idle Connections (Pool Headroom)", 845 "type": "timeseries" 846 } 847 ], 848 "preload": false, 849 "refresh": "", 850 "schemaVersion": 42, 851 "time": { 852 "from": "now-6h", 853 "to": "now" 854 }, 855 "timepicker": { 856 "refresh_intervals": [ 857 "5s", 858 "10s", 859 "30s", 860 "1m", 861 "5m", 862 "15m", 863 "30m", 864 "1h", 865 "2h", 866 "1d" 867 ] 868 }, 869 "timezone": "browser", 870 "title": "Otelmart Dashboard", 871 "uid": "ad79bw7", 872 "version": 17 873 }