Skip to content

Telemetry

Everything under Quiote\Telemetry.

ClassDescription
AttributeSanitizerValidates arbitrary attribute maps against the shape the OTel SDK’s own span/meter APIs require: non-empty-string keys, and values that are array|bool|float|int|string|null (arrays homogeneous, one scalar type throughout).
ForceSampleSamplerHead-based force sampling: “trace this one request” without touching the global sampling ratio.
MiddlewareSpanDecoratorWraps a single pipeline middleware in a child span named by its FQCN.
NoopMeterHandleThe disabled-state MeterHandle: every recording is a safe no-op.
NoopSpanHandleThe disabled-state SpanHandle: every call is a safe no-op.
OtelMeterHandleReal MeterHandle, wrapping an OpenTelemetry MeterInterface.
OtelSpanHandleReal SpanHandle, wrapping an active OpenTelemetry SpanInterface.
Psr7HeaderGetterReads W3C traceparent/tracestate (or any other propagated header) off a PSR-7 message for TraceContextPropagator::extract().
Psr7HeaderSetterThe outbound counterpart to Psr7HeaderGetter: adapts a PSR-7 request to OpenTelemetry’s propagation setter so TraceContextPropagator::inject() can write traceparent/tracestate onto an outgoing request.
TelemetryBootstrapOwns the telemetry lifecycle for a process: build the providers once, flush at each request boundary, and shut down on exit.
TelemetryConfigThe telemetry.* settings, read once and resolved into concrete values.
TelemetryExporterFactoryBuilds the span and metric exporters named by telemetry.exporter.
TelemetryPluginWires the OTel-SDK-dependent exporter bootstrap (TelemetryBootstrap) into the generic event seams instead of Kernel calling it by hard FQCN.
TelemetryProviderFactoryAssembles the TracerProvider and MeterProvider: the resource describing this service, the sampler, the span processor, and the metric reader.
TraceStatic facade for the telemetry subsystem (mirrors Log).
TraceRegistryProcess-global store of telemetry configuration AND (once TelemetryBootstrap has run) the worker-lifetime tracer/meter provider singletons.
InterfaceDescription
MeterHandleRecords metric instruments (histograms, counters, gauges).
SpanHandleA single unit of work in a trace.
EnumDescription
SpanKindMirrors OpenTelemetry’s SpanKind constants (OpenTelemetry\API\Trace\SpanKind::KIND_*) numerically 1:1, but as our own framework-owned enum so Trace::span()’s signature never needs the optional open-telemetry/api package to exist — PHP resolves a default parameter value eagerly (unlike type hints, which resolve lazily at call time), so a default referencing an optional class’s constant would crash every Trace::span() call with no explicit $kind when the SDK isn’t installed.
NamespaceContents
Dashboard17 types