24

The Final Mental Model

Source: Observability Platform source notes, section 24, “The Final Mental Model”

The enterprise problem and today’s slice

Enterprise problem: A product-name mental model fails during redesigns and incidents because it says where signals usually live but not how system behavior becomes trustworthy evidence, a decision, and accountable action.

Whole-course context: The incoming phase ledger proves one complete investigation and alert path; this final day compresses every prior contract into a reusable chain that survives product substitutions and scale changes.

Today’s slice: We assign creation, protection, storage, correlation, condition recognition, notification, decision, and action responsibilities, then falsify the entire loop.

End-of-day evidence: Two contrasting incidents traverse the same invariant behavior-to-action chain with positive, denied, and recovery observations and independently owned boundaries.

Still unsolved: No architecture is permanently finished; new customer outcomes, threats, cost limits, and product versions must continuously re-enter the same review loop.

Customer use cases

A final model is useful only if different incidents can use it without collapsing back into product memorization. These cases test a customer failure and an evidence-pipeline failure.

Use case IDActorCustomer jobSuccess outcomeDenial or recovery evidence
D24-UC-01Customer-impact on-callConvert checkout behavior into a bounded operational actionCorrelated evidence supports a decision, an owned action, and a verified customer recoveryUnauthorized tenant evidence is denied and an unaffected authorized investigation remains complete
D24-UC-02Observability platform on-callRestore the evidence path when collection or storage degradesPlatform health evidence identifies loss risk, triggers controlled recovery, and verifies replay or bounded lossFailed export is contained, notification is delivered, backlog recovery is measured, and a healthy signal control remains available

Actor-centred user stories

An abstract chain can hide missing ownership, so each actor needs end-to-end acceptance from trigger through verified effect.

Story IDUse case IDsUser storyObservable acceptance conditions
D24-US-01D24-UC-01As a customer-impact on-call, I want trustworthy evidence connected to an owned action, so that investigation ends in verified recovery rather than a dashboard observationSeeded checkout failure creates metrics, trace, logs, decision, mitigation, and recovery probe; cross-tenant query is denied
D24-US-02D24-UC-02As an observability platform on-call, I want the evidence path to observe itself, so that telemetry loss becomes an actionable incident before buffers exhaustExport fault raises outcome-risk alert, exposes component cause, recovers backlog, and proves completeness or bounded loss

End-to-end product flows

If the chain omits denial and recovery, it describes a demo rather than a production operating model. Both flows end with a verified state change.

Flow IDUse case IDsPathTriggerNumbered stepsTerminal evidence
D24-FLOW-01D24-UC-01HappyOn-call acknowledges a sustained checkout-success alert1. Application behavior emits domain evidence.<br>2. Collector protects, enriches, and routes it.<br>3. Specialized stores retain it.<br>4. Grafana correlates metric, trace, logs, profile, and deployment.<br>5. Human chooses a bounded rollback.<br>6. Customer recovery probe passes.Actor, tenant, signal/schema/policy revisions, expected/observed investigation, decision, action revision, environment, timestamps, trace/alert/deployment/run IDs
D24-FLOW-02D24-UC-02RecoveryFault drill blocks one regional export destination1. Collector queue and drop-risk evidence changes.<br>2. Rule recognizes threatened evidence availability.<br>3. Alertmanager routes one controlled notification.<br>4. On-call restores or reroutes export.<br>5. Backlog drains.<br>6. Completeness and healthy-path controls are queried.Fault interval, buffer maximum, dropped/replayed counts, notification ID, action, recovery objective, unaffected control, environment, timestamp, and drill ID

System design derived from the flows

The final architecture must preserve responsibility even when individual products change. Each service below owns one transition in the evidence-to-action loop.

Use case IDEntry pointResponsible servicesAuthoritative storeFailure evidence
D24-UC-01Outcome alert in Grafana and AlertmanagerApplication instrumentation, collector policy, Prometheus or Mimir, Loki, Tempo, Pyroscope, Grafana, ruler, Alertmanager, deployment controller, recovery probeSpecialized telemetry stores plus incident decision log owned by incident managementMissing domain evidence, correlation break, tenant denial, unsafe action denial, or failed recovery probe
D24-UC-02Evidence-availability alertCollector self-monitoring, regional buffer, backend health, ruler, Alertmanager, recovery controller, completeness queryPlatform-health evidence and drill log owned by observability reliabilityQueue exhaustion, drops, backend/query failure, missing notification, replay gap, or recovery-objective breach

Data model and ownership

An operational loop cannot be audited if evidence, decisions, actions, and effects share an overwriteable record. Separate immutable observations from mutable execution state and tenant-scope every customer path.

Generated-application database: Not created in this slice — the model operates on observability, incident, and deployment control-plane records rather than new application domain data.

Record or entityStore and ownerPrimary keyForeign key or opaque referenceTenant keyMaterial constraintLifecycle and deletionUse case IDs
OperationalEvidenceSetIncident evidence store, incident tooling ownerevidence_set_idOpaque metric query, trace, log query, profile, schema, policy, and deployment referencestenant_idSource revisions, scope, environment, time range, expected and observed facts are immutableAppend during incident, seal at closure, export with incident, expire payloads by signal policy while retaining audit referencesD24-UC-01, D24-UC-02
OperationalDecisionIncident decision log, incident commander ownerdecision_idevidence_set_id local FKtenant_idActor, alternatives, rationale, authority, expected effect, and timestamp are mandatoryAppend immutably, supersede with new decision, retain through incident audit, delete after governance retentionD24-UC-01, D24-UC-02
OperationalActionRunDeployment or recovery controller, owning operatoraction_run_iddecision_id local FK and opaque deployment or routing revisiontenant_idIdempotency key, bounded scope, approval, rollback target, and observed effect are mandatoryExecute, complete or roll back, retain result, expire operational payload after audit windowD24-UC-01, D24-UC-02

The durable mental model

Memorizing “Prometheus equals metrics” hides the customer-facing chain and breaks when architecture changes. Memorize responsibilities and evidence transitions instead.

ResponsibilityDurable questionCommon implementation
Applications create evidenceWhat customer or system behavior occurred, with what domain meaning?Application instrumentation, exporters, OpenTelemetry SDKs
Collectors protect, transform, and routeWas evidence authenticated, minimized, normalized, limited, buffered, and delivered to the right tenant?OpenTelemetry Collector or Grafana Alloy
Specialized stores preserve queryable shapesCan the relevant metric, log stream, trace, or profile be retrieved within retention and cost limits?Prometheus or Mimir, Loki, Tempo, Pyroscope, object storage
Query and correlation assemble an investigationCan an operator move among signals, deployment, owner, and runbook without losing scope?Grafana and backend query APIs
Rules recognize conditionsDoes measured evidence threaten a customer or system objective?Prometheus-compatible rulers and alert rules
Notification control routes attentionIs the condition grouped, inhibited, silenced, and delivered to the accountable receiver?Alertmanager or equivalent routing layer
Humans and automation actIs there authority, a bounded change, rollback, and an expected effect?Incident process, deployment and recovery controllers
Follow-up evidence closes the loopDid the action improve the customer outcome without violating another boundary?Synthetic probes, SLO queries, audit and action-run evidence

The fundamental building block is not a product. It is a reliable path from system behavior to operational action and back to observed effect. Product substitutions are acceptable when they preserve the same owned interfaces, evidence quality, security, cost, and failure semantics.

Whole-loop falsification protocol

Teams often test each component separately while the correlation and action handoffs fail, so exercise the loop as one product journey.

  1. Seed two contrasting incidents: a customer checkout failure and a collector export failure.
  2. Pin application build, schema, collector policy, backend, rule, notification, and action revisions.
  3. For each incident, traverse behavior, evidence, collection, storage, correlation, decision, action, and observed effect.
  4. Attempt a cross-tenant query and an unauthorized action; require independent denials.
  5. Fail one component and prove the evidence names that boundary while a healthy control still works.
  6. Roll back the action or reroute collection and measure recovery against its objective.
  7. Falsify the architecture if any transition lacks an owner, immutable identifier, negative evidence, or follow-up observation.

Key takeaways

Observability is a socio-technical control loop: software creates evidence, platforms preserve it, and accountable actors turn it into verified change.

  • Product names are replaceable; owned transitions and customer outcomes are not.
  • Applications create meaning, collectors enforce policy, and specialized stores retain queryable evidence.
  • Grafana correlates, rules recognize, Alertmanager routes, and humans or automation act.
  • The loop closes only when follow-up evidence verifies the effect and boundaries remain intact.

Checklist

Use this final review whenever a signal, backend, team, or incident process changes.

  • [ ] Every behavior-to-action transition has one owner and protocol.
  • [ ] Domain meaning originates in application instrumentation.
  • [ ] Collection proves redaction, tenant routing, limits, buffering, and delivery.
  • [ ] Investigations include correlation, decision authority, rollback, and observed effect.
  • [ ] Customer and platform incidents both pass happy, denial, failure, and recovery probes.

Sources

The mental model names current implementations but relies on official primary documentation for their present responsibilities.