github.com/abayer/test-infra@v0.0.5/velodrome/grafana-stack/dashboards/engineers-velocity.json (about) 1 { 2 "__inputs": [ 3 { 4 "name": "DS_GITHUB", 5 "label": "github", 6 "description": "", 7 "type": "datasource", 8 "pluginId": "influxdb", 9 "pluginName": "InfluxDB" 10 } 11 ], 12 "__requires": [ 13 { 14 "type": "panel", 15 "id": "graph", 16 "name": "Graph", 17 "version": "" 18 }, 19 { 20 "type": "grafana", 21 "id": "grafana", 22 "name": "Grafana", 23 "version": "3.1.1" 24 }, 25 { 26 "type": "datasource", 27 "id": "influxdb", 28 "name": "InfluxDB", 29 "version": "1.0.0" 30 } 31 ], 32 "id": null, 33 "title": "Kubernetes Developer Velocity", 34 "tags": [], 35 "style": "dark", 36 "timezone": "browser", 37 "editable": true, 38 "hideControls": true, 39 "sharedCrosshair": false, 40 "rows": [ 41 { 42 "collapse": false, 43 "editable": true, 44 "height": "250px", 45 "panels": [ 46 { 47 "aliasColors": {}, 48 "bars": false, 49 "datasource": "${DS_GITHUB}", 50 "editable": true, 51 "error": false, 52 "fill": 1, 53 "grid": { 54 "threshold1": null, 55 "threshold1Color": "rgba(216, 200, 27, 0.27)", 56 "threshold2": null, 57 "threshold2Color": "rgba(234, 112, 112, 0.22)" 58 }, 59 "id": 1, 60 "interval": "", 61 "isNew": true, 62 "legend": { 63 "avg": false, 64 "current": false, 65 "max": false, 66 "min": false, 67 "show": true, 68 "total": false, 69 "values": false 70 }, 71 "lines": true, 72 "linewidth": 2, 73 "links": [], 74 "nullPointMode": "connected", 75 "percentage": false, 76 "pointradius": 5, 77 "points": false, 78 "renderer": "flot", 79 "seriesOverrides": [ 80 { 81 "alias": "per week", 82 "yaxis": 1 83 }, 84 { 85 "alias": "per week (Moving Average)", 86 "yaxis": 1 87 } 88 ], 89 "span": 12, 90 "stack": false, 91 "steppedLine": false, 92 "targets": [ 93 { 94 "alias": "$col", 95 "dsType": "influxdb", 96 "groupBy": [ 97 { 98 "params": [ 99 "1w" 100 ], 101 "type": "time" 102 }, 103 { 104 "params": [ 105 "0" 106 ], 107 "type": "fill" 108 } 109 ], 110 "measurement": "merged", 111 "policy": "default", 112 "refId": "A", 113 "resultFormat": "time_series", 114 "select": [ 115 [ 116 { 117 "params": [ 118 "value" 119 ], 120 "type": "field" 121 }, 122 { 123 "params": [], 124 "type": "sum" 125 }, 126 { 127 "params": [ 128 "Total" 129 ], 130 "type": "alias" 131 } 132 ], 133 [ 134 { 135 "params": [ 136 "value" 137 ], 138 "type": "field" 139 }, 140 { 141 "params": [], 142 "type": "sum" 143 }, 144 { 145 "params": [ 146 "10" 147 ], 148 "type": "moving_average" 149 }, 150 { 151 "params": [ 152 "Moving average (10 weeks)" 153 ], 154 "type": "alias" 155 } 156 ] 157 ], 158 "tags": [] 159 } 160 ], 161 "timeFrom": null, 162 "timeShift": null, 163 "title": "Merge Rate", 164 "tooltip": { 165 "msResolution": false, 166 "shared": true, 167 "sort": 0, 168 "value_type": "cumulative" 169 }, 170 "type": "graph", 171 "xaxis": { 172 "show": true 173 }, 174 "yaxes": [ 175 { 176 "format": "short", 177 "label": "Merges per week", 178 "logBase": 1, 179 "max": null, 180 "min": null, 181 "show": true 182 }, 183 { 184 "format": "short", 185 "label": null, 186 "logBase": 1, 187 "max": null, 188 "min": null, 189 "show": true 190 } 191 ] 192 } 193 ], 194 "title": "Row" 195 }, 196 { 197 "collapse": false, 198 "editable": true, 199 "height": "250px", 200 "panels": [ 201 { 202 "aliasColors": {}, 203 "bars": false, 204 "datasource": "${DS_GITHUB}", 205 "editable": true, 206 "error": false, 207 "fill": 1, 208 "grid": { 209 "threshold1": null, 210 "threshold1Color": "rgba(216, 200, 27, 0.27)", 211 "threshold2": null, 212 "threshold2Color": "rgba(234, 112, 112, 0.22)" 213 }, 214 "id": 2, 215 "isNew": true, 216 "legend": { 217 "avg": false, 218 "current": false, 219 "max": false, 220 "min": false, 221 "show": true, 222 "total": false, 223 "values": false 224 }, 225 "lines": true, 226 "linewidth": 2, 227 "links": [], 228 "nullPointMode": "connected", 229 "percentage": false, 230 "pointradius": 5, 231 "points": false, 232 "renderer": "flot", 233 "seriesOverrides": [], 234 "span": 12, 235 "stack": false, 236 "steppedLine": false, 237 "targets": [ 238 { 239 "alias": "$col", 240 "dsType": "influxdb", 241 "groupBy": [ 242 { 243 "params": [ 244 "1w" 245 ], 246 "type": "time" 247 }, 248 { 249 "params": [ 250 "0" 251 ], 252 "type": "fill" 253 } 254 ], 255 "measurement": "lgtm_to_merged", 256 "policy": "default", 257 "refId": "A", 258 "resultFormat": "time_series", 259 "select": [ 260 [ 261 { 262 "params": [ 263 "value" 264 ], 265 "type": "field" 266 }, 267 { 268 "params": [ 269 "50" 270 ], 271 "type": "percentile" 272 }, 273 { 274 "params": [ 275 "/60" 276 ], 277 "type": "math" 278 }, 279 { 280 "params": [ 281 "50th Percentile" 282 ], 283 "type": "alias" 284 } 285 ], 286 [ 287 { 288 "params": [ 289 "value" 290 ], 291 "type": "field" 292 }, 293 { 294 "params": [ 295 "80" 296 ], 297 "type": "percentile" 298 }, 299 { 300 "params": [ 301 "/60" 302 ], 303 "type": "math" 304 }, 305 { 306 "params": [ 307 "80th Percentile" 308 ], 309 "type": "alias" 310 } 311 ] 312 ], 313 "tags": [] 314 } 315 ], 316 "timeFrom": null, 317 "timeShift": null, 318 "title": "LGTM to Merge", 319 "tooltip": { 320 "msResolution": false, 321 "shared": true, 322 "sort": 0, 323 "value_type": "cumulative" 324 }, 325 "type": "graph", 326 "xaxis": { 327 "show": true 328 }, 329 "yaxes": [ 330 { 331 "format": "short", 332 "label": "Number of hours", 333 "logBase": 1, 334 "max": null, 335 "min": null, 336 "show": true 337 }, 338 { 339 "format": "short", 340 "label": null, 341 "logBase": 1, 342 "max": null, 343 "min": null, 344 "show": true 345 } 346 ] 347 } 348 ], 349 "title": "New row" 350 }, 351 { 352 "collapse": false, 353 "editable": true, 354 "height": "250px", 355 "panels": [ 356 { 357 "aliasColors": {}, 358 "bars": false, 359 "datasource": "${DS_GITHUB}", 360 "editable": true, 361 "error": false, 362 "fill": 1, 363 "grid": { 364 "threshold1": null, 365 "threshold1Color": "rgba(216, 200, 27, 0.27)", 366 "threshold2": null, 367 "threshold2Color": "rgba(234, 112, 112, 0.22)" 368 }, 369 "id": 3, 370 "isNew": true, 371 "legend": { 372 "avg": false, 373 "current": false, 374 "max": false, 375 "min": false, 376 "show": true, 377 "total": false, 378 "values": false 379 }, 380 "lines": true, 381 "linewidth": 2, 382 "links": [], 383 "nullPointMode": "connected", 384 "percentage": false, 385 "pointradius": 5, 386 "points": false, 387 "renderer": "flot", 388 "seriesOverrides": [], 389 "span": 12, 390 "stack": false, 391 "steppedLine": false, 392 "targets": [ 393 { 394 "alias": "$col", 395 "dsType": "influxdb", 396 "groupBy": [ 397 { 398 "params": [ 399 "1w" 400 ], 401 "type": "time" 402 }, 403 { 404 "params": [ 405 "null" 406 ], 407 "type": "fill" 408 } 409 ], 410 "measurement": "first_comment", 411 "policy": "default", 412 "refId": "A", 413 "resultFormat": "time_series", 414 "select": [ 415 [ 416 { 417 "params": [ 418 "value" 419 ], 420 "type": "field" 421 }, 422 { 423 "params": [ 424 "50" 425 ], 426 "type": "percentile" 427 }, 428 { 429 "params": [ 430 " / 60" 431 ], 432 "type": "math" 433 }, 434 { 435 "params": [ 436 "50th Percentile" 437 ], 438 "type": "alias" 439 } 440 ], 441 [ 442 { 443 "params": [ 444 "value" 445 ], 446 "type": "field" 447 }, 448 { 449 "params": [ 450 "80" 451 ], 452 "type": "percentile" 453 }, 454 { 455 "params": [ 456 " / 60" 457 ], 458 "type": "math" 459 }, 460 { 461 "params": [ 462 "80th Percentile" 463 ], 464 "type": "alias" 465 } 466 ] 467 ], 468 "tags": [ 469 { 470 "key": "pr", 471 "operator": "=", 472 "value": "true" 473 } 474 ] 475 } 476 ], 477 "timeFrom": null, 478 "timeShift": null, 479 "title": "Pull-request response time (time before first comment/lgtm)", 480 "tooltip": { 481 "msResolution": false, 482 "shared": true, 483 "sort": 0, 484 "value_type": "cumulative" 485 }, 486 "type": "graph", 487 "xaxis": { 488 "show": true 489 }, 490 "yaxes": [ 491 { 492 "format": "short", 493 "label": "Number of hours", 494 "logBase": 1, 495 "max": null, 496 "min": null, 497 "show": true 498 }, 499 { 500 "format": "short", 501 "label": null, 502 "logBase": 1, 503 "max": null, 504 "min": null, 505 "show": true 506 } 507 ] 508 } 509 ], 510 "title": "New row" 511 }, 512 { 513 "collapse": false, 514 "editable": true, 515 "height": "250px", 516 "panels": [ 517 { 518 "aliasColors": { 519 "Rebase per pull-requests (80th percentile)": "#EAB839", 520 "Rebase per pull-requests (95th percentile)": "#6ED0E0" 521 }, 522 "bars": false, 523 "datasource": "${DS_GITHUB}", 524 "editable": true, 525 "error": false, 526 "fill": 1, 527 "grid": { 528 "threshold1": null, 529 "threshold1Color": "rgba(216, 200, 27, 0.27)", 530 "threshold2": null, 531 "threshold2Color": "rgba(234, 112, 112, 0.22)" 532 }, 533 "id": 4, 534 "isNew": true, 535 "legend": { 536 "avg": false, 537 "current": false, 538 "max": false, 539 "min": false, 540 "show": true, 541 "total": false, 542 "values": false 543 }, 544 "lines": true, 545 "linewidth": 2, 546 "links": [], 547 "nullPointMode": "connected", 548 "percentage": false, 549 "pointradius": 5, 550 "points": false, 551 "renderer": "flot", 552 "seriesOverrides": [ 553 { 554 "alias": "% of rebase per pull-request", 555 "yaxis": 1 556 }, 557 { 558 "alias": "rebase.mean", 559 "yaxis": 2 560 }, 561 { 562 "alias": "rebase.count", 563 "yaxis": 2 564 }, 565 { 566 "alias": "Count", 567 "yaxis": 2 568 }, 569 { 570 "alias": "Moving average (10 weeks)", 571 "yaxis": 2 572 }, 573 { 574 "alias": "Number of rebase: Count", 575 "yaxis": 2 576 }, 577 { 578 "alias": "Number of rebase: Moving average (10 weeks)", 579 "yaxis": 2 580 }, 581 { 582 "alias": "Number of rebase (count)", 583 "yaxis": 2 584 }, 585 { 586 "alias": "Number of rebase (10 weeks moving average)", 587 "yaxis": 2 588 } 589 ], 590 "span": 12, 591 "stack": false, 592 "steppedLine": false, 593 "targets": [ 594 { 595 "alias": "Rebase per pull-requests ($col)", 596 "dsType": "influxdb", 597 "groupBy": [ 598 { 599 "params": [ 600 "1w" 601 ], 602 "type": "time" 603 }, 604 { 605 "params": [ 606 "0" 607 ], 608 "type": "fill" 609 } 610 ], 611 "measurement": "rebase", 612 "policy": "default", 613 "refId": "A", 614 "resultFormat": "time_series", 615 "select": [ 616 [ 617 { 618 "params": [ 619 "value" 620 ], 621 "type": "field" 622 }, 623 { 624 "params": [ 625 "80" 626 ], 627 "type": "percentile" 628 }, 629 { 630 "params": [ 631 "80th percentile" 632 ], 633 "type": "alias" 634 } 635 ], 636 [ 637 { 638 "params": [ 639 "value" 640 ], 641 "type": "field" 642 }, 643 { 644 "params": [ 645 "95" 646 ], 647 "type": "percentile" 648 }, 649 { 650 "params": [ 651 "95th percentile" 652 ], 653 "type": "alias" 654 } 655 ] 656 ], 657 "tags": [] 658 } 659 ], 660 "timeFrom": null, 661 "timeShift": null, 662 "title": "Rebase", 663 "tooltip": { 664 "msResolution": false, 665 "shared": true, 666 "sort": 0, 667 "value_type": "cumulative" 668 }, 669 "type": "graph", 670 "xaxis": { 671 "show": true 672 }, 673 "yaxes": [ 674 { 675 "format": "short", 676 "label": "Number of rebase", 677 "logBase": 1, 678 "max": null, 679 "min": null, 680 "show": true 681 }, 682 { 683 "format": "short", 684 "label": "", 685 "logBase": 1, 686 "max": null, 687 "min": null, 688 "show": true 689 } 690 ] 691 } 692 ], 693 "title": "New row" 694 }, 695 { 696 "collapse": false, 697 "editable": true, 698 "height": "250px", 699 "panels": [ 700 { 701 "aliasColors": {}, 702 "bars": false, 703 "datasource": "${DS_GITHUB}", 704 "editable": true, 705 "error": false, 706 "fill": 1, 707 "grid": { 708 "threshold1": null, 709 "threshold1Color": "rgba(216, 200, 27, 0.27)", 710 "threshold2": null, 711 "threshold2Color": "rgba(234, 112, 112, 0.22)" 712 }, 713 "id": 5, 714 "isNew": true, 715 "legend": { 716 "avg": false, 717 "current": false, 718 "max": false, 719 "min": false, 720 "show": true, 721 "total": false, 722 "values": false 723 }, 724 "lines": true, 725 "linewidth": 2, 726 "links": [], 727 "nullPointMode": "connected", 728 "percentage": false, 729 "pointradius": 5, 730 "points": false, 731 "renderer": "flot", 732 "seriesOverrides": [], 733 "span": 12, 734 "stack": false, 735 "steppedLine": false, 736 "targets": [ 737 { 738 "alias": "$col", 739 "dsType": "influxdb", 740 "groupBy": [ 741 { 742 "params": [ 743 "1w" 744 ], 745 "type": "time" 746 }, 747 { 748 "params": [ 749 "0" 750 ], 751 "type": "fill" 752 } 753 ], 754 "measurement": "first_comment", 755 "policy": "default", 756 "refId": "A", 757 "resultFormat": "time_series", 758 "select": [ 759 [ 760 { 761 "params": [ 762 "value" 763 ], 764 "type": "field" 765 }, 766 { 767 "params": [ 768 "50" 769 ], 770 "type": "percentile" 771 }, 772 { 773 "params": [ 774 " / 60" 775 ], 776 "type": "math" 777 }, 778 { 779 "params": [ 780 "50th percentile" 781 ], 782 "type": "alias" 783 } 784 ], 785 [ 786 { 787 "params": [ 788 "value" 789 ], 790 "type": "field" 791 }, 792 { 793 "params": [ 794 "80" 795 ], 796 "type": "percentile" 797 }, 798 { 799 "params": [ 800 " / 60" 801 ], 802 "type": "math" 803 }, 804 { 805 "params": [ 806 "80th percentile" 807 ], 808 "type": "alias" 809 } 810 ] 811 ], 812 "tags": [ 813 { 814 "key": "pr", 815 "operator": "=", 816 "value": "false" 817 } 818 ] 819 } 820 ], 821 "timeFrom": null, 822 "timeShift": null, 823 "title": "First comment on flaky-test issues", 824 "tooltip": { 825 "msResolution": false, 826 "shared": true, 827 "sort": 0, 828 "value_type": "cumulative" 829 }, 830 "type": "graph", 831 "xaxis": { 832 "show": true 833 }, 834 "yaxes": [ 835 { 836 "format": "short", 837 "label": "Number of hours", 838 "logBase": 1, 839 "max": null, 840 "min": null, 841 "show": true 842 }, 843 { 844 "format": "short", 845 "label": null, 846 "logBase": 1, 847 "max": null, 848 "min": null, 849 "show": true 850 } 851 ] 852 } 853 ], 854 "title": "New row" 855 } 856 ], 857 "time": { 858 "from": "2014-05-26T02:28:37.282Z", 859 "to": "now" 860 }, 861 "timepicker": { 862 "refresh_intervals": [ 863 "" 864 ], 865 "time_options": [ 866 "5m", 867 "15m", 868 "1h", 869 "6h", 870 "12h", 871 "24h", 872 "2d", 873 "7d", 874 "30d" 875 ] 876 }, 877 "templating": { 878 "list": [] 879 }, 880 "annotations": { 881 "list": [] 882 }, 883 "refresh": false, 884 "schemaVersion": 12, 885 "version": 40, 886 "links": [], 887 "gnetId": null 888 }