ComponentTrackingOptions: {
    trackComponents?: boolean | string[];
} & SpanOptions

Control which components and which operations should be tracked and recorded as spans

Type declaration

  • Optional trackComponents?: boolean | string[]

    Control if all your Svelte components should be tracked or only a specified list of components. If set to true, all components will be tracked. If you only want to track a selection of components, specify the component names as an array.

    Defaults to true if the preprocessor is used

Generated using TypeDoc