|
445 | 445 | "axisBorderShow": false,
|
446 | 446 | "axisCenteredZero": false,
|
447 | 447 | "axisColorMode": "text",
|
448 |
| - "axisLabel": "", |
| 448 | + "axisLabel": "builder | engine", |
449 | 449 | "axisPlacement": "auto",
|
450 | 450 | "barAlignment": 0,
|
451 | 451 | "drawStyle": "line",
|
452 |
| - "fillOpacity": 0, |
453 |
| - "gradientMode": "none", |
| 452 | + "fillOpacity": 30, |
| 453 | + "gradientMode": "opacity", |
454 | 454 | "hideFrom": {
|
455 | 455 | "legend": false,
|
456 | 456 | "tooltip": false,
|
457 | 457 | "viz": false
|
458 | 458 | },
|
459 | 459 | "insertNulls": false,
|
460 | 460 | "lineInterpolation": "linear",
|
| 461 | + "lineStyle": { |
| 462 | + "fill": "solid" |
| 463 | + }, |
461 | 464 | "lineWidth": 1,
|
462 | 465 | "pointSize": 5,
|
463 | 466 | "scaleDistribution": {
|
|
473 | 476 | "mode": "off"
|
474 | 477 | }
|
475 | 478 | },
|
476 |
| - "mappings": [] |
| 479 | + "fieldMinMax": false, |
| 480 | + "mappings": [], |
| 481 | + "noValue": "0", |
| 482 | + "unit": "none" |
477 | 483 | },
|
478 | 484 | "overrides": [
|
479 | 485 | {
|
480 | 486 | "matcher": {
|
481 | 487 | "id": "byName",
|
482 |
| - "options": "total" |
| 488 | + "options": "engine success" |
483 | 489 | },
|
484 | 490 | "properties": [
|
485 | 491 | {
|
486 | 492 | "id": "color",
|
487 | 493 | "value": {
|
488 |
| - "fixedColor": "yellow", |
| 494 | + "fixedColor": "dark-green", |
489 | 495 | "mode": "fixed"
|
490 | 496 | }
|
491 | 497 | }
|
|
494 | 500 | {
|
495 | 501 | "matcher": {
|
496 | 502 | "id": "byName",
|
497 |
| - "options": "successes" |
| 503 | + "options": "builder success" |
498 | 504 | },
|
499 | 505 | "properties": [
|
500 | 506 | {
|
501 | 507 | "id": "color",
|
502 | 508 | "value": {
|
503 |
| - "fixedColor": "green", |
| 509 | + "fixedColor": "dark-green", |
504 | 510 | "mode": "fixed"
|
505 | 511 | }
|
506 | 512 | }
|
|
509 | 515 | {
|
510 | 516 | "matcher": {
|
511 | 517 | "id": "byName",
|
512 |
| - "options": "success" |
| 518 | + "options": "engine errors" |
513 | 519 | },
|
514 | 520 | "properties": [
|
515 | 521 | {
|
516 | 522 | "id": "color",
|
517 | 523 | "value": {
|
518 |
| - "fixedColor": "green", |
| 524 | + "fixedColor": "dark-red", |
519 | 525 | "mode": "fixed"
|
520 | 526 | }
|
521 | 527 | }
|
|
524 | 530 | {
|
525 | 531 | "matcher": {
|
526 | 532 | "id": "byName",
|
527 |
| - "options": "errors" |
| 533 | + "options": "builder errors" |
528 | 534 | },
|
529 | 535 | "properties": [
|
530 | 536 | {
|
531 | 537 | "id": "color",
|
532 | 538 | "value": {
|
533 |
| - "fixedColor": "red", |
| 539 | + "fixedColor": "dark-red", |
534 | 540 | "mode": "fixed"
|
535 | 541 | }
|
536 | 542 | }
|
|
565 | 571 | },
|
566 | 572 | "editorMode": "code",
|
567 | 573 | "exemplar": false,
|
568 |
| - "expr": "rate(beacon_block_production_successes_total[$rate_interval])", |
| 574 | + "expr": "rate(beacon_block_production_successes_total{source=\"engine\"}[$rate_interval])", |
| 575 | + "format": "time_series", |
569 | 576 | "hide": false,
|
570 | 577 | "interval": "",
|
571 |
| - "legendFormat": "success", |
| 578 | + "legendFormat": "engine success", |
572 | 579 | "range": true,
|
573 | 580 | "refId": "B"
|
574 | 581 | },
|
|
579 | 586 | },
|
580 | 587 | "editorMode": "code",
|
581 | 588 | "exemplar": false,
|
582 |
| - "expr": "rate(beacon_block_production_requests_total[$rate_interval])\n-\nrate(beacon_block_production_successes_total[$rate_interval])", |
| 589 | + "expr": "rate(beacon_block_production_requests_total{source=\"engine\"}[$rate_interval])\n-\nrate(beacon_block_production_successes_total{source=\"engine\"}[$rate_interval])", |
583 | 590 | "interval": "",
|
584 |
| - "legendFormat": "errors", |
| 591 | + "legendFormat": "engine errors", |
585 | 592 | "range": true,
|
586 | 593 | "refId": "A"
|
| 594 | + }, |
| 595 | + { |
| 596 | + "datasource": { |
| 597 | + "type": "prometheus", |
| 598 | + "uid": "${DS_PROMETHEUS}" |
| 599 | + }, |
| 600 | + "editorMode": "code", |
| 601 | + "expr": "-1 * rate(beacon_block_production_successes_total{source=\"builder\"}[$rate_interval])", |
| 602 | + "hide": false, |
| 603 | + "instant": false, |
| 604 | + "legendFormat": "builder success", |
| 605 | + "range": true, |
| 606 | + "refId": "C" |
| 607 | + }, |
| 608 | + { |
| 609 | + "datasource": { |
| 610 | + "type": "prometheus", |
| 611 | + "uid": "${DS_PROMETHEUS}" |
| 612 | + }, |
| 613 | + "editorMode": "code", |
| 614 | + "expr": "-1 *\n(\n rate(beacon_block_production_requests_total{source=\"builder\"}[$rate_interval])\n -\n rate(beacon_block_production_successes_total{source=\"builder\"}[$rate_interval])\n)", |
| 615 | + "hide": false, |
| 616 | + "instant": false, |
| 617 | + "legendFormat": "builder errors", |
| 618 | + "range": true, |
| 619 | + "refId": "D" |
587 | 620 | }
|
588 | 621 | ],
|
589 | 622 | "title": "Success + Error rates",
|
|
0 commit comments