autotel 3.4.0 → 3.4.1
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/dist/auto.cjs +5 -5
- package/dist/auto.js +3 -3
- package/dist/chunk-23BO5PKU.cjs +39 -0
- package/dist/chunk-23BO5PKU.cjs.map +1 -0
- package/dist/{chunk-TEXCI2S6.js → chunk-63ABFG2Q.js} +4 -4
- package/dist/{chunk-TEXCI2S6.js.map → chunk-63ABFG2Q.js.map} +1 -1
- package/dist/{chunk-HLZ7H3VZ.js → chunk-AEVI4EYC.js} +3 -3
- package/dist/{chunk-HLZ7H3VZ.js.map → chunk-AEVI4EYC.js.map} +1 -1
- package/dist/{chunk-PWOECUNT.cjs → chunk-BCD3ANVQ.cjs} +17 -17
- package/dist/{chunk-PWOECUNT.cjs.map → chunk-BCD3ANVQ.cjs.map} +1 -1
- package/dist/{chunk-6WWXA6IK.cjs → chunk-BCXQOCZX.cjs} +5 -5
- package/dist/{chunk-6WWXA6IK.cjs.map → chunk-BCXQOCZX.cjs.map} +1 -1
- package/dist/chunk-DUCUF6VK.js +35 -0
- package/dist/chunk-DUCUF6VK.js.map +1 -0
- package/dist/{chunk-NMEYVL4L.js → chunk-DXFLHZH2.js} +3 -3
- package/dist/{chunk-NMEYVL4L.js.map → chunk-DXFLHZH2.js.map} +1 -1
- package/dist/{chunk-643PQG3Y.js → chunk-FSV7ANUE.js} +3 -3
- package/dist/{chunk-643PQG3Y.js.map → chunk-FSV7ANUE.js.map} +1 -1
- package/dist/{chunk-2GIBANLB.cjs → chunk-JTJV2S4R.cjs} +4 -4
- package/dist/{chunk-2GIBANLB.cjs.map → chunk-JTJV2S4R.cjs.map} +1 -1
- package/dist/{chunk-DMSD5AF3.js → chunk-LTI7LSBY.js} +3 -3
- package/dist/{chunk-DMSD5AF3.js.map → chunk-LTI7LSBY.js.map} +1 -1
- package/dist/{chunk-AIX6BVNN.js → chunk-MEY6VAC3.js} +5 -5
- package/dist/{chunk-AIX6BVNN.js.map → chunk-MEY6VAC3.js.map} +1 -1
- package/dist/{chunk-BGO7TZID.cjs → chunk-MG6AZNVT.cjs} +7 -7
- package/dist/{chunk-BGO7TZID.cjs.map → chunk-MG6AZNVT.cjs.map} +1 -1
- package/dist/{chunk-LCXOOJIP.js → chunk-MHCCHVMJ.js} +3 -3
- package/dist/{chunk-LCXOOJIP.js.map → chunk-MHCCHVMJ.js.map} +1 -1
- package/dist/{chunk-Z3VD3UQZ.cjs → chunk-N2YZ4INO.cjs} +11 -11
- package/dist/{chunk-Z3VD3UQZ.cjs.map → chunk-N2YZ4INO.cjs.map} +1 -1
- package/dist/{chunk-JAX4LFGG.cjs → chunk-Q73BZ3JR.cjs} +13 -13
- package/dist/{chunk-JAX4LFGG.cjs.map → chunk-Q73BZ3JR.cjs.map} +1 -1
- package/dist/{chunk-B4CGFDZQ.js → chunk-T3VKOAUG.js} +4 -4
- package/dist/{chunk-B4CGFDZQ.js.map → chunk-T3VKOAUG.js.map} +1 -1
- package/dist/{chunk-LKASEUWE.js → chunk-U4IPC2D3.js} +4 -4
- package/dist/{chunk-LKASEUWE.js.map → chunk-U4IPC2D3.js.map} +1 -1
- package/dist/{chunk-FEEVB2GV.cjs → chunk-UBN2TONI.cjs} +4 -4
- package/dist/{chunk-FEEVB2GV.cjs.map → chunk-UBN2TONI.cjs.map} +1 -1
- package/dist/{chunk-RYVFCHSO.cjs → chunk-UTGGVEA5.cjs} +16 -16
- package/dist/{chunk-RYVFCHSO.cjs.map → chunk-UTGGVEA5.cjs.map} +1 -1
- package/dist/{chunk-FOFBFQES.cjs → chunk-WTLNZPM2.cjs} +36 -36
- package/dist/{chunk-FOFBFQES.cjs.map → chunk-WTLNZPM2.cjs.map} +1 -1
- package/dist/correlation-id.cjs +12 -12
- package/dist/correlation-id.js +4 -4
- package/dist/decorators.cjs +7 -7
- package/dist/decorators.js +6 -6
- package/dist/event.cjs +8 -8
- package/dist/event.js +5 -5
- package/dist/functional.cjs +14 -14
- package/dist/functional.js +6 -6
- package/dist/http.cjs +5 -5
- package/dist/http.js +4 -4
- package/dist/index.cjs +85 -85
- package/dist/index.js +14 -14
- package/dist/instrumentation.cjs +11 -11
- package/dist/instrumentation.js +3 -3
- package/dist/messaging.cjs +10 -10
- package/dist/messaging.js +7 -7
- package/dist/semantic-helpers.cjs +11 -11
- package/dist/semantic-helpers.js +7 -7
- package/dist/trace-helpers.cjs +14 -14
- package/dist/trace-helpers.js +2 -2
- package/dist/webhook.cjs +8 -8
- package/dist/webhook.js +6 -6
- package/dist/workflow-distributed.cjs +8 -8
- package/dist/workflow-distributed.js +6 -6
- package/dist/workflow.cjs +11 -11
- package/dist/workflow.js +7 -7
- package/dist/yaml-config.cjs +5 -5
- package/dist/yaml-config.js +2 -2
- package/package.json +1 -1
- package/src/node-require.ts +44 -6
- package/dist/chunk-HR5YFXZW.cjs +0 -27
- package/dist/chunk-HR5YFXZW.cjs.map +0 -1
- package/dist/chunk-KVDA4HX2.js +0 -23
- package/dist/chunk-KVDA4HX2.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk7EQ4G4SI_cjs = require('./chunk-7EQ4G4SI.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkN2YZ4INO_cjs = require('./chunk-N2YZ4INO.cjs');
|
|
5
5
|
var chunkM3LFHHTN_cjs = require('./chunk-M3LFHHTN.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 chunkBCXQOCZX_cjs = require('./chunk-BCXQOCZX.cjs');
|
|
10
10
|
var chunk4P6ZOARG_cjs = require('./chunk-4P6ZOARG.cjs');
|
|
11
11
|
var chunkINJD3G4K_cjs = require('./chunk-INJD3G4K.cjs');
|
|
12
12
|
var chunkTC5ZPWM4_cjs = require('./chunk-TC5ZPWM4.cjs');
|
|
13
13
|
require('./chunk-YTXEZ4SD.cjs');
|
|
14
14
|
var chunkWJH6IYU2_cjs = require('./chunk-WJH6IYU2.cjs');
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
15
|
+
var chunkMG6AZNVT_cjs = require('./chunk-MG6AZNVT.cjs');
|
|
16
|
+
var chunkWTLNZPM2_cjs = require('./chunk-WTLNZPM2.cjs');
|
|
17
|
+
var chunkJTJV2S4R_cjs = require('./chunk-JTJV2S4R.cjs');
|
|
18
|
+
var chunkBCD3ANVQ_cjs = require('./chunk-BCD3ANVQ.cjs');
|
|
19
19
|
require('./chunk-NZ72VDNY.cjs');
|
|
20
20
|
require('./chunk-UY3UYPBZ.cjs');
|
|
21
21
|
var chunkVQTCQKHQ_cjs = require('./chunk-VQTCQKHQ.cjs');
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
22
|
+
var chunkQ73BZ3JR_cjs = require('./chunk-Q73BZ3JR.cjs');
|
|
23
|
+
var chunkUTGGVEA5_cjs = require('./chunk-UTGGVEA5.cjs');
|
|
24
|
+
require('./chunk-UBN2TONI.cjs');
|
|
25
25
|
require('./chunk-CEAQK2QY.cjs');
|
|
26
26
|
var chunkZNMBW67B_cjs = require('./chunk-ZNMBW67B.cjs');
|
|
27
27
|
var chunkIOYFAFHJ_cjs = require('./chunk-IOYFAFHJ.cjs');
|
|
28
28
|
var chunkNEIB3TLD_cjs = require('./chunk-NEIB3TLD.cjs');
|
|
29
29
|
require('./chunk-CU6IDACR.cjs');
|
|
30
30
|
var chunk6S5RUKU3_cjs = require('./chunk-6S5RUKU3.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-23BO5PKU.cjs');
|
|
32
32
|
var chunkVH77IPJN_cjs = require('./chunk-VH77IPJN.cjs');
|
|
33
33
|
require('./chunk-FU6R566Y.cjs');
|
|
34
34
|
require('./chunk-ESLWRGAG.cjs');
|
|
@@ -55,7 +55,7 @@ var otelMethods = {
|
|
|
55
55
|
setSpanContext: api.trace.setSpanContext
|
|
56
56
|
};
|
|
57
57
|
var trace2 = Object.assign(
|
|
58
|
-
|
|
58
|
+
chunkWTLNZPM2_cjs.trace,
|
|
59
59
|
otelMethods
|
|
60
60
|
);
|
|
61
61
|
function defineEvent(name, schema, options = {}) {
|
|
@@ -75,7 +75,7 @@ function defineEvent(name, schema, options = {}) {
|
|
|
75
75
|
`Invalid payload for event "${name}". Schema validation failed.`
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
chunkQ73BZ3JR_cjs.track(
|
|
79
79
|
name,
|
|
80
80
|
parsed.data,
|
|
81
81
|
schemaMetadata ? { schema: schemaMetadata } : void 0
|
|
@@ -103,7 +103,7 @@ async function flush(options) {
|
|
|
103
103
|
const timeout = options?.timeout ?? 2e3;
|
|
104
104
|
const forShutdown = options?.forShutdown ?? false;
|
|
105
105
|
const doFlush = async () => {
|
|
106
|
-
const eventsQueue =
|
|
106
|
+
const eventsQueue = chunkQ73BZ3JR_cjs.getEventQueue();
|
|
107
107
|
if (eventsQueue) {
|
|
108
108
|
if (forShutdown) {
|
|
109
109
|
await eventsQueue.shutdown();
|
|
@@ -111,7 +111,7 @@ async function flush(options) {
|
|
|
111
111
|
await eventsQueue.flush();
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
const sdk =
|
|
114
|
+
const sdk = chunkUTGGVEA5_cjs.getSdk();
|
|
115
115
|
if (sdk) {
|
|
116
116
|
try {
|
|
117
117
|
const sdkAny = sdk;
|
|
@@ -145,7 +145,7 @@ async function flush(options) {
|
|
|
145
145
|
if (timeoutHandle) {
|
|
146
146
|
clearTimeout(timeoutHandle);
|
|
147
147
|
}
|
|
148
|
-
const logger =
|
|
148
|
+
const logger = chunkUTGGVEA5_cjs.getLogger();
|
|
149
149
|
logger.error(
|
|
150
150
|
{
|
|
151
151
|
err: error instanceof Error ? error : new Error(String(error))
|
|
@@ -156,7 +156,7 @@ async function flush(options) {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
async function shutdown() {
|
|
159
|
-
const logger =
|
|
159
|
+
const logger = chunkUTGGVEA5_cjs.getLogger();
|
|
160
160
|
let shutdownError = null;
|
|
161
161
|
try {
|
|
162
162
|
await flush({ forShutdown: true });
|
|
@@ -171,7 +171,7 @@ async function shutdown() {
|
|
|
171
171
|
);
|
|
172
172
|
}
|
|
173
173
|
try {
|
|
174
|
-
const sdk =
|
|
174
|
+
const sdk = chunkUTGGVEA5_cjs.getSdk();
|
|
175
175
|
if (sdk) {
|
|
176
176
|
await sdk.shutdown();
|
|
177
177
|
}
|
|
@@ -185,14 +185,14 @@ async function shutdown() {
|
|
|
185
185
|
logger.error({ err }, "[autotel] SDK shutdown failed");
|
|
186
186
|
}
|
|
187
187
|
} finally {
|
|
188
|
-
await
|
|
189
|
-
const eventsQueue =
|
|
188
|
+
await chunkUTGGVEA5_cjs._closeEmbeddedDevtools();
|
|
189
|
+
const eventsQueue = chunkQ73BZ3JR_cjs.getEventQueue();
|
|
190
190
|
if (eventsQueue && typeof eventsQueue.cleanup === "function") {
|
|
191
191
|
eventsQueue.cleanup();
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
chunkBCD3ANVQ_cjs.resetEvents();
|
|
194
194
|
chunkTC5ZPWM4_cjs.resetMetrics();
|
|
195
|
-
|
|
195
|
+
chunkQ73BZ3JR_cjs.resetEventQueue();
|
|
196
196
|
}
|
|
197
197
|
if (shutdownError) {
|
|
198
198
|
throw shutdownError;
|
|
@@ -207,7 +207,7 @@ function registerShutdownHooks() {
|
|
|
207
207
|
if (shuttingDown) return;
|
|
208
208
|
shuttingDown = true;
|
|
209
209
|
if (process.env.NODE_ENV !== "test") {
|
|
210
|
-
|
|
210
|
+
chunkUTGGVEA5_cjs.getLogger().info(
|
|
211
211
|
{},
|
|
212
212
|
`[autotel] Received ${signal}, flushing telemetry...`
|
|
213
213
|
);
|
|
@@ -215,7 +215,7 @@ function registerShutdownHooks() {
|
|
|
215
215
|
try {
|
|
216
216
|
await shutdown();
|
|
217
217
|
} catch (error) {
|
|
218
|
-
|
|
218
|
+
chunkUTGGVEA5_cjs.getLogger().error(
|
|
219
219
|
{
|
|
220
220
|
err: error instanceof Error ? error : void 0
|
|
221
221
|
},
|
|
@@ -265,7 +265,7 @@ function resolveContext(ctx2) {
|
|
|
265
265
|
"[autotel] getRequestLogger() requires an active span or runWithRequestContext(). Wrap your handler with trace() or use runWithRequestContext()."
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
|
-
return
|
|
268
|
+
return chunkQ73BZ3JR_cjs.createTraceContext(span2);
|
|
269
269
|
}
|
|
270
270
|
function getRequestLogger(ctx2, options) {
|
|
271
271
|
const activeContext = resolveContext(ctx2);
|
|
@@ -273,7 +273,7 @@ function getRequestLogger(ctx2, options) {
|
|
|
273
273
|
let emitted = false;
|
|
274
274
|
let lastSnapshot = null;
|
|
275
275
|
const addLogEvent = (level, message, fields) => {
|
|
276
|
-
const attrs2 = fields ?
|
|
276
|
+
const attrs2 = fields ? chunkQ73BZ3JR_cjs.flattenToAttributes(fields) : void 0;
|
|
277
277
|
chunk4P6ZOARG_cjs.emitCorrelatedEvent(activeContext, `log.${level}`, {
|
|
278
278
|
message,
|
|
279
279
|
...attrs2 ?? {}
|
|
@@ -292,7 +292,7 @@ function getRequestLogger(ctx2, options) {
|
|
|
292
292
|
sealCheck("log.set()", Object.keys(fields));
|
|
293
293
|
if (emitted) return;
|
|
294
294
|
mergeInto(contextState, fields);
|
|
295
|
-
activeContext.setAttributes(
|
|
295
|
+
activeContext.setAttributes(chunkQ73BZ3JR_cjs.flattenToAttributes(fields));
|
|
296
296
|
},
|
|
297
297
|
info(message, fields) {
|
|
298
298
|
const keys = fields ? ["message", ...Object.keys(fields).filter((k) => k !== "requestLogs")] : ["message"];
|
|
@@ -301,7 +301,7 @@ function getRequestLogger(ctx2, options) {
|
|
|
301
301
|
addLogEvent("info", message, fields);
|
|
302
302
|
if (fields) {
|
|
303
303
|
mergeInto(contextState, fields);
|
|
304
|
-
activeContext.setAttributes(
|
|
304
|
+
activeContext.setAttributes(chunkQ73BZ3JR_cjs.flattenToAttributes(fields));
|
|
305
305
|
}
|
|
306
306
|
},
|
|
307
307
|
warn(message, fields) {
|
|
@@ -312,7 +312,7 @@ function getRequestLogger(ctx2, options) {
|
|
|
312
312
|
activeContext.setAttribute("autotel.log.level", "warn");
|
|
313
313
|
if (fields) {
|
|
314
314
|
mergeInto(contextState, fields);
|
|
315
|
-
activeContext.setAttributes(
|
|
315
|
+
activeContext.setAttributes(chunkQ73BZ3JR_cjs.flattenToAttributes(fields));
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
error(error, fields) {
|
|
@@ -320,11 +320,11 @@ function getRequestLogger(ctx2, options) {
|
|
|
320
320
|
sealCheck("log.error()", keys);
|
|
321
321
|
if (emitted) return;
|
|
322
322
|
const err = typeof error === "string" ? new Error(error) : error;
|
|
323
|
-
|
|
323
|
+
chunkQ73BZ3JR_cjs.recordStructuredError(activeContext, err);
|
|
324
324
|
addLogEvent("error", err.message, fields);
|
|
325
325
|
if (fields) {
|
|
326
326
|
mergeInto(contextState, fields);
|
|
327
|
-
activeContext.setAttributes(
|
|
327
|
+
activeContext.setAttributes(chunkQ73BZ3JR_cjs.flattenToAttributes(fields));
|
|
328
328
|
}
|
|
329
329
|
activeContext.setAttribute("autotel.log.level", "error");
|
|
330
330
|
},
|
|
@@ -340,7 +340,7 @@ function getRequestLogger(ctx2, options) {
|
|
|
340
340
|
...contextState,
|
|
341
341
|
...overrides ?? {}
|
|
342
342
|
};
|
|
343
|
-
const flattened =
|
|
343
|
+
const flattened = chunkQ73BZ3JR_cjs.flattenToAttributes(mergedContext);
|
|
344
344
|
activeContext.setAttributes(flattened);
|
|
345
345
|
const snapshot = {
|
|
346
346
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -372,7 +372,7 @@ function getRequestLogger(ctx2, options) {
|
|
|
372
372
|
const lifecycle = forkOptions?.lifecycle;
|
|
373
373
|
void tracer.startActiveSpan(`request.fork:${label}`, (childSpan) => {
|
|
374
374
|
const childContext = {
|
|
375
|
-
...
|
|
375
|
+
...chunkQ73BZ3JR_cjs.createTraceContext(childSpan),
|
|
376
376
|
correlationId: crypto.randomUUID()
|
|
377
377
|
};
|
|
378
378
|
requestContextStore.run(childContext, () => {
|
|
@@ -427,7 +427,7 @@ function defineErrorCatalog(namespace, entries) {
|
|
|
427
427
|
const options = usesParams ? maybeOptions : paramsOrOptions;
|
|
428
428
|
const message = typeof entry.message === "function" ? entry.message(params) : entry.message;
|
|
429
429
|
const why = typeof entry.why === "function" ? entry.why(params) : entry.why;
|
|
430
|
-
const error =
|
|
430
|
+
const error = chunkQ73BZ3JR_cjs.createStructuredError({
|
|
431
431
|
message,
|
|
432
432
|
name: entry.name ?? key,
|
|
433
433
|
code,
|
|
@@ -784,19 +784,19 @@ Object.defineProperty(exports, "createDrainPipeline", {
|
|
|
784
784
|
});
|
|
785
785
|
Object.defineProperty(exports, "getCurrentWorkflowContext", {
|
|
786
786
|
enumerable: true,
|
|
787
|
-
get: function () { return
|
|
787
|
+
get: function () { return chunkN2YZ4INO_cjs.getCurrentWorkflowContext; }
|
|
788
788
|
});
|
|
789
789
|
Object.defineProperty(exports, "isInWorkflow", {
|
|
790
790
|
enumerable: true,
|
|
791
|
-
get: function () { return
|
|
791
|
+
get: function () { return chunkN2YZ4INO_cjs.isInWorkflow; }
|
|
792
792
|
});
|
|
793
793
|
Object.defineProperty(exports, "traceStep", {
|
|
794
794
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
795
|
+
get: function () { return chunkN2YZ4INO_cjs.traceStep; }
|
|
796
796
|
});
|
|
797
797
|
Object.defineProperty(exports, "traceWorkflow", {
|
|
798
798
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
799
|
+
get: function () { return chunkN2YZ4INO_cjs.traceWorkflow; }
|
|
800
800
|
});
|
|
801
801
|
Object.defineProperty(exports, "attrs", {
|
|
802
802
|
enumerable: true,
|
|
@@ -888,11 +888,11 @@ Object.defineProperty(exports, "parseError", {
|
|
|
888
888
|
});
|
|
889
889
|
Object.defineProperty(exports, "traceConsumer", {
|
|
890
890
|
enumerable: true,
|
|
891
|
-
get: function () { return
|
|
891
|
+
get: function () { return chunkBCXQOCZX_cjs.traceConsumer; }
|
|
892
892
|
});
|
|
893
893
|
Object.defineProperty(exports, "traceProducer", {
|
|
894
894
|
enumerable: true,
|
|
895
|
-
get: function () { return
|
|
895
|
+
get: function () { return chunkBCXQOCZX_cjs.traceProducer; }
|
|
896
896
|
});
|
|
897
897
|
Object.defineProperty(exports, "BusinessBaggage", {
|
|
898
898
|
enumerable: true,
|
|
@@ -936,103 +936,103 @@ Object.defineProperty(exports, "getMeter", {
|
|
|
936
936
|
});
|
|
937
937
|
Object.defineProperty(exports, "traceDB", {
|
|
938
938
|
enumerable: true,
|
|
939
|
-
get: function () { return
|
|
939
|
+
get: function () { return chunkMG6AZNVT_cjs.traceDB; }
|
|
940
940
|
});
|
|
941
941
|
Object.defineProperty(exports, "traceHTTP", {
|
|
942
942
|
enumerable: true,
|
|
943
|
-
get: function () { return
|
|
943
|
+
get: function () { return chunkMG6AZNVT_cjs.traceHTTP; }
|
|
944
944
|
});
|
|
945
945
|
Object.defineProperty(exports, "traceLLM", {
|
|
946
946
|
enumerable: true,
|
|
947
|
-
get: function () { return
|
|
947
|
+
get: function () { return chunkMG6AZNVT_cjs.traceLLM; }
|
|
948
948
|
});
|
|
949
949
|
Object.defineProperty(exports, "traceMessaging", {
|
|
950
950
|
enumerable: true,
|
|
951
|
-
get: function () { return
|
|
951
|
+
get: function () { return chunkMG6AZNVT_cjs.traceMessaging; }
|
|
952
952
|
});
|
|
953
953
|
Object.defineProperty(exports, "ctx", {
|
|
954
954
|
enumerable: true,
|
|
955
|
-
get: function () { return
|
|
955
|
+
get: function () { return chunkWTLNZPM2_cjs.ctx; }
|
|
956
956
|
});
|
|
957
957
|
Object.defineProperty(exports, "instrument", {
|
|
958
958
|
enumerable: true,
|
|
959
|
-
get: function () { return
|
|
959
|
+
get: function () { return chunkWTLNZPM2_cjs.instrument; }
|
|
960
960
|
});
|
|
961
961
|
Object.defineProperty(exports, "markAsImmediate", {
|
|
962
962
|
enumerable: true,
|
|
963
|
-
get: function () { return
|
|
963
|
+
get: function () { return chunkWTLNZPM2_cjs.markAsImmediate; }
|
|
964
964
|
});
|
|
965
965
|
Object.defineProperty(exports, "span", {
|
|
966
966
|
enumerable: true,
|
|
967
|
-
get: function () { return
|
|
967
|
+
get: function () { return chunkWTLNZPM2_cjs.span; }
|
|
968
968
|
});
|
|
969
969
|
Object.defineProperty(exports, "withBaggage", {
|
|
970
970
|
enumerable: true,
|
|
971
|
-
get: function () { return
|
|
971
|
+
get: function () { return chunkWTLNZPM2_cjs.withBaggage; }
|
|
972
972
|
});
|
|
973
973
|
Object.defineProperty(exports, "withNewContext", {
|
|
974
974
|
enumerable: true,
|
|
975
|
-
get: function () { return
|
|
975
|
+
get: function () { return chunkWTLNZPM2_cjs.withNewContext; }
|
|
976
976
|
});
|
|
977
977
|
Object.defineProperty(exports, "withTracing", {
|
|
978
978
|
enumerable: true,
|
|
979
|
-
get: function () { return
|
|
979
|
+
get: function () { return chunkWTLNZPM2_cjs.withTracing; }
|
|
980
980
|
});
|
|
981
981
|
Object.defineProperty(exports, "createDeterministicTraceId", {
|
|
982
982
|
enumerable: true,
|
|
983
|
-
get: function () { return
|
|
983
|
+
get: function () { return chunkJTJV2S4R_cjs.createDeterministicTraceId; }
|
|
984
984
|
});
|
|
985
985
|
Object.defineProperty(exports, "enrichWithTraceContext", {
|
|
986
986
|
enumerable: true,
|
|
987
|
-
get: function () { return
|
|
987
|
+
get: function () { return chunkJTJV2S4R_cjs.enrichWithTraceContext; }
|
|
988
988
|
});
|
|
989
989
|
Object.defineProperty(exports, "finalizeSpan", {
|
|
990
990
|
enumerable: true,
|
|
991
|
-
get: function () { return
|
|
991
|
+
get: function () { return chunkJTJV2S4R_cjs.finalizeSpan; }
|
|
992
992
|
});
|
|
993
993
|
Object.defineProperty(exports, "flattenMetadata", {
|
|
994
994
|
enumerable: true,
|
|
995
|
-
get: function () { return
|
|
995
|
+
get: function () { return chunkJTJV2S4R_cjs.flattenMetadata; }
|
|
996
996
|
});
|
|
997
997
|
Object.defineProperty(exports, "getActiveContext", {
|
|
998
998
|
enumerable: true,
|
|
999
|
-
get: function () { return
|
|
999
|
+
get: function () { return chunkJTJV2S4R_cjs.getActiveContext; }
|
|
1000
1000
|
});
|
|
1001
1001
|
Object.defineProperty(exports, "getActiveSpan", {
|
|
1002
1002
|
enumerable: true,
|
|
1003
|
-
get: function () { return
|
|
1003
|
+
get: function () { return chunkJTJV2S4R_cjs.getActiveSpan; }
|
|
1004
1004
|
});
|
|
1005
1005
|
Object.defineProperty(exports, "getTraceContext", {
|
|
1006
1006
|
enumerable: true,
|
|
1007
|
-
get: function () { return
|
|
1007
|
+
get: function () { return chunkJTJV2S4R_cjs.getTraceContext; }
|
|
1008
1008
|
});
|
|
1009
1009
|
Object.defineProperty(exports, "getTracer", {
|
|
1010
1010
|
enumerable: true,
|
|
1011
|
-
get: function () { return
|
|
1011
|
+
get: function () { return chunkJTJV2S4R_cjs.getTracer; }
|
|
1012
1012
|
});
|
|
1013
1013
|
Object.defineProperty(exports, "isTracing", {
|
|
1014
1014
|
enumerable: true,
|
|
1015
|
-
get: function () { return
|
|
1015
|
+
get: function () { return chunkJTJV2S4R_cjs.isTracing; }
|
|
1016
1016
|
});
|
|
1017
1017
|
Object.defineProperty(exports, "resolveTraceUrl", {
|
|
1018
1018
|
enumerable: true,
|
|
1019
|
-
get: function () { return
|
|
1019
|
+
get: function () { return chunkJTJV2S4R_cjs.resolveTraceUrl; }
|
|
1020
1020
|
});
|
|
1021
1021
|
Object.defineProperty(exports, "runWithSpan", {
|
|
1022
1022
|
enumerable: true,
|
|
1023
|
-
get: function () { return
|
|
1023
|
+
get: function () { return chunkJTJV2S4R_cjs.runWithSpan; }
|
|
1024
1024
|
});
|
|
1025
1025
|
Object.defineProperty(exports, "Event", {
|
|
1026
1026
|
enumerable: true,
|
|
1027
|
-
get: function () { return
|
|
1027
|
+
get: function () { return chunkBCD3ANVQ_cjs.Event; }
|
|
1028
1028
|
});
|
|
1029
1029
|
Object.defineProperty(exports, "getEvents", {
|
|
1030
1030
|
enumerable: true,
|
|
1031
|
-
get: function () { return
|
|
1031
|
+
get: function () { return chunkBCD3ANVQ_cjs.getEvents; }
|
|
1032
1032
|
});
|
|
1033
1033
|
Object.defineProperty(exports, "resetEvents", {
|
|
1034
1034
|
enumerable: true,
|
|
1035
|
-
get: function () { return
|
|
1035
|
+
get: function () { return chunkBCD3ANVQ_cjs.resetEvents; }
|
|
1036
1036
|
});
|
|
1037
1037
|
Object.defineProperty(exports, "getOperationContext", {
|
|
1038
1038
|
enumerable: true,
|
|
@@ -1044,87 +1044,87 @@ Object.defineProperty(exports, "runInOperationContext", {
|
|
|
1044
1044
|
});
|
|
1045
1045
|
Object.defineProperty(exports, "CORRELATION_ID_BAGGAGE_KEY", {
|
|
1046
1046
|
enumerable: true,
|
|
1047
|
-
get: function () { return
|
|
1047
|
+
get: function () { return chunkQ73BZ3JR_cjs.CORRELATION_ID_BAGGAGE_KEY; }
|
|
1048
1048
|
});
|
|
1049
1049
|
Object.defineProperty(exports, "createStructuredError", {
|
|
1050
1050
|
enumerable: true,
|
|
1051
|
-
get: function () { return
|
|
1051
|
+
get: function () { return chunkQ73BZ3JR_cjs.createStructuredError; }
|
|
1052
1052
|
});
|
|
1053
1053
|
Object.defineProperty(exports, "defineBaggageSchema", {
|
|
1054
1054
|
enumerable: true,
|
|
1055
|
-
get: function () { return
|
|
1055
|
+
get: function () { return chunkQ73BZ3JR_cjs.defineBaggageSchema; }
|
|
1056
1056
|
});
|
|
1057
1057
|
Object.defineProperty(exports, "flattenToAttributes", {
|
|
1058
1058
|
enumerable: true,
|
|
1059
|
-
get: function () { return
|
|
1059
|
+
get: function () { return chunkQ73BZ3JR_cjs.flattenToAttributes; }
|
|
1060
1060
|
});
|
|
1061
1061
|
Object.defineProperty(exports, "generateCorrelationId", {
|
|
1062
1062
|
enumerable: true,
|
|
1063
|
-
get: function () { return
|
|
1063
|
+
get: function () { return chunkQ73BZ3JR_cjs.generateCorrelationId; }
|
|
1064
1064
|
});
|
|
1065
1065
|
Object.defineProperty(exports, "getCorrelationId", {
|
|
1066
1066
|
enumerable: true,
|
|
1067
|
-
get: function () { return
|
|
1067
|
+
get: function () { return chunkQ73BZ3JR_cjs.getCorrelationId; }
|
|
1068
1068
|
});
|
|
1069
1069
|
Object.defineProperty(exports, "getEventQueue", {
|
|
1070
1070
|
enumerable: true,
|
|
1071
|
-
get: function () { return
|
|
1071
|
+
get: function () { return chunkQ73BZ3JR_cjs.getEventQueue; }
|
|
1072
1072
|
});
|
|
1073
1073
|
Object.defineProperty(exports, "getOrCreateCorrelationId", {
|
|
1074
1074
|
enumerable: true,
|
|
1075
|
-
get: function () { return
|
|
1075
|
+
get: function () { return chunkQ73BZ3JR_cjs.getOrCreateCorrelationId; }
|
|
1076
1076
|
});
|
|
1077
1077
|
Object.defineProperty(exports, "getStructuredErrorAttributes", {
|
|
1078
1078
|
enumerable: true,
|
|
1079
|
-
get: function () { return
|
|
1079
|
+
get: function () { return chunkQ73BZ3JR_cjs.getStructuredErrorAttributes; }
|
|
1080
1080
|
});
|
|
1081
1081
|
Object.defineProperty(exports, "recordStructuredError", {
|
|
1082
1082
|
enumerable: true,
|
|
1083
|
-
get: function () { return
|
|
1083
|
+
get: function () { return chunkQ73BZ3JR_cjs.recordStructuredError; }
|
|
1084
1084
|
});
|
|
1085
1085
|
Object.defineProperty(exports, "runWithCorrelationId", {
|
|
1086
1086
|
enumerable: true,
|
|
1087
|
-
get: function () { return
|
|
1087
|
+
get: function () { return chunkQ73BZ3JR_cjs.runWithCorrelationId; }
|
|
1088
1088
|
});
|
|
1089
1089
|
Object.defineProperty(exports, "setCorrelationId", {
|
|
1090
1090
|
enumerable: true,
|
|
1091
|
-
get: function () { return
|
|
1091
|
+
get: function () { return chunkQ73BZ3JR_cjs.setCorrelationId; }
|
|
1092
1092
|
});
|
|
1093
1093
|
Object.defineProperty(exports, "setCorrelationIdInBaggage", {
|
|
1094
1094
|
enumerable: true,
|
|
1095
|
-
get: function () { return
|
|
1095
|
+
get: function () { return chunkQ73BZ3JR_cjs.setCorrelationIdInBaggage; }
|
|
1096
1096
|
});
|
|
1097
1097
|
Object.defineProperty(exports, "structuredErrorToJSON", {
|
|
1098
1098
|
enumerable: true,
|
|
1099
|
-
get: function () { return
|
|
1099
|
+
get: function () { return chunkQ73BZ3JR_cjs.structuredErrorToJSON; }
|
|
1100
1100
|
});
|
|
1101
1101
|
Object.defineProperty(exports, "toAttributeValue", {
|
|
1102
1102
|
enumerable: true,
|
|
1103
|
-
get: function () { return
|
|
1103
|
+
get: function () { return chunkQ73BZ3JR_cjs.toAttributeValue; }
|
|
1104
1104
|
});
|
|
1105
1105
|
Object.defineProperty(exports, "track", {
|
|
1106
1106
|
enumerable: true,
|
|
1107
|
-
get: function () { return
|
|
1107
|
+
get: function () { return chunkQ73BZ3JR_cjs.track; }
|
|
1108
1108
|
});
|
|
1109
1109
|
Object.defineProperty(exports, "BaggageSpanProcessor", {
|
|
1110
1110
|
enumerable: true,
|
|
1111
|
-
get: function () { return
|
|
1111
|
+
get: function () { return chunkUTGGVEA5_cjs.BaggageSpanProcessor; }
|
|
1112
1112
|
});
|
|
1113
1113
|
Object.defineProperty(exports, "createStringRedactor", {
|
|
1114
1114
|
enumerable: true,
|
|
1115
|
-
get: function () { return
|
|
1115
|
+
get: function () { return chunkUTGGVEA5_cjs.createStringRedactor; }
|
|
1116
1116
|
});
|
|
1117
1117
|
Object.defineProperty(exports, "init", {
|
|
1118
1118
|
enumerable: true,
|
|
1119
|
-
get: function () { return
|
|
1119
|
+
get: function () { return chunkUTGGVEA5_cjs.init; }
|
|
1120
1120
|
});
|
|
1121
1121
|
Object.defineProperty(exports, "isLoggerLocked", {
|
|
1122
1122
|
enumerable: true,
|
|
1123
|
-
get: function () { return
|
|
1123
|
+
get: function () { return chunkUTGGVEA5_cjs.isLoggerLocked; }
|
|
1124
1124
|
});
|
|
1125
1125
|
Object.defineProperty(exports, "lockLogger", {
|
|
1126
1126
|
enumerable: true,
|
|
1127
|
-
get: function () { return
|
|
1127
|
+
get: function () { return chunkUTGGVEA5_cjs.lockLogger; }
|
|
1128
1128
|
});
|
|
1129
1129
|
Object.defineProperty(exports, "FilteringSpanProcessor", {
|
|
1130
1130
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
export { createDrainPipeline } from './chunk-KFOHQK7X.js';
|
|
2
|
-
export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-
|
|
2
|
+
export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-63ABFG2Q.js';
|
|
3
3
|
export { attrs, autoRedactPII, dbClient, httpClient, httpServer, identify, mergeAttrs, mergeServiceResource, request, safeSetAttributes, setDevice, setError, setException, setSession, setUser, validateAttribute } from './chunk-454CH4OV.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-LTI7LSBY.js';
|
|
8
8
|
import { emitCorrelatedEvent } from './chunk-KIL5CUN6.js';
|
|
9
9
|
export { BusinessBaggage, createSafeBaggageSchema } from './chunk-4IFSYQVX.js';
|
|
10
10
|
import { resetMetrics } from './chunk-7SAWIN74.js';
|
|
11
11
|
export { Metric, getMetrics, resetMetrics } from './chunk-7SAWIN74.js';
|
|
12
12
|
import './chunk-5ZN622AO.js';
|
|
13
13
|
export { createCounter, createHistogram, createObservableGauge, createUpDownCounter, getMeter } from './chunk-TQ5UWA7S.js';
|
|
14
|
-
export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-
|
|
15
|
-
import { trace as trace$1 } from './chunk-
|
|
16
|
-
export { ctx, instrument, markAsImmediate, span, withBaggage, withNewContext, withTracing } from './chunk-
|
|
17
|
-
export { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from './chunk-
|
|
18
|
-
import { resetEvents } from './chunk-
|
|
19
|
-
export { Event, getEvents, resetEvents } from './chunk-
|
|
14
|
+
export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-DXFLHZH2.js';
|
|
15
|
+
import { trace as trace$1 } from './chunk-MEY6VAC3.js';
|
|
16
|
+
export { ctx, instrument, markAsImmediate, span, withBaggage, withNewContext, withTracing } from './chunk-MEY6VAC3.js';
|
|
17
|
+
export { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from './chunk-AEVI4EYC.js';
|
|
18
|
+
import { resetEvents } from './chunk-U4IPC2D3.js';
|
|
19
|
+
export { Event, getEvents, resetEvents } from './chunk-U4IPC2D3.js';
|
|
20
20
|
import './chunk-LITNXTTT.js';
|
|
21
21
|
import './chunk-BZHG5IZ4.js';
|
|
22
22
|
export { getOperationContext, runInOperationContext } from './chunk-SEO6NAQT.js';
|
|
23
|
-
import { getEventQueue, resetEventQueue, track, createTraceContext, flattenToAttributes, recordStructuredError, createStructuredError } from './chunk-
|
|
24
|
-
export { CORRELATION_ID_BAGGAGE_KEY, createStructuredError, defineBaggageSchema, flattenToAttributes, generateCorrelationId, getCorrelationId, getEventQueue, getOrCreateCorrelationId, getStructuredErrorAttributes, recordStructuredError, runWithCorrelationId, setCorrelationId, setCorrelationIdInBaggage, structuredErrorToJSON, toAttributeValue, track } from './chunk-
|
|
25
|
-
import { getLogger, getSdk, _closeEmbeddedDevtools } from './chunk-
|
|
26
|
-
export { BaggageSpanProcessor, createStringRedactor, init, isLoggerLocked, lockLogger } from './chunk-
|
|
27
|
-
import './chunk-
|
|
23
|
+
import { getEventQueue, resetEventQueue, track, createTraceContext, flattenToAttributes, recordStructuredError, createStructuredError } from './chunk-MHCCHVMJ.js';
|
|
24
|
+
export { CORRELATION_ID_BAGGAGE_KEY, createStructuredError, defineBaggageSchema, flattenToAttributes, generateCorrelationId, getCorrelationId, getEventQueue, getOrCreateCorrelationId, getStructuredErrorAttributes, recordStructuredError, runWithCorrelationId, setCorrelationId, setCorrelationIdInBaggage, structuredErrorToJSON, toAttributeValue, track } from './chunk-MHCCHVMJ.js';
|
|
25
|
+
import { getLogger, getSdk, _closeEmbeddedDevtools } from './chunk-T3VKOAUG.js';
|
|
26
|
+
export { BaggageSpanProcessor, createStringRedactor, init, isLoggerLocked, lockLogger } from './chunk-T3VKOAUG.js';
|
|
27
|
+
import './chunk-FSV7ANUE.js';
|
|
28
28
|
import './chunk-A4E5AQFK.js';
|
|
29
29
|
export { FilteringSpanProcessor } from './chunk-WGWSHJ2N.js';
|
|
30
30
|
export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizingProcessor } from './chunk-GYR5K654.js';
|
|
31
31
|
export { AttributeRedactingProcessor, REDACTOR_PATTERNS, REDACTOR_PRESETS, builtinPatterns, createAttributeRedactor, createRedactedSpan, normalizeAttributeRedactorConfig } from './chunk-RUPKBKUF.js';
|
|
32
32
|
import './chunk-6UQRVUN3.js';
|
|
33
33
|
export { formatDuration } from './chunk-3QXBFGKP.js';
|
|
34
|
-
import './chunk-
|
|
34
|
+
import './chunk-DUCUF6VK.js';
|
|
35
35
|
export { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch, resolveSamplingPreset, samplingPresets } from './chunk-DPSA4QLA.js';
|
|
36
36
|
import './chunk-55ER2KD5.js';
|
|
37
37
|
import './chunk-J5QENANM.js';
|
package/dist/instrumentation.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkUTGGVEA5_cjs = require('./chunk-UTGGVEA5.cjs');
|
|
4
|
+
require('./chunk-UBN2TONI.cjs');
|
|
5
5
|
var chunkCEAQK2QY_cjs = require('./chunk-CEAQK2QY.cjs');
|
|
6
6
|
require('./chunk-ZNMBW67B.cjs');
|
|
7
7
|
require('./chunk-IOYFAFHJ.cjs');
|
|
8
8
|
require('./chunk-NEIB3TLD.cjs');
|
|
9
9
|
require('./chunk-CU6IDACR.cjs');
|
|
10
10
|
require('./chunk-6S5RUKU3.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunk23BO5PKU_cjs = require('./chunk-23BO5PKU.cjs');
|
|
12
12
|
require('./chunk-VH77IPJN.cjs');
|
|
13
13
|
require('./chunk-FU6R566Y.cjs');
|
|
14
14
|
require('./chunk-ESLWRGAG.cjs');
|
|
@@ -52,17 +52,17 @@ var shutdownHandlerRegistered = false;
|
|
|
52
52
|
async function shutdownInstrumentation(sdk) {
|
|
53
53
|
const sdkToShutdown = sdk || currentSDK;
|
|
54
54
|
if (!sdkToShutdown) {
|
|
55
|
-
|
|
55
|
+
chunkUTGGVEA5_cjs.getLogger().warn({}, "No SDK to shutdown");
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
try {
|
|
59
59
|
await sdkToShutdown.shutdown();
|
|
60
|
-
|
|
60
|
+
chunkUTGGVEA5_cjs.getLogger().info({}, "OpenTelemetry terminated successfully");
|
|
61
61
|
if (sdkToShutdown === currentSDK) {
|
|
62
62
|
currentSDK = null;
|
|
63
63
|
}
|
|
64
64
|
} catch (error) {
|
|
65
|
-
|
|
65
|
+
chunkUTGGVEA5_cjs.getLogger().error(
|
|
66
66
|
{
|
|
67
67
|
err: error instanceof Error ? error : void 0
|
|
68
68
|
},
|
|
@@ -73,7 +73,7 @@ async function shutdownInstrumentation(sdk) {
|
|
|
73
73
|
}
|
|
74
74
|
async function initInstrumentation(config) {
|
|
75
75
|
if (currentSDK) {
|
|
76
|
-
|
|
76
|
+
chunkUTGGVEA5_cjs.getLogger().info(
|
|
77
77
|
{},
|
|
78
78
|
"Shutting down existing OpenTelemetry SDK before reinitializing..."
|
|
79
79
|
);
|
|
@@ -128,7 +128,7 @@ async function initInstrumentation(config) {
|
|
|
128
128
|
}
|
|
129
129
|
let instrumentations = config.instrumentations || [];
|
|
130
130
|
if (config.selectiveInstrumentation === false) {
|
|
131
|
-
const mod =
|
|
131
|
+
const mod = chunk23BO5PKU_cjs.requireModule("@opentelemetry/auto-instrumentations-node");
|
|
132
132
|
instrumentations = [mod.getNodeAutoInstrumentations()];
|
|
133
133
|
}
|
|
134
134
|
const traceExporter = new exporterTraceOtlpHttp.OTLPTraceExporter({
|
|
@@ -160,9 +160,9 @@ async function initInstrumentation(config) {
|
|
|
160
160
|
});
|
|
161
161
|
try {
|
|
162
162
|
await sdk.start();
|
|
163
|
-
|
|
163
|
+
chunkUTGGVEA5_cjs.getLogger().info({}, "OpenTelemetry instrumentation started successfully");
|
|
164
164
|
} catch (error) {
|
|
165
|
-
|
|
165
|
+
chunkUTGGVEA5_cjs.getLogger().error(
|
|
166
166
|
{
|
|
167
167
|
err: error instanceof Error ? error : void 0
|
|
168
168
|
},
|
|
@@ -177,7 +177,7 @@ async function initInstrumentation(config) {
|
|
|
177
177
|
shutdownInstrumentation().then(() => {
|
|
178
178
|
process.exit(0);
|
|
179
179
|
}).catch((error) => {
|
|
180
|
-
|
|
180
|
+
chunkUTGGVEA5_cjs.getLogger().error(
|
|
181
181
|
{
|
|
182
182
|
err: error instanceof Error ? error : void 0
|
|
183
183
|
},
|
package/dist/instrumentation.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { getLogger } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { getLogger } from './chunk-T3VKOAUG.js';
|
|
2
|
+
import './chunk-FSV7ANUE.js';
|
|
3
3
|
import { TailSamplingSpanProcessor } from './chunk-A4E5AQFK.js';
|
|
4
4
|
import './chunk-WGWSHJ2N.js';
|
|
5
5
|
import './chunk-GYR5K654.js';
|
|
6
6
|
import './chunk-RUPKBKUF.js';
|
|
7
7
|
import './chunk-6UQRVUN3.js';
|
|
8
8
|
import './chunk-3QXBFGKP.js';
|
|
9
|
-
import { requireModule } from './chunk-
|
|
9
|
+
import { requireModule } from './chunk-DUCUF6VK.js';
|
|
10
10
|
import './chunk-DPSA4QLA.js';
|
|
11
11
|
import './chunk-55ER2KD5.js';
|
|
12
12
|
import './chunk-J5QENANM.js';
|