Path: redb-route/redb.Route/Telemetry/SpanTarget.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Telemetry/SpanTarget.cs ---- namespace redb.Route.Telemetry; /// Which span a .SpanTag(...) step puts its attribute on. public enum SpanTarget { /// /// The nearest span of redb.Route around the step: the enclosing Traced(...) scope, else the route span. /// With route tracing off (.Tracing(false)) there is none and no attribute is set — never on a transport /// span or on a span of the host. /// Enclosing, /// /// The inbound span of the transport that received the exchange — the server span of an HTTP, SOAP or gRPC request, /// the consumer span of a broker message or a scheduler fire. A route called through direct: keeps the /// caller's. Not the host's own span (ASP.NET Core): that one belongs to the host. /// Inbound, }