Monitor
Continuous observation of state over time
Mechanism
A persistent process that uses a Loop to repeatedly execute Observe on a target System or State at defined intervals. It compares the observed state against a baseline or invariant, emitting a Signal if a deviation (Anomaly) is detected.
Invariants
- Liveness: runs continuously or at `interval`.
- Perturbs what it observes: repeated Observe consumes resources at the target and leaves records there. The degree varies; the fact does not.
Parameters
- interval: type=Duration, range=unspecified, description=Time between observation cycles
Signature
- Loop(State)
Failure modes
- Monitoring load becomes the Anomaly: the observation cost is large enough to shift the baseline it is measuring against.
- Baseline drift: the target changes legitimately and the unchanged baseline reports it as deviation.
Where this came from
—
Builds on
- Observe composes_with
- Loop composes_with
- State references
- System references
- Signal references
- Anomaly references
Used by
- DetectorSelfTest references
- Heartbeat references
- RolloutWatch references
Related
Identity
- Ref:
Monitor#d316 - Hash: sema:Monitor#mh:SHA-256:d31621c43589a14a237d53b3ff53c360b841cea6fe8fa8b7dc90724a686fcf8f
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository