@atrim/instrument-node 0.7.1-dev.14fdea7.20260108220010 → 0.7.1-dev.14fdea7.20260108231232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -145,6 +145,9 @@ var ExporterConfigSchema = z.object({
145
145
  // OTLP endpoint URL (for type: otlp)
146
146
  // Defaults to OTEL_EXPORTER_OTLP_ENDPOINT env var or http://localhost:4318
147
147
  endpoint: z.string().optional(),
148
+ // Custom headers to send with OTLP requests (for type: otlp)
149
+ // Useful for authentication (x-api-key, Authorization, etc.)
150
+ headers: z.record(z.string()).optional(),
148
151
  // Span processor type
149
152
  // - 'batch': Batch spans for export (production, lower overhead)
150
153
  // - 'simple': Export immediately (development, no batching delay)