{% extends "base.html" %} {% block title %}Observability Health - Memorizz{% endblock %} {% block content %}
{% for key, value in selection_urls.params.items() %}{% if key not in ['agent_id', 'thread_id'] %}{% endif %}{% endfor %}

{{ health.headline }}

Stored-event read: {{ health.read_completeness }} · Instrumentation: {{ health.instrumentation_coverage }} · Outcome evidence: {{ health.outcome_verification }}.

{{ health.normalized_events }} normalized events · {{ health.bundle_count }} bundles · {{ health.source_rows }} source rows

Stores: {{ health.store_selection|join(', ') }} · Counts: {{ health.source_counts|tojson }} · Count scope: {{ health.count_scope }}.

{% if health.parent_query_metadata %}
Parent-query diagnostics (not selected-root totals)
{{ health.parent_query_metadata|tojson(indent=2) }}
{% endif %}

Latest observed event: {{ health.latest_event_at or 'Unknown' }}. Window truncated: {{ health.truncated }}.

{% if health.coverage != 'complete' %}

Missing records cannot be interpreted as zero activity or successful delivery.

{% endif %}
Evidence checkObserved in this window
Normalization errors{{ health.normalization_errors }}
Duplicates removed{{ health.duplicates_removed if health.duplicates_removed is not none else 'Unknown in selected scope; see parent-query diagnostics' }}
Events missing canonical identity{{ health.missing_identity_events }}
Spans with missing parent{{ health.orphan_spans }}
Missing causal event references{{ health.missing_causal_events }}
Spans in cyclic parent chains{{ health.cyclic_spans }}
Spans with unknown duration{{ health.unknown_duration_spans }}
Timing classification{{ health.timing_states|tojson }} — instantaneous events do not require span completion; unknown legacy timing remains unknown.
Write failures / dropped eventsUnknown — inspect recorder.health in the host process

Provider query diagnostics

Registration checks: {{ health.registration|tojson }}.

{% if health.alerts %}

Active telemetry alerts

{% endif %}

Native span index: {{ 'ready' if health.index.ready else 'not provisioned' }}. Schema {{ health.index.schema_version or 'unknown' }}.

Instrumentation versions: {{ health.instrumentation_versions|join(', ') or 'Not reported' }}.

Telemetry pipeline (this process only)

{% if health.pipeline.reported %}
{{ health.pipeline|tojson(indent=2) }}
{% else %}

No process-local counters are available in this scope. Unwritten events remain unknown.

{% endif %} {% for store, query in health.queries.items() %} {% endfor %}
StoreQuery pathRows scannedDuration (ms)TruncatedResult
{{ store }}{{ 'Native' if query.provider_native else 'Compatibility' }}{{ query.scanned_count if query.scanned_count is not none else 'Unknown' }}{{ query.query_duration_ms if query.query_duration_ms is not none else 'Unknown' }}{{ query.truncated }}{{ 'Failed' if store in health.failed_queries else 'Read completed' }}

Schema versions

{% for version, count in health.schema_counts.items() %}v{{ version }}: {{ count }}{% if not loop.last %} · {% endif %}{% else %}No event schemas observed{% endfor %}

{% if health.error_codes %}

Normalization error codes

{% endif %} {% if health.missing_stages %}

Missing declared stages

{% endif %}
{% endblock %}