agones.dev/agones@v1.53.0/build/grafana/dashboard-autoscalers.yaml (about) 1 --- 2 # Copyright 2018 Google LLC All Rights Reserved. 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 16 # configs map used by grafana 17 apiVersion: v1 18 kind: ConfigMap 19 metadata: 20 name: agones-autoscalers 21 namespace: metrics 22 labels: 23 grafana_dashboard: '1' 24 data: 25 dashboard-agones-autoscalers.json: |- 26 { 27 "annotations": { 28 "list": [ 29 { 30 "$$hashKey": "object:10236", 31 "builtIn": 1, 32 "datasource": "-- Grafana --", 33 "enable": true, 34 "hide": true, 35 "iconColor": "rgba(0, 211, 255, 1)", 36 "name": "Annotations & Alerts", 37 "type": "dashboard" 38 } 39 ] 40 }, 41 "editable": true, 42 "gnetId": null, 43 "graphTooltip": 0, 44 "iteration": 1591350935123, 45 "links": [], 46 "panels": [ 47 { 48 "cacheTimeout": null, 49 "colorBackground": false, 50 "colorValue": true, 51 "colors": [ 52 "#299c46", 53 "rgba(237, 129, 40, 0.89)", 54 "#d44a3a" 55 ], 56 "datasource": null, 57 "format": "percentunit", 58 "gauge": { 59 "maxValue": 1, 60 "minValue": 0, 61 "show": true, 62 "thresholdLabels": false, 63 "thresholdMarkers": true 64 }, 65 "gridPos": { 66 "h": 6, 67 "w": 5, 68 "x": 0, 69 "y": 0 70 }, 71 "id": 5, 72 "interval": null, 73 "links": [], 74 "mappingType": 1, 75 "mappingTypes": [ 76 { 77 "name": "value to text", 78 "value": 1 79 }, 80 { 81 "name": "range to text", 82 "value": 2 83 } 84 ], 85 "maxDataPoints": 100, 86 "nullPointMode": "connected", 87 "nullText": null, 88 "postfix": "", 89 "postfixFontSize": "50%", 90 "prefix": "", 91 "prefixFontSize": "50%", 92 "rangeMaps": [ 93 { 94 "from": "null", 95 "text": "N/A", 96 "to": "null" 97 } 98 ], 99 "sparkline": { 100 "fillColor": "rgba(31, 118, 189, 0.18)", 101 "full": false, 102 "lineColor": "rgb(31, 120, 193)", 103 "show": false 104 }, 105 "tableColumn": "", 106 "targets": [ 107 { 108 "$$hashKey": "object:10515", 109 "expr": "(label_replace(agones_fleets_replicas_count{type=\"allocated\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"}))\n\n/ on(name)\n\n(label_replace(agones_fleets_replicas_count{type=\"desired\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\",namespace=\"$namespace\"}))", 110 "format": "time_series", 111 "instant": false, 112 "interval": "", 113 "intervalFactor": 1, 114 "legendFormat": "", 115 "refId": "A" 116 } 117 ], 118 "thresholds": "0.5,0.8", 119 "title": "Fleet % Allocated", 120 "type": "singlestat", 121 "valueFontSize": "80%", 122 "valueMaps": [ 123 { 124 "op": "=", 125 "text": "N/A", 126 "value": "null" 127 } 128 ], 129 "valueName": "current" 130 }, 131 { 132 "cacheTimeout": null, 133 "colorBackground": false, 134 "colorValue": false, 135 "colors": [ 136 "#d44a3a", 137 "rgba(237, 129, 40, 0.89)", 138 "#299c46" 139 ], 140 "datasource": null, 141 "format": "percentunit", 142 "gauge": { 143 "maxValue": 1, 144 "minValue": 0, 145 "show": true, 146 "thresholdLabels": false, 147 "thresholdMarkers": true 148 }, 149 "gridPos": { 150 "h": 6, 151 "w": 5, 152 "x": 5, 153 "y": 0 154 }, 155 "id": 6, 156 "interval": null, 157 "links": [], 158 "mappingType": 1, 159 "mappingTypes": [ 160 { 161 "$$hashKey": "object:10367", 162 "name": "value to text", 163 "value": 1 164 }, 165 { 166 "$$hashKey": "object:10368", 167 "name": "range to text", 168 "value": 2 169 } 170 ], 171 "maxDataPoints": 100, 172 "nullPointMode": "connected", 173 "nullText": null, 174 "postfix": "", 175 "postfixFontSize": "50%", 176 "prefix": "", 177 "prefixFontSize": "50%", 178 "rangeMaps": [ 179 { 180 "from": "null", 181 "text": "N/A", 182 "to": "null" 183 } 184 ], 185 "sparkline": { 186 "fillColor": "rgba(31, 118, 189, 0.18)", 187 "full": false, 188 "lineColor": "rgb(31, 120, 193)", 189 "show": false 190 }, 191 "tableColumn": "", 192 "targets": [ 193 { 194 "$$hashKey": "object:10343", 195 "expr": "(label_replace(agones_fleets_replicas_count{type=\"ready\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"}))\n\n/ on(name)\n\n(label_replace(agones_fleets_replicas_count{type=\"desired\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"}))", 196 "format": "time_series", 197 "instant": false, 198 "interval": "", 199 "intervalFactor": 1, 200 "legendFormat": "", 201 "refId": "A" 202 } 203 ], 204 "thresholds": "0.2,0.5", 205 "title": "Fleet % Ready", 206 "type": "singlestat", 207 "valueFontSize": "80%", 208 "valueMaps": [ 209 { 210 "$$hashKey": "object:10370", 211 "op": "=", 212 "text": "N/A", 213 "value": "null" 214 } 215 ], 216 "valueName": "current" 217 }, 218 { 219 "cacheTimeout": null, 220 "colorBackground": false, 221 "colorValue": false, 222 "colors": [ 223 "#299c46", 224 "rgba(237, 129, 40, 0.89)", 225 "#d44a3a" 226 ], 227 "datasource": null, 228 "format": "short", 229 "gauge": { 230 "maxValue": 100, 231 "minValue": 0, 232 "show": false, 233 "thresholdLabels": false, 234 "thresholdMarkers": true 235 }, 236 "gridPos": { 237 "h": 3, 238 "w": 4, 239 "x": 10, 240 "y": 0 241 }, 242 "id": 10, 243 "interval": null, 244 "links": [], 245 "mappingType": 1, 246 "mappingTypes": [ 247 { 248 "name": "value to text", 249 "value": 1 250 }, 251 { 252 "name": "range to text", 253 "value": 2 254 } 255 ], 256 "maxDataPoints": 100, 257 "nullPointMode": "connected", 258 "nullText": null, 259 "postfix": "", 260 "postfixFontSize": "50%", 261 "prefix": "", 262 "prefixFontSize": "50%", 263 "rangeMaps": [ 264 { 265 "from": "null", 266 "text": "N/A", 267 "to": "null" 268 } 269 ], 270 "sparkline": { 271 "fillColor": "rgba(31, 118, 189, 0.18)", 272 "full": false, 273 "lineColor": "rgb(31, 120, 193)", 274 "show": false 275 }, 276 "tableColumn": "", 277 "targets": [ 278 { 279 "expr": "(agones_fleet_autoscalers_desired_replicas_count{name=\"$name\", namespace=\"$namespace\"} - agones_fleet_autoscalers_current_replicas_count{name=\"$name\", namespace=\"$namespace\"})", 280 "format": "time_series", 281 "instant": true, 282 "interval": "", 283 "intervalFactor": 1, 284 "legendFormat": "", 285 "refId": "A" 286 } 287 ], 288 "thresholds": "", 289 "title": "Current Desired Scaling Count", 290 "type": "singlestat", 291 "valueFontSize": "80%", 292 "valueMaps": [ 293 { 294 "op": "=", 295 "text": "N/A", 296 "value": "null" 297 } 298 ], 299 "valueName": "current" 300 }, 301 { 302 "cacheTimeout": null, 303 "colorBackground": false, 304 "colorValue": false, 305 "colors": [ 306 "#299c46", 307 "rgba(237, 129, 40, 0.89)", 308 "#d44a3a" 309 ], 310 "datasource": null, 311 "format": "short", 312 "gauge": { 313 "maxValue": 100, 314 "minValue": 0, 315 "show": false, 316 "thresholdLabels": false, 317 "thresholdMarkers": true 318 }, 319 "gridPos": { 320 "h": 3, 321 "w": 4, 322 "x": 14, 323 "y": 0 324 }, 325 "id": 16, 326 "interval": null, 327 "links": [], 328 "mappingType": 1, 329 "mappingTypes": [ 330 { 331 "name": "value to text", 332 "value": 1 333 }, 334 { 335 "name": "range to text", 336 "value": 2 337 } 338 ], 339 "maxDataPoints": 100, 340 "nullPointMode": "connected", 341 "nullText": null, 342 "postfix": "", 343 "postfixFontSize": "50%", 344 "prefix": "", 345 "prefixFontSize": "50%", 346 "rangeMaps": [ 347 { 348 "from": "null", 349 "text": "N/A", 350 "to": "null" 351 } 352 ], 353 "sparkline": { 354 "fillColor": "rgba(31, 118, 189, 0.18)", 355 "full": false, 356 "lineColor": "rgb(31, 120, 193)", 357 "show": false 358 }, 359 "tableColumn": "", 360 "targets": [ 361 { 362 "expr": "agones_fleet_autoscalers_desired_replicas_count{name=\"$name\", namespace=\"$namespace\"}", 363 "format": "time_series", 364 "instant": true, 365 "interval": "", 366 "intervalFactor": 1, 367 "legendFormat": "", 368 "refId": "A" 369 } 370 ], 371 "thresholds": "", 372 "title": "Autoscaler Current Desired Count", 373 "type": "singlestat", 374 "valueFontSize": "80%", 375 "valueMaps": [ 376 { 377 "op": "=", 378 "text": "N/A", 379 "value": "null" 380 } 381 ], 382 "valueName": "current" 383 }, 384 { 385 "cacheTimeout": null, 386 "colorBackground": false, 387 "colorValue": false, 388 "colors": [ 389 "#299c46", 390 "rgba(237, 129, 40, 0.89)", 391 "#d44a3a" 392 ], 393 "datasource": null, 394 "format": "short", 395 "gauge": { 396 "maxValue": 100, 397 "minValue": 0, 398 "show": false, 399 "thresholdLabels": false, 400 "thresholdMarkers": true 401 }, 402 "gridPos": { 403 "h": 3, 404 "w": 3, 405 "x": 18, 406 "y": 0 407 }, 408 "id": 11, 409 "interval": null, 410 "links": [], 411 "mappingType": 1, 412 "mappingTypes": [ 413 { 414 "name": "value to text", 415 "value": 1 416 }, 417 { 418 "name": "range to text", 419 "value": 2 420 } 421 ], 422 "maxDataPoints": 100, 423 "nullPointMode": "connected", 424 "nullText": null, 425 "postfix": "", 426 "postfixFontSize": "50%", 427 "prefix": "", 428 "prefixFontSize": "50%", 429 "rangeMaps": [ 430 { 431 "from": "null", 432 "text": "N/A", 433 "to": "null" 434 } 435 ], 436 "sparkline": { 437 "fillColor": "rgba(31, 118, 189, 0.18)", 438 "full": false, 439 "lineColor": "rgb(31, 120, 193)", 440 "show": false 441 }, 442 "tableColumn": "", 443 "targets": [ 444 { 445 "expr": "agones_fleet_autoscalers_buffer_size{name=\"$name\",type=\"count\", namespace=\"$namespace\"}", 446 "format": "time_series", 447 "instant": true, 448 "interval": "", 449 "intervalFactor": 1, 450 "legendFormat": "", 451 "refId": "A" 452 } 453 ], 454 "thresholds": "", 455 "title": "Buffer Size Count", 456 "type": "singlestat", 457 "valueFontSize": "80%", 458 "valueMaps": [ 459 { 460 "op": "=", 461 "text": "N/A", 462 "value": "null" 463 } 464 ], 465 "valueName": "current" 466 }, 467 { 468 "cacheTimeout": null, 469 "colorBackground": false, 470 "colorValue": false, 471 "colors": [ 472 "#299c46", 473 "rgba(237, 129, 40, 0.89)", 474 "#d44a3a" 475 ], 476 "datasource": null, 477 "format": "short", 478 "gauge": { 479 "maxValue": 100, 480 "minValue": 0, 481 "show": false, 482 "thresholdLabels": false, 483 "thresholdMarkers": true 484 }, 485 "gridPos": { 486 "h": 3, 487 "w": 3, 488 "x": 21, 489 "y": 0 490 }, 491 "id": 13, 492 "interval": null, 493 "links": [], 494 "mappingType": 1, 495 "mappingTypes": [ 496 { 497 "name": "value to text", 498 "value": 1 499 }, 500 { 501 "name": "range to text", 502 "value": 2 503 } 504 ], 505 "maxDataPoints": 100, 506 "nullPointMode": "connected", 507 "nullText": null, 508 "postfix": "", 509 "postfixFontSize": "50%", 510 "prefix": "", 511 "prefixFontSize": "50%", 512 "rangeMaps": [ 513 { 514 "from": "null", 515 "text": "N/A", 516 "to": "null" 517 } 518 ], 519 "sparkline": { 520 "fillColor": "rgba(31, 118, 189, 0.18)", 521 "full": false, 522 "lineColor": "rgb(31, 120, 193)", 523 "show": false 524 }, 525 "tableColumn": "", 526 "targets": [ 527 { 528 "expr": "agones_fleet_autoscalers_buffer_limits{name=\"$name\",type=\"min\", namespace=\"$namespace\"}", 529 "format": "time_series", 530 "instant": true, 531 "interval": "", 532 "intervalFactor": 1, 533 "legendFormat": "", 534 "refId": "A" 535 } 536 ], 537 "thresholds": "", 538 "title": "Min buffer size", 539 "type": "singlestat", 540 "valueFontSize": "80%", 541 "valueMaps": [ 542 { 543 "op": "=", 544 "text": "N/A", 545 "value": "null" 546 } 547 ], 548 "valueName": "current" 549 }, 550 { 551 "cacheTimeout": null, 552 "colorBackground": false, 553 "colorValue": false, 554 "colors": [ 555 "#299c46", 556 "rgba(237, 129, 40, 0.89)", 557 "#d44a3a" 558 ], 559 "datasource": null, 560 "format": "percentunit", 561 "gauge": { 562 "maxValue": 100, 563 "minValue": 0, 564 "show": false, 565 "thresholdLabels": false, 566 "thresholdMarkers": true 567 }, 568 "gridPos": { 569 "h": 3, 570 "w": 4, 571 "x": 10, 572 "y": 3 573 }, 574 "id": 9, 575 "interval": null, 576 "links": [], 577 "mappingType": 1, 578 "mappingTypes": [ 579 { 580 "name": "value to text", 581 "value": 1 582 }, 583 { 584 "name": "range to text", 585 "value": 2 586 } 587 ], 588 "maxDataPoints": 100, 589 "nullPointMode": "connected", 590 "nullText": null, 591 "postfix": "", 592 "postfixFontSize": "50%", 593 "prefix": "", 594 "prefixFontSize": "50%", 595 "rangeMaps": [ 596 { 597 "from": "null", 598 "text": "N/A", 599 "to": "null" 600 } 601 ], 602 "sparkline": { 603 "fillColor": "rgba(31, 118, 189, 0.18)", 604 "full": false, 605 "lineColor": "rgb(31, 120, 193)", 606 "show": false 607 }, 608 "tableColumn": "", 609 "targets": [ 610 { 611 "expr": "(agones_fleet_autoscalers_desired_replicas_count{name=\"$name\", namespace=\"$namespace\"} - agones_fleet_autoscalers_current_replicas_count{name=\"$name\", namespace=\"$namespace\"})\n\n / \n\nagones_fleet_autoscalers_current_replicas_count{name=\"$name\", namespace=\"$namespace\"} ", 612 "format": "time_series", 613 "instant": true, 614 "interval": "", 615 "intervalFactor": 1, 616 "legendFormat": "", 617 "refId": "A" 618 } 619 ], 620 "thresholds": "", 621 "title": "Current Desired Scaling %", 622 "type": "singlestat", 623 "valueFontSize": "80%", 624 "valueMaps": [ 625 { 626 "op": "=", 627 "text": "N/A", 628 "value": "null" 629 } 630 ], 631 "valueName": "current" 632 }, 633 { 634 "cacheTimeout": null, 635 "colorBackground": false, 636 "colorValue": false, 637 "colors": [ 638 "#299c46", 639 "rgba(237, 129, 40, 0.89)", 640 "#d44a3a" 641 ], 642 "datasource": null, 643 "format": "short", 644 "gauge": { 645 "maxValue": 100, 646 "minValue": 0, 647 "show": false, 648 "thresholdLabels": false, 649 "thresholdMarkers": true 650 }, 651 "gridPos": { 652 "h": 3, 653 "w": 4, 654 "x": 14, 655 "y": 3 656 }, 657 "id": 17, 658 "interval": null, 659 "links": [], 660 "mappingType": 1, 661 "mappingTypes": [ 662 { 663 "name": "value to text", 664 "value": 1 665 }, 666 { 667 "name": "range to text", 668 "value": 2 669 } 670 ], 671 "maxDataPoints": 100, 672 "nullPointMode": "connected", 673 "nullText": null, 674 "postfix": "", 675 "postfixFontSize": "50%", 676 "prefix": "", 677 "prefixFontSize": "50%", 678 "rangeMaps": [ 679 { 680 "from": "null", 681 "text": "N/A", 682 "to": "null" 683 } 684 ], 685 "sparkline": { 686 "fillColor": "rgba(31, 118, 189, 0.18)", 687 "full": false, 688 "lineColor": "rgb(31, 120, 193)", 689 "show": false 690 }, 691 "tableColumn": "", 692 "targets": [ 693 { 694 "expr": "agones_fleet_autoscalers_current_replicas_count{name=\"$name\", namespace=\"$namespace\"}", 695 "format": "time_series", 696 "instant": true, 697 "interval": "", 698 "intervalFactor": 1, 699 "legendFormat": "", 700 "refId": "A" 701 } 702 ], 703 "thresholds": "", 704 "title": "Autoscaler Current Replica Count", 705 "type": "singlestat", 706 "valueFontSize": "80%", 707 "valueMaps": [ 708 { 709 "op": "=", 710 "text": "N/A", 711 "value": "null" 712 } 713 ], 714 "valueName": "current" 715 }, 716 { 717 "cacheTimeout": null, 718 "colorBackground": false, 719 "colorValue": false, 720 "colors": [ 721 "#629e51", 722 "rgba(237, 129, 40, 0.89)", 723 "#299c46" 724 ], 725 "datasource": null, 726 "format": "percent", 727 "gauge": { 728 "maxValue": 100, 729 "minValue": 0, 730 "show": false, 731 "thresholdLabels": false, 732 "thresholdMarkers": false 733 }, 734 "gridPos": { 735 "h": 3, 736 "w": 3, 737 "x": 18, 738 "y": 3 739 }, 740 "id": 14, 741 "interval": null, 742 "links": [], 743 "mappingType": 1, 744 "mappingTypes": [ 745 { 746 "name": "value to text", 747 "value": 1 748 }, 749 { 750 "name": "range to text", 751 "value": 2 752 } 753 ], 754 "maxDataPoints": 100, 755 "nullPointMode": "connected", 756 "nullText": null, 757 "postfix": "", 758 "postfixFontSize": "50%", 759 "prefix": "", 760 "prefixFontSize": "50%", 761 "rangeMaps": [ 762 { 763 "from": "null", 764 "text": "N/A", 765 "to": "null" 766 } 767 ], 768 "sparkline": { 769 "fillColor": "rgba(31, 118, 189, 0.18)", 770 "full": false, 771 "lineColor": "rgb(31, 120, 193)", 772 "show": false 773 }, 774 "tableColumn": "", 775 "targets": [ 776 { 777 "expr": "agones_fleet_autoscalers_buffer_size{name=\"$name\",type=\"percentage\", namespace=\"$namespace\"}", 778 "format": "time_series", 779 "instant": true, 780 "interval": "", 781 "intervalFactor": 1, 782 "legendFormat": "", 783 "refId": "A" 784 } 785 ], 786 "thresholds": "", 787 "title": "Buffer Size %", 788 "type": "singlestat", 789 "valueFontSize": "80%", 790 "valueMaps": [ 791 { 792 "op": "=", 793 "text": "N/A", 794 "value": "null" 795 } 796 ], 797 "valueName": "current" 798 }, 799 { 800 "cacheTimeout": null, 801 "colorBackground": false, 802 "colorValue": false, 803 "colors": [ 804 "#299c46", 805 "rgba(237, 129, 40, 0.89)", 806 "#d44a3a" 807 ], 808 "datasource": null, 809 "format": "short", 810 "gauge": { 811 "maxValue": 100, 812 "minValue": 0, 813 "show": false, 814 "thresholdLabels": false, 815 "thresholdMarkers": true 816 }, 817 "gridPos": { 818 "h": 3, 819 "w": 3, 820 "x": 21, 821 "y": 3 822 }, 823 "id": 15, 824 "interval": null, 825 "links": [], 826 "mappingType": 1, 827 "mappingTypes": [ 828 { 829 "name": "value to text", 830 "value": 1 831 }, 832 { 833 "name": "range to text", 834 "value": 2 835 } 836 ], 837 "maxDataPoints": 100, 838 "nullPointMode": "connected", 839 "nullText": null, 840 "postfix": "", 841 "postfixFontSize": "50%", 842 "prefix": "", 843 "prefixFontSize": "50%", 844 "rangeMaps": [ 845 { 846 "from": "null", 847 "text": "N/A", 848 "to": "null" 849 } 850 ], 851 "sparkline": { 852 "fillColor": "rgba(31, 118, 189, 0.18)", 853 "full": false, 854 "lineColor": "rgb(31, 120, 193)", 855 "show": false 856 }, 857 "tableColumn": "", 858 "targets": [ 859 { 860 "expr": "agones_fleet_autoscalers_buffer_limits{name=\"$name\",type=\"max\", namespace=\"$namespace\"}", 861 "format": "time_series", 862 "instant": true, 863 "interval": "", 864 "intervalFactor": 1, 865 "legendFormat": "", 866 "refId": "A" 867 } 868 ], 869 "thresholds": "", 870 "title": "Max buffer size", 871 "type": "singlestat", 872 "valueFontSize": "80%", 873 "valueMaps": [ 874 { 875 "op": "=", 876 "text": "N/A", 877 "value": "null" 878 } 879 ], 880 "valueName": "current" 881 }, 882 { 883 "aliasColors": {}, 884 "bars": false, 885 "dashLength": 10, 886 "dashes": false, 887 "datasource": null, 888 "fill": 1, 889 "fillGradient": 0, 890 "gridPos": { 891 "h": 7, 892 "w": 24, 893 "x": 0, 894 "y": 6 895 }, 896 "hiddenSeries": false, 897 "id": 8, 898 "legend": { 899 "alignAsTable": true, 900 "avg": true, 901 "current": true, 902 "max": true, 903 "min": true, 904 "rightSide": true, 905 "show": true, 906 "total": false, 907 "values": true 908 }, 909 "lines": true, 910 "linewidth": 1, 911 "links": [], 912 "nullPointMode": "null", 913 "options": { 914 "dataLinks": [] 915 }, 916 "percentage": false, 917 "pointradius": 5, 918 "points": false, 919 "renderer": "flot", 920 "seriesOverrides": [], 921 "spaceLength": 10, 922 "stack": false, 923 "steppedLine": false, 924 "targets": [ 925 { 926 "expr": "agones_fleet_autoscalers_current_replicas_count{name=\"$name\", namespace=\"$namespace\"}", 927 "format": "time_series", 928 "instant": false, 929 "interval": "", 930 "intervalFactor": 1, 931 "legendFormat": "fas current replicas", 932 "refId": "A" 933 }, 934 { 935 "expr": "agones_fleet_autoscalers_desired_replicas_count{name=\"$name\", namespace=\"$namespace\"}", 936 "format": "time_series", 937 "interval": "", 938 "intervalFactor": 1, 939 "legendFormat": "fas desired replicate", 940 "refId": "B" 941 }, 942 { 943 "expr": "label_replace(agones_fleets_replicas_count{type=\"allocated\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"})", 944 "format": "time_series", 945 "interval": "", 946 "intervalFactor": 1, 947 "legendFormat": "fleet allocated", 948 "refId": "C" 949 }, 950 { 951 "expr": "label_replace(agones_fleets_replicas_count{type=\"ready\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"})", 952 "format": "time_series", 953 "interval": "", 954 "intervalFactor": 1, 955 "legendFormat": "fleet ready", 956 "refId": "D" 957 }, 958 { 959 "expr": "label_replace(agones_fleets_replicas_count{type=\"desired\", namespace=\"$namespace\"},\"fleet_name\",\"$1\",\"name\",\"(.*)\") * on (fleet_name) group_left() (agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"})", 960 "format": "time_series", 961 "interval": "", 962 "intervalFactor": 1, 963 "legendFormat": "fleet desired", 964 "refId": "E" 965 }, 966 { 967 "expr": "(agones_fleet_autoscalers_desired_replicas_count{name=\"$name\", namespace=\"$namespace\"} - agones_fleet_autoscalers_current_replicas_count{name=\"$name\", namespace=\"$namespace\"})", 968 "format": "time_series", 969 "interval": "", 970 "intervalFactor": 1, 971 "legendFormat": "desired scaling", 972 "refId": "F" 973 } 974 ], 975 "thresholds": [], 976 "timeFrom": null, 977 "timeRegions": [], 978 "timeShift": null, 979 "title": "Fleet Replicas", 980 "tooltip": { 981 "shared": true, 982 "sort": 0, 983 "value_type": "individual" 984 }, 985 "type": "graph", 986 "xaxis": { 987 "buckets": null, 988 "mode": "time", 989 "name": null, 990 "show": true, 991 "values": [] 992 }, 993 "yaxes": [ 994 { 995 "format": "short", 996 "label": null, 997 "logBase": 1, 998 "max": null, 999 "min": null, 1000 "show": true 1001 }, 1002 { 1003 "format": "short", 1004 "label": null, 1005 "logBase": 1, 1006 "max": null, 1007 "min": null, 1008 "show": true 1009 } 1010 ], 1011 "yaxis": { 1012 "align": false, 1013 "alignLevel": null 1014 } 1015 }, 1016 { 1017 "cacheTimeout": null, 1018 "colorBackground": false, 1019 "colorValue": false, 1020 "colors": [ 1021 "#299c46", 1022 "rgba(237, 129, 40, 0.89)", 1023 "#d44a3a" 1024 ], 1025 "datasource": null, 1026 "format": "none", 1027 "gauge": { 1028 "maxValue": 100, 1029 "minValue": 0, 1030 "show": false, 1031 "thresholdLabels": false, 1032 "thresholdMarkers": true 1033 }, 1034 "gridPos": { 1035 "h": 3, 1036 "w": 12, 1037 "x": 0, 1038 "y": 13 1039 }, 1040 "id": 2, 1041 "interval": null, 1042 "links": [], 1043 "mappingType": 1, 1044 "mappingTypes": [ 1045 { 1046 "name": "value to text", 1047 "value": 1 1048 }, 1049 { 1050 "name": "range to text", 1051 "value": 2 1052 } 1053 ], 1054 "maxDataPoints": 100, 1055 "nullPointMode": "connected", 1056 "nullText": null, 1057 "postfix": "", 1058 "postfixFontSize": "50%", 1059 "prefix": "", 1060 "prefixFontSize": "50%", 1061 "rangeMaps": [ 1062 { 1063 "from": "null", 1064 "text": "N/A", 1065 "to": "null" 1066 } 1067 ], 1068 "sparkline": { 1069 "fillColor": "rgba(31, 118, 189, 0.18)", 1070 "full": false, 1071 "lineColor": "rgb(31, 120, 193)", 1072 "show": false 1073 }, 1074 "tableColumn": "", 1075 "targets": [ 1076 { 1077 "expr": "agones_fleet_autoscalers_limited{name=\"$name\", namespace=\"$namespace\"}", 1078 "format": "time_series", 1079 "instant": true, 1080 "interval": "", 1081 "intervalFactor": 1, 1082 "legendFormat": "", 1083 "refId": "A" 1084 } 1085 ], 1086 "thresholds": "", 1087 "title": "Scaling out/in Limited", 1088 "type": "singlestat", 1089 "valueFontSize": "80%", 1090 "valueMaps": [ 1091 { 1092 "op": "=", 1093 "text": "False", 1094 "value": "0" 1095 }, 1096 { 1097 "op": "=", 1098 "text": "True", 1099 "value": "1" 1100 } 1101 ], 1102 "valueName": "avg" 1103 }, 1104 { 1105 "cacheTimeout": null, 1106 "colorBackground": false, 1107 "colorValue": false, 1108 "colors": [ 1109 "#299c46", 1110 "rgba(237, 129, 40, 0.89)", 1111 "#d44a3a" 1112 ], 1113 "datasource": null, 1114 "format": "none", 1115 "gauge": { 1116 "maxValue": 100, 1117 "minValue": 0, 1118 "show": false, 1119 "thresholdLabels": false, 1120 "thresholdMarkers": true 1121 }, 1122 "gridPos": { 1123 "h": 3, 1124 "w": 12, 1125 "x": 12, 1126 "y": 13 1127 }, 1128 "id": 3, 1129 "interval": null, 1130 "links": [], 1131 "mappingType": 1, 1132 "mappingTypes": [ 1133 { 1134 "name": "value to text", 1135 "value": 1 1136 }, 1137 { 1138 "name": "range to text", 1139 "value": 2 1140 } 1141 ], 1142 "maxDataPoints": 100, 1143 "nullPointMode": "connected", 1144 "nullText": null, 1145 "postfix": "", 1146 "postfixFontSize": "50%", 1147 "prefix": "", 1148 "prefixFontSize": "50%", 1149 "rangeMaps": [ 1150 { 1151 "from": "null", 1152 "text": "N/A", 1153 "to": "null" 1154 } 1155 ], 1156 "sparkline": { 1157 "fillColor": "rgba(31, 118, 189, 0.18)", 1158 "full": false, 1159 "lineColor": "rgb(31, 120, 193)", 1160 "show": false 1161 }, 1162 "tableColumn": "", 1163 "targets": [ 1164 { 1165 "expr": "agones_fleet_autoscalers_able_to_scale{name=\"$name\", namespace=\"$namespace\"}", 1166 "format": "time_series", 1167 "instant": true, 1168 "interval": "", 1169 "intervalFactor": 1, 1170 "legendFormat": "", 1171 "refId": "A" 1172 } 1173 ], 1174 "thresholds": "", 1175 "title": "Able to scale", 1176 "type": "singlestat", 1177 "valueFontSize": "80%", 1178 "valueMaps": [ 1179 { 1180 "op": "=", 1181 "text": "False", 1182 "value": "0" 1183 }, 1184 { 1185 "op": "=", 1186 "text": "True", 1187 "value": "1" 1188 } 1189 ], 1190 "valueName": "avg" 1191 } 1192 ], 1193 "refresh": "5s", 1194 "schemaVersion": 22, 1195 "style": "dark", 1196 "tags": [ 1197 "agones", 1198 "autoscaler" 1199 ], 1200 "templating": { 1201 "list": [ 1202 { 1203 "allValue": null, 1204 "current": { 1205 "text": "simple-udp-autoscaler", 1206 "value": "simple-udp-autoscaler" 1207 }, 1208 "datasource": "Prometheus", 1209 "definition": "label_values(agones_fleet_autoscalers_desired_replicas_count,name)", 1210 "hide": 0, 1211 "includeAll": false, 1212 "index": -1, 1213 "label": null, 1214 "multi": false, 1215 "name": "name", 1216 "options": [], 1217 "query": "label_values(agones_fleet_autoscalers_desired_replicas_count,name)", 1218 "refresh": 2, 1219 "regex": "", 1220 "skipUrlSync": false, 1221 "sort": 0, 1222 "tagValuesQuery": "", 1223 "tags": [], 1224 "tagsQuery": "", 1225 "type": "query", 1226 "useTags": false 1227 }, 1228 { 1229 "allValue": null, 1230 "current": { 1231 "text": "default", 1232 "value": "default" 1233 }, 1234 "datasource": "Prometheus", 1235 "definition": "label_values(agones_fleet_autoscalers_desired_replicas_count,namespace)", 1236 "hide": 0, 1237 "includeAll": false, 1238 "index": -1, 1239 "label": null, 1240 "multi": false, 1241 "name": "namespace", 1242 "options": [], 1243 "query": "label_values(agones_fleet_autoscalers_desired_replicas_count,namespace)", 1244 "refresh": 2, 1245 "regex": "", 1246 "skipUrlSync": false, 1247 "sort": 0, 1248 "tagValuesQuery": "", 1249 "tags": [], 1250 "tagsQuery": "", 1251 "type": "query", 1252 "useTags": false 1253 } 1254 ] 1255 }, 1256 "time": { 1257 "from": "now-5m", 1258 "to": "now" 1259 }, 1260 "timepicker": { 1261 "refresh_intervals": [ 1262 "5s", 1263 "10s", 1264 "30s", 1265 "1m", 1266 "5m", 1267 "15m", 1268 "30m", 1269 "1h", 1270 "2h", 1271 "1d" 1272 ], 1273 "time_options": [ 1274 "5m", 1275 "15m", 1276 "1h", 1277 "6h", 1278 "12h", 1279 "24h", 1280 "2d", 1281 "7d", 1282 "30d" 1283 ] 1284 }, 1285 "timezone": "", 1286 "title": "Agones Autoscalers", 1287 "uid": "zPJCl08iz", 1288 "variables": { 1289 "list": [] 1290 }, 1291 "version": 1 1292 }