Skip to main content

Options that can be used when creating a span.

Properties (3)

Property Type Default Required Description
defaultFilters⚓︎ SpanFilter[] x x x
spanName⚓︎ string x x

Overrides the name of the exported OTEL span. The source remains the identity used for span filtering, metrics and logging - this only changes the recorded span name (e.g. to follow a semantic convention).

structure⚓︎ "sibling" | "nested" x x

Used to determine the structure of sequence spans.