Skip to main content

Module routing

Module routing 

Source
Expand description

Structured superset of the legacy Event::Dors* events.

Where the Event::DorsScoreUpdated / Event::DorsTransportSelected / Event::DorsTransportSwitched / Event::DorsEscalationTriggered variants report a flattened subset (transport name + score + reason code), this record carries the full per-factor scoring breakdown that DORS evaluates before it decides which transport to use.

The legacy Event::Dors* path continues to fire for back-compat — apps that want the richer shape consume crate::telemetry::TelemetrySink and opt into score populating via crate::telemetry::TelemetryConfig::with_routing_diagnostic.

Structs§

RoutingDecision
A single structured routing decision.

Enums§

RoutingPhase
Which kind of routing decision this record describes.
RoutingReasonCode
Top-level reason space for routing decisions.