@atrim/instrument-web 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.js +3 -0
- package/target/dist/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atrim/instrument-web",
|
|
3
|
-
"version": "0.7.1-dev.14fdea7.
|
|
3
|
+
"version": "0.7.1-dev.14fdea7.20260108224013",
|
|
4
4
|
"description": "OpenTelemetry instrumentation for browsers with centralized YAML configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/target/dist/index.js
CHANGED
|
@@ -4181,6 +4181,9 @@ var ExporterConfigSchema = external_exports.object({
|
|
|
4181
4181
|
// OTLP endpoint URL (for type: otlp)
|
|
4182
4182
|
// Defaults to OTEL_EXPORTER_OTLP_ENDPOINT env var or http://localhost:4318
|
|
4183
4183
|
endpoint: external_exports.string().optional(),
|
|
4184
|
+
// Custom headers to send with OTLP requests (for type: otlp)
|
|
4185
|
+
// Useful for authentication (x-api-key, Authorization, etc.)
|
|
4186
|
+
headers: external_exports.record(external_exports.string()).optional(),
|
|
4184
4187
|
// Span processor type
|
|
4185
4188
|
// - 'batch': Batch spans for export (production, lower overhead)
|
|
4186
4189
|
// - 'simple': Export immediately (development, no batching delay)
|