Commit e53ce46
committed
18738 FIX OTel: Fix collector memorylimit values
The memory_limiter processor expects limit_mib and spike_limit_mib to be in Mebibytes. Currently, we are passing raw byte values, causing the collector to set limits that are $1024^2$ times higher than intended. This PR adds a conversion constant to ensure values are correctly scaled to MiB.
CMK-28868
Change-Id: I3caa9855b744276ff70622681c46cbb89fd121651 parent 9b81931 commit e53ce46
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments