# WithSpanOptions

**Kind**: interface | **Module**: [Insights](https://docs.interop.io/desktop/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/withspanoptions/index.html

Options that can be used when creating a span.

## Properties

- **`defaultFilters`** (`SpanFilter[]`, optional)
- **`structure`** (`"sibling" | "nested"`, optional)

## Related types

- [SpanFilter](https://docs.interop.io/desktop/reference/javascript/insights/spanfilter/index.md)
