{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Monitor",
 "ref": "Monitor#d316",
 "hash": "sema:Monitor#mh:SHA-256:d31621c43589a14a237d53b3ff53c360b841cea6fe8fa8b7dc90724a686fcf8f",
 "stub": "d316",
 "layer": "Infrastructure",
 "type": "Primitives",
 "summary": "Continuous observation of state over time",
 "mechanism": "A persistent process that uses a Loop#37f9 to repeatedly execute Observe#4a04 on a target System#f8eb or State#4f25 at defined intervals. It compares the observed state against a baseline or invariant, emitting a Signal#6eaf if a deviation (Anomaly#4595) is detected.",
 "invariants": [
  "Liveness: runs continuously or at `interval`.",
  "Perturbs what it observes: repeated Observe#4a04 consumes resources at the target and leaves records there. The degree varies; the fact does not."
 ],
 "parameters": [
  {
   "name": "interval",
   "type": "Duration",
   "range": "unspecified",
   "description": "Time between observation cycles"
  }
 ],
 "signature": [
  "Loop(State)"
 ],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Monitoring load becomes the Anomaly#4595: 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."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Monitor",
 "builds_on": [
  {
   "alias": "observe",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Observe",
   "ref": "Observe#4a04",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Observe"
  },
  {
   "alias": "loop",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Loop",
   "ref": "Loop#37f9",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Loop"
  },
  {
   "alias": "state",
   "relation": "references",
   "library": "bootstrap",
   "slug": "State",
   "ref": "State#4f25",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/State"
  },
  {
   "alias": "system",
   "relation": "references",
   "library": "bootstrap",
   "slug": "System",
   "ref": "System#f8eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/System"
  },
  {
   "alias": "signal",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Signal",
   "ref": "Signal#6eaf",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Signal"
  },
  {
   "alias": "anomaly",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Anomaly",
   "ref": "Anomaly#4595",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Anomaly"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "DetectorSelfTest",
   "ref": "DetectorSelfTest#8d48",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/DetectorSelfTest"
  }
 ],
 "used_by": [
  {
   "slug": "DetectorSelfTest",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/DetectorSelfTest"
  },
  {
   "slug": "Heartbeat",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Heartbeat"
  },
  {
   "slug": "RolloutWatch",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RolloutWatch"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Monitor",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Monitor.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
