ArgosResourceMonitor class

Periodically samples process memory (ProcessInfo.currentRss / maxRss) and emits resource-sample events into the unified Argos data flow. CPU is left empty when not reliably obtainable in pure Dart.

Implemented types

Properties

config ArgosConfig?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispatchForTesting(ArgosResourceInfo info) Future<void>
dispose() → void
Stops periodic sampling and releases the timer, preventing leaks and background sampling once the monitor is disabled.
init({ArgosConfig? config}) ArgosResourceMonitor
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onReport(ArgosBaseModel model) → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance ArgosResourceMonitor
no setter