@atrim/instrument-web 0.5.4-dev.ac2fbfe.20251221205322 → 0.6.0
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 +5 -5
- package/target/dist/index.js +7 -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.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "OpenTelemetry instrumentation for browsers with centralized YAML configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@opentelemetry/context-zone": "^2.2.0",
|
|
72
72
|
"@opentelemetry/semantic-conventions": "^1.38.0",
|
|
73
|
-
"@types/node": "^25.0.
|
|
74
|
-
"@vitest/coverage-v8": "^4.0.
|
|
75
|
-
"jsdom": "^
|
|
73
|
+
"@types/node": "^25.0.3",
|
|
74
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
75
|
+
"jsdom": "^27.4.0",
|
|
76
76
|
"tsup": "^8.0.1",
|
|
77
77
|
"typescript": "^5.7.2",
|
|
78
|
-
"vitest": "^4.0.
|
|
78
|
+
"vitest": "^4.0.16",
|
|
79
79
|
"@atrim/instrument-core": "0.5.0"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
package/target/dist/index.js
CHANGED
|
@@ -4119,6 +4119,13 @@ var InstrumentationConfigSchema = external_exports.object({
|
|
|
4119
4119
|
ignore_patterns: external_exports.array(PatternConfigSchema)
|
|
4120
4120
|
}),
|
|
4121
4121
|
effect: external_exports.object({
|
|
4122
|
+
// Enable/disable Effect tracing entirely
|
|
4123
|
+
// When false, EffectInstrumentationLive returns Layer.empty
|
|
4124
|
+
enabled: external_exports.boolean().default(true),
|
|
4125
|
+
// Exporter mode:
|
|
4126
|
+
// - "unified": Use global TracerProvider from Node SDK (recommended, enables filtering)
|
|
4127
|
+
// - "standalone": Use Effect's own OTLP exporter (bypasses Node SDK filtering)
|
|
4128
|
+
exporter: external_exports.enum(["unified", "standalone"]).default("unified"),
|
|
4122
4129
|
auto_extract_metadata: external_exports.boolean(),
|
|
4123
4130
|
auto_isolation: AutoIsolationConfigSchema.optional()
|
|
4124
4131
|
}).optional(),
|