Skip to content

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 DevtoolsSpanProcessor takes as its second argument.
  • OtelPluginOptions — What OtelPlugin takes as router.plugin(OtelPlugin, options)'s second argument.
  • ProcessedSpan — What the processor reads of a span: the part of the SDK's ReadableSpan that every SDK major shares, typed from @opentelemetry/api alone.
  • ReportOptions — What reaches a span, and which transitions are reported; OtelPluginOptions extends 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 its addSpan.

Type Aliases ​

  • SpanAttributeValue — A span attribute's value, as tracing libraries allow it: a scalar or an array of one kind of scalar.