WithSpanDecoratorOptionsinterface
Options that can be provided when using withSpan as a decorator
Properties (5)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| argMapping⚓︎ | | { [x: string]: string } | Array<string | null | undefined> | ((...args: any[]) => any) | x | x | x |
| defaultFilters⚓︎ | SpanFilter[] | x | x | x |
| spanName⚓︎ | string | x | x | Overrides the name of the exported OTEL span. The |
| structure⚓︎ | "sibling" | "nested" | x | x | Used to determine the structure of sequence spans. |
| thisMapping⚓︎ | { [x: string]: string } | ((that: any) => any) | x | x | x |