|
513 | 513 | "fieldConfig": { |
514 | 514 | "defaults": { |
515 | 515 | "color": { |
516 | | - "mode": "thresholds" |
| 516 | + "mode": "palette-classic" |
517 | 517 | }, |
518 | | - "mappings": [], |
519 | | - "thresholds": { |
520 | | - "mode": "absolute", |
521 | | - "steps": [ |
522 | | - { |
523 | | - "color": "blue", |
524 | | - "value": null |
525 | | - }, |
526 | | - { |
527 | | - "color": "green", |
528 | | - "value": 10 |
529 | | - }, |
530 | | - { |
531 | | - "color": "yellow", |
532 | | - "value": 100 |
533 | | - } |
534 | | - ] |
| 518 | + "custom": { |
| 519 | + "lineWidth": 2, |
| 520 | + "fillOpacity": 10 |
535 | 521 | }, |
| 522 | + "mappings": [], |
536 | 523 | "unit": "short" |
537 | 524 | }, |
538 | 525 | "overrides": [] |
|
545 | 532 | }, |
546 | 533 | "id": 13, |
547 | 534 | "options": { |
548 | | - "colorMode": "value", |
549 | | - "graphMode": "area", |
550 | | - "justifyMode": "auto", |
551 | | - "orientation": "horizontal", |
552 | | - "reduceOptions": { |
553 | | - "values": false, |
554 | | - "calcs": ["lastNotNull"], |
555 | | - "fields": "" |
| 535 | + "tooltip": { |
| 536 | + "mode": "multi", |
| 537 | + "sort": "none" |
556 | 538 | }, |
557 | | - "textMode": "auto" |
| 539 | + "legend": { |
| 540 | + "displayMode": "list", |
| 541 | + "placement": "bottom" |
| 542 | + } |
558 | 543 | }, |
559 | 544 | "pluginVersion": "10.0.0", |
560 | 545 | "targets": [ |
|
571 | 556 | } |
572 | 557 | ], |
573 | 558 | "title": "Custom Resources Count", |
574 | | - "type": "stat" |
| 559 | + "type": "timeseries" |
575 | 560 | }, |
576 | 561 | { |
577 | 562 | "datasource": { |
|
654 | 639 | "uid": "prometheus" |
655 | 640 | }, |
656 | 641 | "editorMode": "code", |
657 | | - "expr": "histogram_quantile(0.50, sum(rate(reconciliations_execution_seconds_bucket{service_name=~\"$service_name\"}[5m])) by (le, controller_name))", |
| 642 | + "expr": "histogram_quantile(0.50, sum(rate(reconciliations_execution_duration_milliseconds_bucket{service_name=~\"$service_name\"}[5m])) by (le, controller_name))", |
658 | 643 | "legendFormat": "p50 - {{controller_name}}", |
659 | 644 | "range": true, |
660 | 645 | "refId": "A" |
|
665 | 650 | "uid": "prometheus" |
666 | 651 | }, |
667 | 652 | "editorMode": "code", |
668 | | - "expr": "histogram_quantile(0.95, sum(rate(reconciliations_execution_seconds_bucket{service_name=~\"$service_name\"}[5m])) by (le, controller_name))", |
| 653 | + "expr": "histogram_quantile(0.95, sum(rate(reconciliations_execution_duration_milliseconds_bucket{service_name=~\"$service_name\"}[5m])) by (le, controller_name))", |
669 | 654 | "legendFormat": "p95 - {{controller_name}}", |
670 | 655 | "range": true, |
671 | 656 | "refId": "B" |
|
676 | 661 | "uid": "prometheus" |
677 | 662 | }, |
678 | 663 | "editorMode": "code", |
679 | | - "expr": "histogram_quantile(0.99, sum(rate(reconciliations_execution_seconds_bucket{service_name=~\"$service_name\"}[5m])) by (le, controller_name))", |
| 664 | + "expr": "histogram_quantile(0.99, sum(rate(reconciliations_execution_duration_milliseconds_bucket{service_name=~\"$service_name\"}[5m])) by (le, controller_name))", |
680 | 665 | "legendFormat": "p99 - {{controller_name}}", |
681 | 666 | "range": true, |
682 | 667 | "refId": "C" |
|
780 | 765 | "type": "prometheus", |
781 | 766 | "uid": "prometheus" |
782 | 767 | }, |
783 | | - "description": "Failures by controller", |
| 768 | + "description": "Reconciliation failures", |
784 | 769 | "fieldConfig": { |
785 | 770 | "defaults": { |
786 | 771 | "color": { |
|
0 commit comments