Skip to content

Connectum API Reference / @connectum/otel / attributes / ATTR_CONNECTUM_TRANSPORT

Variable: ATTR_CONNECTUM_TRANSPORT

const ATTR_CONNECTUM_TRANSPORT: "connectum.transport" = "connectum.transport"

Defined in: packages/otel/src/attributes.ts:43

Connectum-specific span attribute that distinguishes RPC observations carried by the in-process router transport from those carried by HTTP/2.

Values:

  • "in-process" — the call traversed createLocalTransport
  • "http" — the call traversed createGrpcTransport / createConnectTransport (the network path)

Parity tests strip this attribute before structural diffing so that the remaining shape (spans, events, metric instruments) is invariant across transports.

See

ATTR_CONNECTUM_TRANSPORT_METRIC for the metric-label counterpart