Commit e5cef16
committed
[CELEBORN-2209] Introduce ReadBufferUsageRatio metric to monitor credit stream read buffer usage
### What changes were proposed in this pull request?
Introduce `ReadBufferUsageRatio` metric to monitor credit stream read buffer usage.
### Why are the changes needed?
`BufferStreamReadBuffer` metric is used to monitor the memory used by credit stream read buffer, which is not enough to monitor ratio of credit stream read buffer used and max direct memory.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI and grafana manual test with [celeborn dashboard](https://stenicholas.grafana.net/public-dashboards/12f47ac2ba2f4c0c88f761f98ffcf51c).
Closes #3545 from SteNicholas/CELEBORN-2209.
Authored-by: SteNicholas <programgeek@163.com>
Signed-off-by: SteNicholas <programgeek@163.com>1 parent 36cdc29 commit e5cef16
File tree
5 files changed
+105
-1
lines changed- assets/grafana
- docs
- worker/src/main
- java/org/apache/celeborn/service/deploy/worker/memory
- scala/org/apache/celeborn/service/deploy/worker
5 files changed
+105
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12710 | 12710 | | |
12711 | 12711 | | |
12712 | 12712 | | |
| 12713 | + | |
| 12714 | + | |
| 12715 | + | |
| 12716 | + | |
| 12717 | + | |
| 12718 | + | |
| 12719 | + | |
| 12720 | + | |
| 12721 | + | |
| 12722 | + | |
| 12723 | + | |
| 12724 | + | |
| 12725 | + | |
| 12726 | + | |
| 12727 | + | |
| 12728 | + | |
| 12729 | + | |
| 12730 | + | |
| 12731 | + | |
| 12732 | + | |
| 12733 | + | |
| 12734 | + | |
| 12735 | + | |
| 12736 | + | |
| 12737 | + | |
| 12738 | + | |
| 12739 | + | |
| 12740 | + | |
| 12741 | + | |
| 12742 | + | |
| 12743 | + | |
| 12744 | + | |
| 12745 | + | |
| 12746 | + | |
| 12747 | + | |
| 12748 | + | |
| 12749 | + | |
| 12750 | + | |
| 12751 | + | |
| 12752 | + | |
| 12753 | + | |
| 12754 | + | |
| 12755 | + | |
| 12756 | + | |
| 12757 | + | |
| 12758 | + | |
| 12759 | + | |
| 12760 | + | |
| 12761 | + | |
| 12762 | + | |
| 12763 | + | |
| 12764 | + | |
| 12765 | + | |
| 12766 | + | |
| 12767 | + | |
| 12768 | + | |
| 12769 | + | |
| 12770 | + | |
| 12771 | + | |
| 12772 | + | |
| 12773 | + | |
| 12774 | + | |
| 12775 | + | |
| 12776 | + | |
| 12777 | + | |
| 12778 | + | |
| 12779 | + | |
| 12780 | + | |
| 12781 | + | |
| 12782 | + | |
| 12783 | + | |
| 12784 | + | |
| 12785 | + | |
| 12786 | + | |
| 12787 | + | |
| 12788 | + | |
| 12789 | + | |
| 12790 | + | |
| 12791 | + | |
| 12792 | + | |
| 12793 | + | |
| 12794 | + | |
| 12795 | + | |
| 12796 | + | |
| 12797 | + | |
| 12798 | + | |
| 12799 | + | |
| 12800 | + | |
| 12801 | + | |
| 12802 | + | |
| 12803 | + | |
| 12804 | + | |
| 12805 | + | |
| 12806 | + | |
| 12807 | + | |
12713 | 12808 | | |
12714 | 12809 | | |
12715 | 12810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
509 | 513 | | |
510 | 514 | | |
511 | 515 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
412 | 415 | | |
413 | 416 | | |
414 | 417 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| |||
0 commit comments