mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
**Description:** This adds a decode hook for unmarshalling negative integers into uint types. This will now return an error instead of converting negative values into large uint values. **Link to tracking Issue:** <Issue number if applicable> Fixes #9060 **Testing:** Added unit tests for confmap functionality, functional tests in memory limiter processor (the original component this issue was filed against)
14 lines
593 B
YAML
14 lines
593 B
YAML
# check_interval is the time between measurements of memory usage for the
|
|
# purposes of avoiding going over the limits. Defaults to zero, so no
|
|
# checks will be performed. Values below 1 second are not recommended since
|
|
# it can result in unnecessary CPU consumption.
|
|
check_interval: 5s
|
|
|
|
# Maximum amount of memory, in MiB, targeted to be allocated by the process heap.
|
|
# Note that typically the total memory usage of process will be about 50MiB higher
|
|
# than this value.
|
|
limit_mib: -2000
|
|
|
|
# The maximum, in MiB, spike expected between the measurements of memory usage.
|
|
spike_limit_mib: -2300
|