Categorygo.opentelemetry.io/collector/internal/memorylimiter

# Packages

Package cgroups provides utilities to access Linux control group (CGroups) parameters (total memory, for example) for a given process.
No description provided by the author

# Functions

NewMemoryLimiter returns a new memory limiter component.

# Variables

ErrDataRefused will be returned to callers of ConsumeTraceData to indicate that data is being refused due to high memory usage.
ErrShutdownNotStarted indicates no memorylimiter has not start when shutdown.
GetMemoryFn and ReadMemStatsFn make it overridable by tests.
No description provided by the author

# Structs

Config defines configuration for memory memoryLimiter processor.
MemoryLimiter is used to prevent out of memory situations on the collector.