@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 +1 -1
- package/target/dist/index.cjs +3 -0
- package/target/dist/index.cjs.map +1 -1
- package/target/dist/index.js +3 -0
- package/target/dist/index.js.map +1 -1
- package/target/dist/integrations/effect/auto/index.cjs +10 -2
- package/target/dist/integrations/effect/auto/index.cjs.map +1 -1
- package/target/dist/integrations/effect/auto/index.js +10 -2
- package/target/dist/integrations/effect/auto/index.js.map +1 -1
- package/target/dist/integrations/effect/index.cjs +3 -0
- package/target/dist/integrations/effect/index.cjs.map +1 -1
- package/target/dist/integrations/effect/index.js +3 -0
- package/target/dist/integrations/effect/index.js.map +1 -1
package/target/dist/index.js
CHANGED
|
@@ -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)
|