autotel 2.25.2 → 2.25.3
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/README.md +152 -1
- package/dist/attributes.d.cts +2 -2
- package/dist/attributes.d.ts +2 -2
- package/dist/auto.cjs +6 -6
- package/dist/auto.js +4 -4
- package/dist/{chunk-QUW4I2OI.js → chunk-3ZLYWPMY.js} +3 -3
- package/dist/{chunk-QUW4I2OI.js.map → chunk-3ZLYWPMY.js.map} +1 -1
- package/dist/{chunk-BGVKKL2N.cjs → chunk-7FIGORWI.cjs} +46 -2
- package/dist/chunk-7FIGORWI.cjs.map +1 -0
- package/dist/{chunk-MNMLCLHH.cjs → chunk-AQXPGGQK.cjs} +5 -5
- package/dist/{chunk-MNMLCLHH.cjs.map → chunk-AQXPGGQK.cjs.map} +1 -1
- package/dist/{chunk-4KGC5N3J.cjs → chunk-FXKB7EPR.cjs} +13 -13
- package/dist/{chunk-4KGC5N3J.cjs.map → chunk-FXKB7EPR.cjs.map} +1 -1
- package/dist/{chunk-4SCBD22Z.js → chunk-IFKDBL65.js} +3 -3
- package/dist/{chunk-4SCBD22Z.js.map → chunk-IFKDBL65.js.map} +1 -1
- package/dist/{chunk-JVICEM6W.cjs → chunk-ITYASFHQ.cjs} +91 -19
- package/dist/chunk-ITYASFHQ.cjs.map +1 -0
- package/dist/{chunk-IKRHEUS7.js → chunk-JM63D22M.js} +10 -10
- package/dist/{chunk-IKRHEUS7.js.map → chunk-JM63D22M.js.map} +1 -1
- package/dist/{chunk-GVLK7YUU.cjs → chunk-KZEC4CHV.cjs} +6 -4
- package/dist/chunk-KZEC4CHV.cjs.map +1 -0
- package/dist/{chunk-VXLEJWLY.js → chunk-MNBAXRVG.js} +89 -17
- package/dist/chunk-MNBAXRVG.js.map +1 -0
- package/dist/{chunk-6YIDHH2S.cjs → chunk-OFPZULMQ.cjs} +32 -10
- package/dist/chunk-OFPZULMQ.cjs.map +1 -0
- package/dist/{chunk-UKUYBUFQ.cjs → chunk-OWXXS4JB.cjs} +7 -7
- package/dist/{chunk-UKUYBUFQ.cjs.map → chunk-OWXXS4JB.cjs.map} +1 -1
- package/dist/{chunk-77PLEJ54.js → chunk-PKXD2RMI.js} +4 -4
- package/dist/{chunk-77PLEJ54.js.map → chunk-PKXD2RMI.js.map} +1 -1
- package/dist/{chunk-RWOVNF3V.cjs → chunk-RMGSBMQF.cjs} +36 -36
- package/dist/chunk-RMGSBMQF.cjs.map +1 -0
- package/dist/{chunk-YTGF4L2C.js → chunk-RUD7KS4R.js} +27 -5
- package/dist/chunk-RUD7KS4R.js.map +1 -0
- package/dist/{chunk-KUSYIHW7.js → chunk-VVYSQXQL.js} +3 -3
- package/dist/{chunk-KUSYIHW7.js.map → chunk-VVYSQXQL.js.map} +1 -1
- package/dist/{chunk-XND7WBVX.js → chunk-VYA6QDNA.js} +43 -3
- package/dist/chunk-VYA6QDNA.js.map +1 -0
- package/dist/{chunk-L627YSSP.cjs → chunk-WOWTZ4EB.cjs} +9 -9
- package/dist/{chunk-L627YSSP.cjs.map → chunk-WOWTZ4EB.cjs.map} +1 -1
- package/dist/{chunk-X4RMFFMR.js → chunk-XDKK53OL.js} +6 -4
- package/dist/chunk-XDKK53OL.js.map +1 -0
- package/dist/decorators.cjs +5 -5
- package/dist/decorators.js +5 -5
- package/dist/event.cjs +8 -8
- package/dist/event.js +5 -5
- package/dist/functional.cjs +12 -12
- package/dist/functional.js +5 -5
- package/dist/index.cjs +71 -51
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +13 -13
- package/dist/{init-Q4uIQKbq.d.cts → init-CIzpC5kZ.d.cts} +9 -2
- package/dist/{init-ls4xSZe5.d.ts → init-C_PiC_Su.d.ts} +9 -2
- package/dist/instrumentation.cjs +12 -12
- package/dist/instrumentation.cjs.map +1 -1
- package/dist/instrumentation.js +4 -4
- package/dist/instrumentation.js.map +1 -1
- package/dist/messaging-adapters.d.cts +1 -1
- package/dist/messaging-adapters.d.ts +1 -1
- package/dist/messaging.cjs +9 -9
- package/dist/messaging.d.cts +1 -1
- package/dist/messaging.d.ts +1 -1
- package/dist/messaging.js +6 -6
- package/dist/metric-helpers.d.cts +1 -1
- package/dist/metric-helpers.d.ts +1 -1
- package/dist/sampling.cjs +26 -10
- package/dist/sampling.d.cts +49 -1
- package/dist/sampling.d.ts +49 -1
- package/dist/sampling.js +1 -1
- package/dist/semantic-helpers.cjs +10 -10
- package/dist/semantic-helpers.js +6 -6
- package/dist/tail-sampling-processor.cjs +6 -2
- package/dist/tail-sampling-processor.d.cts +2 -2
- package/dist/tail-sampling-processor.d.ts +2 -2
- package/dist/tail-sampling-processor.js +5 -1
- package/dist/trace-helpers.d.cts +1 -1
- package/dist/trace-helpers.d.ts +1 -1
- package/dist/{utils-D1trOLNm.d.ts → utils-Buel3cj0.d.ts} +1 -1
- package/dist/{utils-DuNJfXSH.d.cts → utils-CbUkl8r1.d.cts} +1 -1
- package/dist/webhook.cjs +6 -6
- package/dist/webhook.js +5 -5
- package/dist/workflow-distributed.cjs +7 -7
- package/dist/workflow-distributed.js +5 -5
- package/dist/workflow.cjs +10 -10
- package/dist/workflow.js +6 -6
- package/dist/yaml-config.cjs +5 -5
- package/dist/yaml-config.d.cts +5 -4
- package/dist/yaml-config.d.ts +5 -4
- package/dist/yaml-config.js +2 -2
- package/package.json +1 -1
- package/src/env-config.test.ts +77 -0
- package/src/env-config.ts +106 -0
- package/src/functional.ts +13 -7
- package/src/index.ts +6 -0
- package/src/init.customization.test.ts +61 -0
- package/src/init.integrations.test.ts +6 -1
- package/src/init.ts +23 -13
- package/src/instrumentation.ts +1 -1
- package/src/sampling.test.ts +96 -3
- package/src/sampling.ts +90 -0
- package/src/tail-sampling-processor.test.ts +26 -22
- package/src/tail-sampling-processor.ts +8 -4
- package/src/yaml-config.test.ts +71 -0
- package/src/yaml-config.ts +32 -2
- package/dist/chunk-6YIDHH2S.cjs.map +0 -1
- package/dist/chunk-BGVKKL2N.cjs.map +0 -1
- package/dist/chunk-GVLK7YUU.cjs.map +0 -1
- package/dist/chunk-JVICEM6W.cjs.map +0 -1
- package/dist/chunk-RWOVNF3V.cjs.map +0 -1
- package/dist/chunk-VXLEJWLY.js.map +0 -1
- package/dist/chunk-X4RMFFMR.js.map +0 -1
- package/dist/chunk-XND7WBVX.js.map +0 -1
- package/dist/chunk-YTGF4L2C.js.map +0 -1
package/dist/functional.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRMGSBMQF_cjs = require('./chunk-RMGSBMQF.cjs');
|
|
4
4
|
require('./chunk-W4EUTSB2.cjs');
|
|
5
5
|
require('./chunk-GML3FBOT.cjs');
|
|
6
6
|
require('./chunk-D5LMF53P.cjs');
|
|
7
7
|
require('./chunk-XRKAL7WJ.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-ITYASFHQ.cjs');
|
|
9
|
+
require('./chunk-OFPZULMQ.cjs');
|
|
10
|
+
require('./chunk-KZEC4CHV.cjs');
|
|
11
11
|
require('./chunk-ZNMBW67B.cjs');
|
|
12
12
|
require('./chunk-IOYFAFHJ.cjs');
|
|
13
13
|
require('./chunk-ELW34S4C.cjs');
|
|
14
14
|
require('./chunk-CU6IDACR.cjs');
|
|
15
15
|
require('./chunk-6S5RUKU3.cjs');
|
|
16
16
|
require('./chunk-YS6C2YJE.cjs');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-7FIGORWI.cjs');
|
|
18
18
|
require('./chunk-AZ24DJAG.cjs');
|
|
19
19
|
require('./chunk-ESLWRGAG.cjs');
|
|
20
20
|
require('./chunk-YREV3LGG.cjs');
|
|
@@ -24,31 +24,31 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
|
24
24
|
|
|
25
25
|
Object.defineProperty(exports, "ctx", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkRMGSBMQF_cjs.ctx; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "instrument", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkRMGSBMQF_cjs.instrument; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "span", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkRMGSBMQF_cjs.span; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "trace", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkRMGSBMQF_cjs.trace; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "withBaggage", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkRMGSBMQF_cjs.withBaggage; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "withNewContext", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkRMGSBMQF_cjs.withNewContext; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "withTracing", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkRMGSBMQF_cjs.withTracing; }
|
|
52
52
|
});
|
|
53
53
|
//# sourceMappingURL=functional.cjs.map
|
|
54
54
|
//# sourceMappingURL=functional.cjs.map
|
package/dist/functional.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { ctx, instrument, span, trace, withBaggage, withNewContext, withTracing } from './chunk-
|
|
1
|
+
export { ctx, instrument, span, trace, withBaggage, withNewContext, withTracing } from './chunk-JM63D22M.js';
|
|
2
2
|
import './chunk-SR35DG5A.js';
|
|
3
3
|
import './chunk-B3ZHLLMP.js';
|
|
4
4
|
import './chunk-WD4RP6IV.js';
|
|
5
5
|
import './chunk-USSL3D6L.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
6
|
+
import './chunk-MNBAXRVG.js';
|
|
7
|
+
import './chunk-RUD7KS4R.js';
|
|
8
|
+
import './chunk-XDKK53OL.js';
|
|
9
9
|
import './chunk-WGWSHJ2N.js';
|
|
10
10
|
import './chunk-GYR5K654.js';
|
|
11
11
|
import './chunk-SNINLBEE.js';
|
|
12
12
|
import './chunk-6UQRVUN3.js';
|
|
13
13
|
import './chunk-3QXBFGKP.js';
|
|
14
14
|
import './chunk-33WTKH7X.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-VYA6QDNA.js';
|
|
16
16
|
import './chunk-B33XPEKY.js';
|
|
17
17
|
import './chunk-J5QENANM.js';
|
|
18
18
|
import './chunk-HA2WBOGQ.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk7EQ4G4SI_cjs = require('./chunk-7EQ4G4SI.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkAQXPGGQK_cjs = require('./chunk-AQXPGGQK.cjs');
|
|
5
5
|
var chunkXRBP4RYL_cjs = require('./chunk-XRBP4RYL.cjs');
|
|
6
6
|
var chunk2ZKEORFN_cjs = require('./chunk-2ZKEORFN.cjs');
|
|
7
7
|
var chunkESMHTKLJ_cjs = require('./chunk-ESMHTKLJ.cjs');
|
|
8
8
|
var chunkT4B5LB6E_cjs = require('./chunk-T4B5LB6E.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkWOWTZ4EB_cjs = require('./chunk-WOWTZ4EB.cjs');
|
|
10
10
|
var chunkINJD3G4K_cjs = require('./chunk-INJD3G4K.cjs');
|
|
11
11
|
var chunkTC5ZPWM4_cjs = require('./chunk-TC5ZPWM4.cjs');
|
|
12
12
|
require('./chunk-YTXEZ4SD.cjs');
|
|
13
13
|
var chunkWJH6IYU2_cjs = require('./chunk-WJH6IYU2.cjs');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
14
|
+
var chunkOWXXS4JB_cjs = require('./chunk-OWXXS4JB.cjs');
|
|
15
|
+
var chunkRMGSBMQF_cjs = require('./chunk-RMGSBMQF.cjs');
|
|
16
16
|
var chunkW4EUTSB2_cjs = require('./chunk-W4EUTSB2.cjs');
|
|
17
17
|
var chunkGML3FBOT_cjs = require('./chunk-GML3FBOT.cjs');
|
|
18
|
-
var
|
|
18
|
+
var chunkFXKB7EPR_cjs = require('./chunk-FXKB7EPR.cjs');
|
|
19
19
|
require('./chunk-NZ72VDNY.cjs');
|
|
20
20
|
require('./chunk-UY3UYPBZ.cjs');
|
|
21
21
|
var chunkD5LMF53P_cjs = require('./chunk-D5LMF53P.cjs');
|
|
22
22
|
var chunkXRKAL7WJ_cjs = require('./chunk-XRKAL7WJ.cjs');
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
23
|
+
var chunkITYASFHQ_cjs = require('./chunk-ITYASFHQ.cjs');
|
|
24
|
+
require('./chunk-OFPZULMQ.cjs');
|
|
25
|
+
require('./chunk-KZEC4CHV.cjs');
|
|
26
26
|
var chunkZNMBW67B_cjs = require('./chunk-ZNMBW67B.cjs');
|
|
27
27
|
var chunkIOYFAFHJ_cjs = require('./chunk-IOYFAFHJ.cjs');
|
|
28
28
|
var chunkELW34S4C_cjs = require('./chunk-ELW34S4C.cjs');
|
|
29
29
|
require('./chunk-CU6IDACR.cjs');
|
|
30
30
|
var chunk6S5RUKU3_cjs = require('./chunk-6S5RUKU3.cjs');
|
|
31
31
|
require('./chunk-YS6C2YJE.cjs');
|
|
32
|
-
var
|
|
32
|
+
var chunk7FIGORWI_cjs = require('./chunk-7FIGORWI.cjs');
|
|
33
33
|
require('./chunk-AZ24DJAG.cjs');
|
|
34
34
|
require('./chunk-ESLWRGAG.cjs');
|
|
35
35
|
var chunkYREV3LGG_cjs = require('./chunk-YREV3LGG.cjs');
|
|
@@ -42,7 +42,7 @@ async function flush(options) {
|
|
|
42
42
|
const timeout = options?.timeout ?? 2e3;
|
|
43
43
|
const forShutdown = options?.forShutdown ?? false;
|
|
44
44
|
const doFlush = async () => {
|
|
45
|
-
const eventsQueue =
|
|
45
|
+
const eventsQueue = chunkRMGSBMQF_cjs.getEventQueue();
|
|
46
46
|
if (eventsQueue) {
|
|
47
47
|
if (forShutdown) {
|
|
48
48
|
await eventsQueue.shutdown();
|
|
@@ -50,7 +50,7 @@ async function flush(options) {
|
|
|
50
50
|
await eventsQueue.flush();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
const sdk =
|
|
53
|
+
const sdk = chunkITYASFHQ_cjs.getSdk();
|
|
54
54
|
if (sdk) {
|
|
55
55
|
try {
|
|
56
56
|
const sdkAny = sdk;
|
|
@@ -84,7 +84,7 @@ async function flush(options) {
|
|
|
84
84
|
if (timeoutHandle) {
|
|
85
85
|
clearTimeout(timeoutHandle);
|
|
86
86
|
}
|
|
87
|
-
const logger =
|
|
87
|
+
const logger = chunkITYASFHQ_cjs.getLogger();
|
|
88
88
|
logger.error(
|
|
89
89
|
{
|
|
90
90
|
err: error instanceof Error ? error : new Error(String(error))
|
|
@@ -95,7 +95,7 @@ async function flush(options) {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
async function shutdown() {
|
|
98
|
-
const logger =
|
|
98
|
+
const logger = chunkITYASFHQ_cjs.getLogger();
|
|
99
99
|
let shutdownError = null;
|
|
100
100
|
try {
|
|
101
101
|
await flush({ forShutdown: true });
|
|
@@ -110,7 +110,7 @@ async function shutdown() {
|
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
try {
|
|
113
|
-
const sdk =
|
|
113
|
+
const sdk = chunkITYASFHQ_cjs.getSdk();
|
|
114
114
|
if (sdk) {
|
|
115
115
|
await sdk.shutdown();
|
|
116
116
|
}
|
|
@@ -124,13 +124,13 @@ async function shutdown() {
|
|
|
124
124
|
logger.error({ err }, "[autotel] SDK shutdown failed");
|
|
125
125
|
}
|
|
126
126
|
} finally {
|
|
127
|
-
const eventsQueue =
|
|
127
|
+
const eventsQueue = chunkRMGSBMQF_cjs.getEventQueue();
|
|
128
128
|
if (eventsQueue && typeof eventsQueue.cleanup === "function") {
|
|
129
129
|
eventsQueue.cleanup();
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
chunkFXKB7EPR_cjs.resetEvents();
|
|
132
132
|
chunkTC5ZPWM4_cjs.resetMetrics();
|
|
133
|
-
|
|
133
|
+
chunkRMGSBMQF_cjs.resetEventQueue();
|
|
134
134
|
}
|
|
135
135
|
if (shutdownError) {
|
|
136
136
|
throw shutdownError;
|
|
@@ -145,7 +145,7 @@ function registerShutdownHooks() {
|
|
|
145
145
|
if (shuttingDown) return;
|
|
146
146
|
shuttingDown = true;
|
|
147
147
|
if (process.env.NODE_ENV !== "test") {
|
|
148
|
-
|
|
148
|
+
chunkITYASFHQ_cjs.getLogger().info(
|
|
149
149
|
{},
|
|
150
150
|
`[autotel] Received ${signal}, flushing telemetry...`
|
|
151
151
|
);
|
|
@@ -153,7 +153,7 @@ function registerShutdownHooks() {
|
|
|
153
153
|
try {
|
|
154
154
|
await shutdown();
|
|
155
155
|
} catch (error) {
|
|
156
|
-
|
|
156
|
+
chunkITYASFHQ_cjs.getLogger().error(
|
|
157
157
|
{
|
|
158
158
|
err: error instanceof Error ? error : void 0
|
|
159
159
|
},
|
|
@@ -384,19 +384,19 @@ Object.defineProperty(exports, "createDrainPipeline", {
|
|
|
384
384
|
});
|
|
385
385
|
Object.defineProperty(exports, "getCurrentWorkflowContext", {
|
|
386
386
|
enumerable: true,
|
|
387
|
-
get: function () { return
|
|
387
|
+
get: function () { return chunkAQXPGGQK_cjs.getCurrentWorkflowContext; }
|
|
388
388
|
});
|
|
389
389
|
Object.defineProperty(exports, "isInWorkflow", {
|
|
390
390
|
enumerable: true,
|
|
391
|
-
get: function () { return
|
|
391
|
+
get: function () { return chunkAQXPGGQK_cjs.isInWorkflow; }
|
|
392
392
|
});
|
|
393
393
|
Object.defineProperty(exports, "traceStep", {
|
|
394
394
|
enumerable: true,
|
|
395
|
-
get: function () { return
|
|
395
|
+
get: function () { return chunkAQXPGGQK_cjs.traceStep; }
|
|
396
396
|
});
|
|
397
397
|
Object.defineProperty(exports, "traceWorkflow", {
|
|
398
398
|
enumerable: true,
|
|
399
|
-
get: function () { return
|
|
399
|
+
get: function () { return chunkAQXPGGQK_cjs.traceWorkflow; }
|
|
400
400
|
});
|
|
401
401
|
Object.defineProperty(exports, "attrs", {
|
|
402
402
|
enumerable: true,
|
|
@@ -488,11 +488,11 @@ Object.defineProperty(exports, "parseError", {
|
|
|
488
488
|
});
|
|
489
489
|
Object.defineProperty(exports, "traceConsumer", {
|
|
490
490
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkWOWTZ4EB_cjs.traceConsumer; }
|
|
492
492
|
});
|
|
493
493
|
Object.defineProperty(exports, "traceProducer", {
|
|
494
494
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkWOWTZ4EB_cjs.traceProducer; }
|
|
496
496
|
});
|
|
497
497
|
Object.defineProperty(exports, "BusinessBaggage", {
|
|
498
498
|
enumerable: true,
|
|
@@ -536,55 +536,55 @@ Object.defineProperty(exports, "getMeter", {
|
|
|
536
536
|
});
|
|
537
537
|
Object.defineProperty(exports, "traceDB", {
|
|
538
538
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkOWXXS4JB_cjs.traceDB; }
|
|
540
540
|
});
|
|
541
541
|
Object.defineProperty(exports, "traceHTTP", {
|
|
542
542
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkOWXXS4JB_cjs.traceHTTP; }
|
|
544
544
|
});
|
|
545
545
|
Object.defineProperty(exports, "traceLLM", {
|
|
546
546
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunkOWXXS4JB_cjs.traceLLM; }
|
|
548
548
|
});
|
|
549
549
|
Object.defineProperty(exports, "traceMessaging", {
|
|
550
550
|
enumerable: true,
|
|
551
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunkOWXXS4JB_cjs.traceMessaging; }
|
|
552
552
|
});
|
|
553
553
|
Object.defineProperty(exports, "ctx", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkRMGSBMQF_cjs.ctx; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "getEventQueue", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkRMGSBMQF_cjs.getEventQueue; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "instrument", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkRMGSBMQF_cjs.instrument; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "span", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkRMGSBMQF_cjs.span; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "trace", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkRMGSBMQF_cjs.trace; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "track", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkRMGSBMQF_cjs.track; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "withBaggage", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkRMGSBMQF_cjs.withBaggage; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "withNewContext", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkRMGSBMQF_cjs.withNewContext; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "withTracing", {
|
|
586
586
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkRMGSBMQF_cjs.withTracing; }
|
|
588
588
|
});
|
|
589
589
|
Object.defineProperty(exports, "defineBaggageSchema", {
|
|
590
590
|
enumerable: true,
|
|
@@ -636,15 +636,15 @@ Object.defineProperty(exports, "runWithSpan", {
|
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "Event", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkFXKB7EPR_cjs.Event; }
|
|
640
640
|
});
|
|
641
641
|
Object.defineProperty(exports, "getEvents", {
|
|
642
642
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkFXKB7EPR_cjs.getEvents; }
|
|
644
644
|
});
|
|
645
645
|
Object.defineProperty(exports, "resetEvents", {
|
|
646
646
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkFXKB7EPR_cjs.resetEvents; }
|
|
648
648
|
});
|
|
649
649
|
Object.defineProperty(exports, "getOperationContext", {
|
|
650
650
|
enumerable: true,
|
|
@@ -684,15 +684,15 @@ Object.defineProperty(exports, "setCorrelationIdInBaggage", {
|
|
|
684
684
|
});
|
|
685
685
|
Object.defineProperty(exports, "BaggageSpanProcessor", {
|
|
686
686
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkITYASFHQ_cjs.BaggageSpanProcessor; }
|
|
688
688
|
});
|
|
689
689
|
Object.defineProperty(exports, "createStringRedactor", {
|
|
690
690
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunkITYASFHQ_cjs.createStringRedactor; }
|
|
692
692
|
});
|
|
693
693
|
Object.defineProperty(exports, "init", {
|
|
694
694
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkITYASFHQ_cjs.init; }
|
|
696
696
|
});
|
|
697
697
|
Object.defineProperty(exports, "FilteringSpanProcessor", {
|
|
698
698
|
enumerable: true,
|
|
@@ -722,6 +722,10 @@ Object.defineProperty(exports, "REDACTOR_PRESETS", {
|
|
|
722
722
|
enumerable: true,
|
|
723
723
|
get: function () { return chunkELW34S4C_cjs.REDACTOR_PRESETS; }
|
|
724
724
|
});
|
|
725
|
+
Object.defineProperty(exports, "createAttributeRedactor", {
|
|
726
|
+
enumerable: true,
|
|
727
|
+
get: function () { return chunkELW34S4C_cjs.createAttributeRedactor; }
|
|
728
|
+
});
|
|
725
729
|
Object.defineProperty(exports, "createRedactedSpan", {
|
|
726
730
|
enumerable: true,
|
|
727
731
|
get: function () { return chunkELW34S4C_cjs.createRedactedSpan; }
|
|
@@ -730,33 +734,49 @@ Object.defineProperty(exports, "formatDuration", {
|
|
|
730
734
|
enumerable: true,
|
|
731
735
|
get: function () { return chunk6S5RUKU3_cjs.formatDuration; }
|
|
732
736
|
});
|
|
737
|
+
Object.defineProperty(exports, "AUTOTEL_SAMPLING_TAIL_EVALUATED", {
|
|
738
|
+
enumerable: true,
|
|
739
|
+
get: function () { return chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED; }
|
|
740
|
+
});
|
|
741
|
+
Object.defineProperty(exports, "AUTOTEL_SAMPLING_TAIL_KEEP", {
|
|
742
|
+
enumerable: true,
|
|
743
|
+
get: function () { return chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_KEEP; }
|
|
744
|
+
});
|
|
733
745
|
Object.defineProperty(exports, "AdaptiveSampler", {
|
|
734
746
|
enumerable: true,
|
|
735
|
-
get: function () { return
|
|
747
|
+
get: function () { return chunk7FIGORWI_cjs.AdaptiveSampler; }
|
|
736
748
|
});
|
|
737
749
|
Object.defineProperty(exports, "AlwaysSampler", {
|
|
738
750
|
enumerable: true,
|
|
739
|
-
get: function () { return
|
|
751
|
+
get: function () { return chunk7FIGORWI_cjs.AlwaysSampler; }
|
|
740
752
|
});
|
|
741
753
|
Object.defineProperty(exports, "NeverSampler", {
|
|
742
754
|
enumerable: true,
|
|
743
|
-
get: function () { return
|
|
755
|
+
get: function () { return chunk7FIGORWI_cjs.NeverSampler; }
|
|
744
756
|
});
|
|
745
757
|
Object.defineProperty(exports, "RandomSampler", {
|
|
746
758
|
enumerable: true,
|
|
747
|
-
get: function () { return
|
|
759
|
+
get: function () { return chunk7FIGORWI_cjs.RandomSampler; }
|
|
748
760
|
});
|
|
749
761
|
Object.defineProperty(exports, "UserIdSampler", {
|
|
750
762
|
enumerable: true,
|
|
751
|
-
get: function () { return
|
|
763
|
+
get: function () { return chunk7FIGORWI_cjs.UserIdSampler; }
|
|
752
764
|
});
|
|
753
765
|
Object.defineProperty(exports, "createLinkFromHeaders", {
|
|
754
766
|
enumerable: true,
|
|
755
|
-
get: function () { return
|
|
767
|
+
get: function () { return chunk7FIGORWI_cjs.createLinkFromHeaders; }
|
|
756
768
|
});
|
|
757
769
|
Object.defineProperty(exports, "extractLinksFromBatch", {
|
|
758
770
|
enumerable: true,
|
|
759
|
-
get: function () { return
|
|
771
|
+
get: function () { return chunk7FIGORWI_cjs.extractLinksFromBatch; }
|
|
772
|
+
});
|
|
773
|
+
Object.defineProperty(exports, "resolveSamplingPreset", {
|
|
774
|
+
enumerable: true,
|
|
775
|
+
get: function () { return chunk7FIGORWI_cjs.resolveSamplingPreset; }
|
|
776
|
+
});
|
|
777
|
+
Object.defineProperty(exports, "samplingPresets", {
|
|
778
|
+
enumerable: true,
|
|
779
|
+
get: function () { return chunk7FIGORWI_cjs.samplingPresets; }
|
|
760
780
|
});
|
|
761
781
|
Object.defineProperty(exports, "getAutotelTracer", {
|
|
762
782
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as AutotelConfig, i as init } from './init-
|
|
1
|
+
export { A as AutotelConfig, i as init } from './init-CIzpC5kZ.cjs';
|
|
2
2
|
import { Span, Context } from '@opentelemetry/api';
|
|
3
3
|
export { Context, ROOT_CONTEXT, Span, SpanContext, SpanKind, Link as SpanLink, SpanStatusCode, TextMapGetter, TextMapSetter, Tracer, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
4
4
|
import { SpanProcessor, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
export { FilteringSpanProcessor, FilteringSpanProcessorOptions, SpanFilterPredicate } from './filtering-span-processor.cjs';
|
|
6
6
|
export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizerConfig, SpanNameNormalizerFn, SpanNameNormalizerPreset, SpanNameNormalizingProcessor, SpanNameNormalizingProcessorOptions } from './span-name-normalizer.cjs';
|
|
7
7
|
import { AttributeRedactorConfig, AttributeRedactorPreset } from './attribute-redacting-processor.cjs';
|
|
8
|
-
export { AttributeRedactingProcessor, AttributeRedactingProcessorOptions, AttributeRedactorFn, REDACTOR_PATTERNS, REDACTOR_PRESETS, ValuePatternConfig, createRedactedSpan } from './attribute-redacting-processor.cjs';
|
|
8
|
+
export { AttributeRedactingProcessor, AttributeRedactingProcessorOptions, AttributeRedactorFn, REDACTOR_PATTERNS, REDACTOR_PRESETS, ValuePatternConfig, createAttributeRedactor, createRedactedSpan } from './attribute-redacting-processor.cjs';
|
|
9
9
|
export { InstrumentOptions, SpanOptions, WithBaggageOptions, WithNewContextOptions, ctx, instrument, span, trace, withBaggage, withNewContext, withTracing } from './functional.cjs';
|
|
10
10
|
import { EventSubscriber, EventAttributes, AutotelEventContext } from './event-subscriber.cjs';
|
|
11
11
|
export { FunnelStatus, OutcomeStatus } from './event-subscriber.cjs';
|
|
@@ -14,7 +14,7 @@ import { T as TraceContext, A as AttributeValue } from './trace-context-t5X1AP-e
|
|
|
14
14
|
export { d as defineBaggageSchema } from './trace-context-t5X1AP-e.cjs';
|
|
15
15
|
export { ParsedError, parseError } from './parse-error.cjs';
|
|
16
16
|
export { DrainPipelineOptions, PipelineDrainFn, createDrainPipeline } from './drain-pipeline.cjs';
|
|
17
|
-
export { AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, Sampler, SamplingContext, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch } from './sampling.cjs';
|
|
17
|
+
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, Sampler, SamplingContext, SamplingPreset, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch, resolveSamplingPreset, samplingPresets } from './sampling.cjs';
|
|
18
18
|
export { Event, EventsOptions, getEvents, resetEvents } from './event.cjs';
|
|
19
19
|
export { Metric, MetricsOptions, getMetrics, resetMetrics } from './metric.cjs';
|
|
20
20
|
export { createCounter, createHistogram, createObservableGauge, createUpDownCounter, getMeter } from './metric-helpers.cjs';
|
|
@@ -22,7 +22,7 @@ export { TraceContext as OtelTraceContext, createDeterministicTraceId, enrichWit
|
|
|
22
22
|
export { getAutotelTracer, getAutotelTracerProvider, setAutotelTracerProvider } from './tracer-provider.cjs';
|
|
23
23
|
export { DBConfig, HTTPConfig, LLMConfig, MessagingConfig, traceDB, traceHTTP, traceLLM, traceMessaging } from './semantic-helpers.cjs';
|
|
24
24
|
export { HTTPAttributes, ServiceAttributes, URLAttributes, httpRequestHeaderAttribute, httpResponseHeaderAttribute } from './semantic-conventions.cjs';
|
|
25
|
-
export {
|
|
25
|
+
export { a as AttributeGuardrails, A as AttributePolicy, C as ClientAttrs, b as CloudAttrs, c as CodeAttrs, d as ContainerAttrs, D as DBAttrs, e as DeploymentAttrs, f as DeviceAttrs, E as ErrorAttrs, g as ExceptionAttrs, F as FaaSAttrs, h as FeatureFlagAttrs, G as GenAIAttrs, i as GraphQLAttrs, H as HTTPClientAttrs, j as HTTPServerAttrs, K as K8sAttrs, M as MessagingAttrs, N as NetworkAttrs, O as OTelAttrs, P as PeerAttrs, k as ProcessAttrs, R as RPCAttrs, l as ServerAddressAttrs, m as ServiceAttrs, S as SessionAttrs, T as TLSAttrs, n as ThreadAttrs, o as URLAttrs, U as UserAttrs, p as attrs, q as autoRedactPII, s as dbClient, u as httpClient, v as httpServer, w as identify, x as mergeAttrs, y as mergeServiceResource, z as request, B as safeSetAttributes, I as setDevice, J as setError, L as setException, Q as setSession, V as setUser, W as validateAttribute } from './utils-CbUkl8r1.cjs';
|
|
26
26
|
export { ConsumerConfig, ConsumerContext, LagMetricsConfig, MessagingOperation, MessagingSystem, ProducerConfig, ProducerContext, traceConsumer, traceProducer } from './messaging.cjs';
|
|
27
27
|
export { BaggageError, BaggageFieldDefinition, BaggageFieldType, BusinessBaggage, BusinessBaggageValues, SafeBaggageOptions, SafeBaggageSchema, createSafeBaggageSchema } from './business-baggage.cjs';
|
|
28
28
|
export { StepConfig, StepContext, StepStatus, WorkflowConfig, WorkflowContext, WorkflowStatus, getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './workflow.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as AutotelConfig, i as init } from './init-
|
|
1
|
+
export { A as AutotelConfig, i as init } from './init-C_PiC_Su.js';
|
|
2
2
|
import { Span, Context } from '@opentelemetry/api';
|
|
3
3
|
export { Context, ROOT_CONTEXT, Span, SpanContext, SpanKind, Link as SpanLink, SpanStatusCode, TextMapGetter, TextMapSetter, Tracer, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
4
4
|
import { SpanProcessor, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
export { FilteringSpanProcessor, FilteringSpanProcessorOptions, SpanFilterPredicate } from './filtering-span-processor.js';
|
|
6
6
|
export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizerConfig, SpanNameNormalizerFn, SpanNameNormalizerPreset, SpanNameNormalizingProcessor, SpanNameNormalizingProcessorOptions } from './span-name-normalizer.js';
|
|
7
7
|
import { AttributeRedactorConfig, AttributeRedactorPreset } from './attribute-redacting-processor.js';
|
|
8
|
-
export { AttributeRedactingProcessor, AttributeRedactingProcessorOptions, AttributeRedactorFn, REDACTOR_PATTERNS, REDACTOR_PRESETS, ValuePatternConfig, createRedactedSpan } from './attribute-redacting-processor.js';
|
|
8
|
+
export { AttributeRedactingProcessor, AttributeRedactingProcessorOptions, AttributeRedactorFn, REDACTOR_PATTERNS, REDACTOR_PRESETS, ValuePatternConfig, createAttributeRedactor, createRedactedSpan } from './attribute-redacting-processor.js';
|
|
9
9
|
export { InstrumentOptions, SpanOptions, WithBaggageOptions, WithNewContextOptions, ctx, instrument, span, trace, withBaggage, withNewContext, withTracing } from './functional.js';
|
|
10
10
|
import { EventSubscriber, EventAttributes, AutotelEventContext } from './event-subscriber.js';
|
|
11
11
|
export { FunnelStatus, OutcomeStatus } from './event-subscriber.js';
|
|
@@ -14,7 +14,7 @@ import { T as TraceContext, A as AttributeValue } from './trace-context-t5X1AP-e
|
|
|
14
14
|
export { d as defineBaggageSchema } from './trace-context-t5X1AP-e.js';
|
|
15
15
|
export { ParsedError, parseError } from './parse-error.js';
|
|
16
16
|
export { DrainPipelineOptions, PipelineDrainFn, createDrainPipeline } from './drain-pipeline.js';
|
|
17
|
-
export { AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, Sampler, SamplingContext, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch } from './sampling.js';
|
|
17
|
+
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, Sampler, SamplingContext, SamplingPreset, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch, resolveSamplingPreset, samplingPresets } from './sampling.js';
|
|
18
18
|
export { Event, EventsOptions, getEvents, resetEvents } from './event.js';
|
|
19
19
|
export { Metric, MetricsOptions, getMetrics, resetMetrics } from './metric.js';
|
|
20
20
|
export { createCounter, createHistogram, createObservableGauge, createUpDownCounter, getMeter } from './metric-helpers.js';
|
|
@@ -22,7 +22,7 @@ export { TraceContext as OtelTraceContext, createDeterministicTraceId, enrichWit
|
|
|
22
22
|
export { getAutotelTracer, getAutotelTracerProvider, setAutotelTracerProvider } from './tracer-provider.js';
|
|
23
23
|
export { DBConfig, HTTPConfig, LLMConfig, MessagingConfig, traceDB, traceHTTP, traceLLM, traceMessaging } from './semantic-helpers.js';
|
|
24
24
|
export { HTTPAttributes, ServiceAttributes, URLAttributes, httpRequestHeaderAttribute, httpResponseHeaderAttribute } from './semantic-conventions.js';
|
|
25
|
-
export {
|
|
25
|
+
export { a as AttributeGuardrails, A as AttributePolicy, C as ClientAttrs, b as CloudAttrs, c as CodeAttrs, d as ContainerAttrs, D as DBAttrs, e as DeploymentAttrs, f as DeviceAttrs, E as ErrorAttrs, g as ExceptionAttrs, F as FaaSAttrs, h as FeatureFlagAttrs, G as GenAIAttrs, i as GraphQLAttrs, H as HTTPClientAttrs, j as HTTPServerAttrs, K as K8sAttrs, M as MessagingAttrs, N as NetworkAttrs, O as OTelAttrs, P as PeerAttrs, k as ProcessAttrs, R as RPCAttrs, l as ServerAddressAttrs, m as ServiceAttrs, S as SessionAttrs, T as TLSAttrs, n as ThreadAttrs, o as URLAttrs, U as UserAttrs, p as attrs, q as autoRedactPII, s as dbClient, u as httpClient, v as httpServer, w as identify, x as mergeAttrs, y as mergeServiceResource, z as request, B as safeSetAttributes, I as setDevice, J as setError, L as setException, Q as setSession, V as setUser, W as validateAttribute } from './utils-Buel3cj0.js';
|
|
26
26
|
export { ConsumerConfig, ConsumerContext, LagMetricsConfig, MessagingOperation, MessagingSystem, ProducerConfig, ProducerContext, traceConsumer, traceProducer } from './messaging.js';
|
|
27
27
|
export { BaggageError, BaggageFieldDefinition, BaggageFieldType, BusinessBaggage, BusinessBaggageValues, SafeBaggageOptions, SafeBaggageSchema, createSafeBaggageSchema } from './business-baggage.js';
|
|
28
28
|
export { StepConfig, StepContext, StepStatus, WorkflowConfig, WorkflowContext, WorkflowStatus, getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './workflow.js';
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
export { createDrainPipeline } from './chunk-KFOHQK7X.js';
|
|
2
|
-
export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-
|
|
2
|
+
export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-VVYSQXQL.js';
|
|
3
3
|
export { attrs, autoRedactPII, dbClient, httpClient, httpServer, identify, mergeAttrs, mergeServiceResource, request, safeSetAttributes, setDevice, setError, setException, setSession, setUser, validateAttribute } from './chunk-M4US3P4K.js';
|
|
4
4
|
export { httpRequestHeaderAttribute, httpResponseHeaderAttribute } from './chunk-7552UTQW.js';
|
|
5
5
|
export { HTTPAttributes, ServiceAttributes, URLAttributes } from './chunk-4A53YIAX.js';
|
|
6
6
|
export { parseError } from './chunk-J7VGRIAJ.js';
|
|
7
|
-
export { traceConsumer, traceProducer } from './chunk-
|
|
7
|
+
export { traceConsumer, traceProducer } from './chunk-PKXD2RMI.js';
|
|
8
8
|
export { BusinessBaggage, createSafeBaggageSchema } from './chunk-4IFSYQVX.js';
|
|
9
9
|
import { resetMetrics } from './chunk-7SAWIN74.js';
|
|
10
10
|
export { Metric, getMetrics, resetMetrics } from './chunk-7SAWIN74.js';
|
|
11
11
|
import './chunk-5ZN622AO.js';
|
|
12
12
|
export { createCounter, createHistogram, createObservableGauge, createUpDownCounter, getMeter } from './chunk-TQ5UWA7S.js';
|
|
13
|
-
export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-
|
|
14
|
-
import { getEventQueue, resetEventQueue } from './chunk-
|
|
15
|
-
export { ctx, getEventQueue, instrument, span, trace, track, withBaggage, withNewContext, withTracing } from './chunk-
|
|
13
|
+
export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-3ZLYWPMY.js';
|
|
14
|
+
import { getEventQueue, resetEventQueue } from './chunk-JM63D22M.js';
|
|
15
|
+
export { ctx, getEventQueue, instrument, span, trace, track, withBaggage, withNewContext, withTracing } from './chunk-JM63D22M.js';
|
|
16
16
|
import { createTraceContext } from './chunk-SR35DG5A.js';
|
|
17
17
|
export { defineBaggageSchema } from './chunk-SR35DG5A.js';
|
|
18
18
|
export { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from './chunk-B3ZHLLMP.js';
|
|
19
|
-
import { resetEvents } from './chunk-
|
|
20
|
-
export { Event, getEvents, resetEvents } from './chunk-
|
|
19
|
+
import { resetEvents } from './chunk-IFKDBL65.js';
|
|
20
|
+
export { Event, getEvents, resetEvents } from './chunk-IFKDBL65.js';
|
|
21
21
|
import './chunk-LITNXTTT.js';
|
|
22
22
|
import './chunk-BZHG5IZ4.js';
|
|
23
23
|
export { getOperationContext, runInOperationContext } from './chunk-WD4RP6IV.js';
|
|
24
24
|
export { CORRELATION_ID_BAGGAGE_KEY, generateCorrelationId, getCorrelationId, getOrCreateCorrelationId, runWithCorrelationId, setCorrelationId, setCorrelationIdInBaggage } from './chunk-USSL3D6L.js';
|
|
25
|
-
import { getLogger, getSdk } from './chunk-
|
|
26
|
-
export { BaggageSpanProcessor, createStringRedactor, init } from './chunk-
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
25
|
+
import { getLogger, getSdk } from './chunk-MNBAXRVG.js';
|
|
26
|
+
export { BaggageSpanProcessor, createStringRedactor, init } from './chunk-MNBAXRVG.js';
|
|
27
|
+
import './chunk-RUD7KS4R.js';
|
|
28
|
+
import './chunk-XDKK53OL.js';
|
|
29
29
|
export { FilteringSpanProcessor } from './chunk-WGWSHJ2N.js';
|
|
30
30
|
export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizingProcessor } from './chunk-GYR5K654.js';
|
|
31
|
-
export { AttributeRedactingProcessor, REDACTOR_PATTERNS, REDACTOR_PRESETS, createRedactedSpan } from './chunk-SNINLBEE.js';
|
|
31
|
+
export { AttributeRedactingProcessor, REDACTOR_PATTERNS, REDACTOR_PRESETS, createAttributeRedactor, createRedactedSpan } from './chunk-SNINLBEE.js';
|
|
32
32
|
import './chunk-6UQRVUN3.js';
|
|
33
33
|
export { formatDuration } from './chunk-3QXBFGKP.js';
|
|
34
34
|
import './chunk-33WTKH7X.js';
|
|
35
|
-
export { AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch } from './chunk-
|
|
35
|
+
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch, resolveSamplingPreset, samplingPresets } from './chunk-VYA6QDNA.js';
|
|
36
36
|
import './chunk-B33XPEKY.js';
|
|
37
37
|
import './chunk-J5QENANM.js';
|
|
38
38
|
export { getAutotelTracer, getAutotelTracerProvider, setAutotelTracerProvider } from './chunk-HA2WBOGQ.js';
|
|
@@ -2,7 +2,7 @@ import * as _opentelemetry_sdk_trace_base from '@opentelemetry/sdk-trace-base';
|
|
|
2
2
|
import { SpanProcessor, SpanExporter } from '@opentelemetry/sdk-trace-base';
|
|
3
3
|
import { NodeSDKConfiguration, NodeSDK } from '@opentelemetry/sdk-node';
|
|
4
4
|
import { Resource } from '@opentelemetry/resources';
|
|
5
|
-
import { Sampler } from './sampling.cjs';
|
|
5
|
+
import { Sampler, SamplingPreset } from './sampling.cjs';
|
|
6
6
|
import { EventSubscriber } from './event-subscriber.cjs';
|
|
7
7
|
import { Logger } from './logger.cjs';
|
|
8
8
|
import { Attributes } from '@opentelemetry/api';
|
|
@@ -502,8 +502,15 @@ interface AutotelConfig {
|
|
|
502
502
|
* ```
|
|
503
503
|
*/
|
|
504
504
|
logs?: boolean | 'auto';
|
|
505
|
-
/** Sampling strategy
|
|
505
|
+
/** Sampling strategy - takes precedence over `sampling` preset */
|
|
506
506
|
sampler?: Sampler;
|
|
507
|
+
/**
|
|
508
|
+
* Sampling preset shorthand — resolves to a pre-configured sampler.
|
|
509
|
+
* If both `sampler` and `sampling` are provided, `sampler` takes precedence.
|
|
510
|
+
*
|
|
511
|
+
* @default 'production'
|
|
512
|
+
*/
|
|
513
|
+
sampling?: SamplingPreset;
|
|
507
514
|
/** Service version (default: auto-detect from package.json or '1.0.0') */
|
|
508
515
|
version?: string;
|
|
509
516
|
/** Environment (default: process.env.NODE_ENV || 'development') */
|
|
@@ -2,7 +2,7 @@ import * as _opentelemetry_sdk_trace_base from '@opentelemetry/sdk-trace-base';
|
|
|
2
2
|
import { SpanProcessor, SpanExporter } from '@opentelemetry/sdk-trace-base';
|
|
3
3
|
import { NodeSDKConfiguration, NodeSDK } from '@opentelemetry/sdk-node';
|
|
4
4
|
import { Resource } from '@opentelemetry/resources';
|
|
5
|
-
import { Sampler } from './sampling.js';
|
|
5
|
+
import { Sampler, SamplingPreset } from './sampling.js';
|
|
6
6
|
import { EventSubscriber } from './event-subscriber.js';
|
|
7
7
|
import { Logger } from './logger.js';
|
|
8
8
|
import { Attributes } from '@opentelemetry/api';
|
|
@@ -502,8 +502,15 @@ interface AutotelConfig {
|
|
|
502
502
|
* ```
|
|
503
503
|
*/
|
|
504
504
|
logs?: boolean | 'auto';
|
|
505
|
-
/** Sampling strategy
|
|
505
|
+
/** Sampling strategy - takes precedence over `sampling` preset */
|
|
506
506
|
sampler?: Sampler;
|
|
507
|
+
/**
|
|
508
|
+
* Sampling preset shorthand — resolves to a pre-configured sampler.
|
|
509
|
+
* If both `sampler` and `sampling` are provided, `sampler` takes precedence.
|
|
510
|
+
*
|
|
511
|
+
* @default 'production'
|
|
512
|
+
*/
|
|
513
|
+
sampling?: SamplingPreset;
|
|
507
514
|
/** Service version (default: auto-detect from package.json or '1.0.0') */
|
|
508
515
|
version?: string;
|
|
509
516
|
/** Environment (default: process.env.NODE_ENV || 'development') */
|