Entropy.Config (Entropy v0.1.0)
View SourceConfiguration interface for the Entropy application.
Abstracts Application.get_env/3 calls to provide strongly typed defaults.
These values control the aggression, safety limits, and behaviour of the fault
injection system.
Summary
Functions
Returns the selection weights for fault injection strategies.
Returns the buffer subtracted from the max resource utilization limit required to recover from an unsafe state. Prevents rapid oscillation in the circuit breaker.
Returns a list of modules strictly immune to injection.
Returns the time in milliseconds between injection cycles.
Returns true if the AxiomaticLogger should output to stdout.
Returns true if the scheduler is authorized to run.
Returns the maximum number of concurrent zombies allowed before injection halts.
Returns the CPU utilization percentage (0.0 - 100.0) that triggers the circuit breaker.
Returns the Memory utilization percentage (0.0 - 100.0) that triggers the circuit breaker.
Returns the frequency in milliseconds at which the system's safety is checked. Defines the "reaction time" of the Circuit Breaker.
Returns the sensor implementation module (System or Simulated).
Returns the allowlist of application names eligible for fault injection.
Returns the node atom where faults should be injected. Defaults to the local node.
Returns the cooldown period in milliseconds for telemetry events.
Returns a tuple {min, max} representing the range of durations within which
a process remains zombified.
Functions
Returns the selection weights for fault injection strategies.
Returns a keyword list where keys are the strategy names (atoms) and values are integers representing their relative frequency.
Supported Strategies
:suspend- Pauses the target process.:kill- Terminates the target process.
Default
[suspend: 10, kill: 0]
Returns the buffer subtracted from the max resource utilization limit required to recover from an unsafe state. Prevents rapid oscillation in the circuit breaker.
Returns a list of modules strictly immune to injection.
Returns the time in milliseconds between injection cycles.
Returns true if the AxiomaticLogger should output to stdout.
Returns true if the scheduler is authorized to run.
Returns the maximum number of concurrent zombies allowed before injection halts.
Returns the CPU utilization percentage (0.0 - 100.0) that triggers the circuit breaker.
Returns the Memory utilization percentage (0.0 - 100.0) that triggers the circuit breaker.
Returns the frequency in milliseconds at which the system's safety is checked. Defines the "reaction time" of the Circuit Breaker.
Returns the sensor implementation module (System or Simulated).
Returns the allowlist of application names eligible for fault injection.
Behavior
[](Empty List) - All applications are valid targets.[atom()]- Only processes belonging to the listed applications are valid targets.
Returns the node atom where faults should be injected. Defaults to the local node.
Returns the cooldown period in milliseconds for telemetry events.
Returns a tuple {min, max} representing the range of durations within which
a process remains zombified.