Observability & telemetry
In one line: see inside a live engine — gated telemetry (zero cost when off), distributed tracing, OpenTelemetry metrics, and health checks — without paying for what you don't turn on.
Typhon's instrumentation is gated: ~200 hierarchical flags (JSON / env-driven) guard every emission point, and when a flag is off the guard is JIT-eliminated to nothing — you pay only for the signal you enable. On top of that sit four consumer-facing surfaces: distributed tracing via the .NET Activity API with OpenTelemetry-semantic attributes; metrics export projecting the engine's resource graph and per-archetype ECS health as standard OTel instruments; framework-agnostic health checks (ITyphonHealthCheck → Healthy / Degraded / Unhealthy); and threshold alerting that raises Warning / Critical as resource metrics cross bounds.
This page doesn't reproduce the individual flags. The telemetry flags reference lists every gate — all ~224, each with its config key, default, and effect — generated from source and shipped with a copy-paste typhon.telemetry.json template; the gating page explains the model (how flags resolve, parent-implies-children, JIT elimination). For metrics, the per-domain named-metrics catalog groups the ~40 planned fixed-name OTel instruments by domain — a design target, not yet wired to an exporter.
How it relates
- DatabaseEngine — what you observe; telemetry is configured on it.
- Errors & failures — health checks and alerts turn failure signals into operational state.
- Tick — per-tick telemetry (durations, overrun) is a primary signal source.
- Profiler — the other consumer of the same gates: a higher-throughput, non-OTel pipeline for deep-dive tracing.
- Resources & budgets — the utilization tree these metrics and health checks project.
In the API
TelemetryConfig— the gating configuration (the ~200 flags);GetConfigurationSummary()dumps the resolved set.ITyphonHealthCheck/HealthStatus— the health-check contract.- OTel export is wired through the resource-graph metrics bridge and the ECS metrics exporter (consumer-side, standard
Meterinstruments).
Learn & use
- Feature detail: Observability — telemetry gating · all flags (generated reference) · distributed tracing · OTel metrics export · named-metrics catalog · health checks · threshold alerting
- Narrative: Guide ch.6 — operating