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

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atrim/instrument-node",
3
- "version": "0.7.1-dev.14fdea7.20260108220010",
3
+ "version": "0.7.1-dev.14fdea7.20260108224013",
4
4
  "description": "OpenTelemetry instrumentation for Node.js with centralized YAML configuration",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -169,6 +169,9 @@ var ExporterConfigSchema = zod.z.object({
169
169
  // OTLP endpoint URL (for type: otlp)
170
170
  // Defaults to OTEL_EXPORTER_OTLP_ENDPOINT env var or http://localhost:4318
171
171
  endpoint: zod.z.string().optional(),
172
+ // Custom headers to send with OTLP requests (for type: otlp)
173
+ // Useful for authentication (x-api-key, Authorization, etc.)
174
+ headers: zod.z.record(zod.z.string()).optional(),
172
175
  // Span processor type
173
176
  // - 'batch': Batch spans for export (production, lower overhead)
174
177
  // - 'simple': Export immediately (development, no batching delay)