ui-router-otel
The API reference of the ui-router-otel package, whose page covers installation and usage.
Classes
- DevtoolsSpanProcessor — A span processor that sends every span to the devtools panel's Timeline.
- OtelPlugin — Reports the router's transitions as OpenTelemetry spans;
dispose()ends the open ones and stops.
Interfaces
- DevtoolsSpanProcessorOptions — What
DevtoolsSpanProcessortakes as its second argument. - OtelPluginOptions — What
OtelPlugintakes asrouter.plugin(OtelPlugin, options)'s second argument. - ProcessedSpan — What the processor reads of a span: the part of the SDK's
ReadableSpanthat every SDK major shares, typed from@opentelemetry/apialone. - ReportOptions — What reaches a span, and which transitions are reported;
OtelPluginOptionsextends it. - SpanRecord — A span from a tracer, in a shape that names no tracing library.
- SpanSink — Where spans go: the
<ui-router-devtools>element, or anything else with itsaddSpan.
Type Aliases
- SpanAttributeValue — A span attribute's value, as tracing libraries allow it: a scalar or an array of one kind of scalar.