code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A delta chain is longer than the depth policy allows.
Every link is a frame that must be fetched and decoded before the next one, so depth is restore latency and it is also blast radius: one lost frame takes out everything after it. The encoder anchors at the cap, so a chain past it means an anchor was skipped or the cap was lowered after the chain was written. Re-anchoring fixes it, which is a rebuild rather than a human decision.
check(array $observation) : \Drupal\strata\Health\Finding|null
Evaluates the check against one observation.
| array | $observation | Scalars the caller already had in hand. A tripwire reads from this and nothing else. |
A finding when the symptom is present, or NULL when the check is satisfied.