OptionaldisableDisable OTLP export entirely (even if env vars are set) Useful for local development without export
OptionalexporterOTLP exporter configuration
If not provided (default), auto-detects from env vars:
If explicitly provided, uses the given config
If env vars not set and no explicit config, spans/logs are not exported
OptionalignoreURL patterns to ignore from tracing (fetch handler only) Useful for health check endpoints that don't need tracing
Can be:
When a request matches, the original handler is called without creating spans
Default: ["/health", "/healthz", "/ready", "/readyz", "/live", "/livez", "/ping"]
Pass an empty array to disable default ignoring.
OptionalserviceService name for tracing Used as resource attribute
Options object for instrumentation