@vm0/cli 9.119.0 → 9.119.2
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/chunk-BMCQ2T6Q.js +1708 -0
- package/chunk-BMCQ2T6Q.js.map +1 -0
- package/chunk-MPKRH4AA.js +17 -0
- package/chunk-MPKRH4AA.js.map +1 -0
- package/{chunk-BESNYOIM.js → chunk-PS4P6JB6.js} +70934 -31860
- package/chunk-PS4P6JB6.js.map +1 -0
- package/getMachineId-bsd-PR7QRJD5.js +35 -0
- package/getMachineId-bsd-PR7QRJD5.js.map +1 -0
- package/getMachineId-darwin-UPRGUB4T.js +35 -0
- package/getMachineId-darwin-UPRGUB4T.js.map +1 -0
- package/getMachineId-linux-ATTLS4CQ.js +29 -0
- package/getMachineId-linux-ATTLS4CQ.js.map +1 -0
- package/getMachineId-unsupported-VCVC2PWL.js +20 -0
- package/getMachineId-unsupported-VCVC2PWL.js.map +1 -0
- package/getMachineId-win-OHEXEVPP.js +37 -0
- package/getMachineId-win-OHEXEVPP.js.map +1 -0
- package/index.js +43 -632
- package/index.js.map +1 -1
- package/package.json +2 -3
- package/zero.js +6 -4
- package/zero.js.map +1 -1
- package/chunk-BESNYOIM.js.map +0 -1
|
@@ -0,0 +1,1708 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __createRequire } from "node:module";
|
|
3
|
+
const require = __createRequire(import.meta.url);
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
11
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
12
|
+
}) : x)(function(x) {
|
|
13
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
|
+
});
|
|
16
|
+
var __esm = (fn, res) => function __init() {
|
|
17
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
18
|
+
};
|
|
19
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
20
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
21
|
+
};
|
|
22
|
+
var __export = (target, all) => {
|
|
23
|
+
for (var name in all)
|
|
24
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
25
|
+
};
|
|
26
|
+
var __copyProps = (to, from, except, desc) => {
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (let key of __getOwnPropNames(from))
|
|
29
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
30
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
31
|
+
}
|
|
32
|
+
return to;
|
|
33
|
+
};
|
|
34
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
35
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
36
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
37
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
38
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
39
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
40
|
+
mod
|
|
41
|
+
));
|
|
42
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
43
|
+
|
|
44
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.21_@swc+helpers@0.5.20__jiti@2.6.1_postcss@8.5.8_tsx@4.21.0_typescript@5.9.3_yaml@2.8.3/node_modules/tsup/assets/esm_shims.js
|
|
45
|
+
import path from "path";
|
|
46
|
+
import { fileURLToPath } from "url";
|
|
47
|
+
var init_esm_shims = __esm({
|
|
48
|
+
"../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.21_@swc+helpers@0.5.20__jiti@2.6.1_postcss@8.5.8_tsx@4.21.0_typescript@5.9.3_yaml@2.8.3/node_modules/tsup/assets/esm_shims.js"() {
|
|
49
|
+
"use strict";
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/version.js
|
|
54
|
+
var VERSION;
|
|
55
|
+
var init_version = __esm({
|
|
56
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/version.js"() {
|
|
57
|
+
"use strict";
|
|
58
|
+
init_esm_shims();
|
|
59
|
+
VERSION = "1.9.1";
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/semver.js
|
|
64
|
+
function _makeCompatibilityCheck(ownVersion) {
|
|
65
|
+
const acceptedVersions = /* @__PURE__ */ new Set([ownVersion]);
|
|
66
|
+
const rejectedVersions = /* @__PURE__ */ new Set();
|
|
67
|
+
const myVersionMatch = ownVersion.match(re);
|
|
68
|
+
if (!myVersionMatch) {
|
|
69
|
+
return () => false;
|
|
70
|
+
}
|
|
71
|
+
const ownVersionParsed = {
|
|
72
|
+
major: +myVersionMatch[1],
|
|
73
|
+
minor: +myVersionMatch[2],
|
|
74
|
+
patch: +myVersionMatch[3],
|
|
75
|
+
prerelease: myVersionMatch[4]
|
|
76
|
+
};
|
|
77
|
+
if (ownVersionParsed.prerelease != null) {
|
|
78
|
+
return function isExactmatch(globalVersion) {
|
|
79
|
+
return globalVersion === ownVersion;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function _reject(v) {
|
|
83
|
+
rejectedVersions.add(v);
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
function _accept(v) {
|
|
87
|
+
acceptedVersions.add(v);
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
return function isCompatible2(globalVersion) {
|
|
91
|
+
if (acceptedVersions.has(globalVersion)) {
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
if (rejectedVersions.has(globalVersion)) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
const globalVersionMatch = globalVersion.match(re);
|
|
98
|
+
if (!globalVersionMatch) {
|
|
99
|
+
return _reject(globalVersion);
|
|
100
|
+
}
|
|
101
|
+
const globalVersionParsed = {
|
|
102
|
+
major: +globalVersionMatch[1],
|
|
103
|
+
minor: +globalVersionMatch[2],
|
|
104
|
+
patch: +globalVersionMatch[3],
|
|
105
|
+
prerelease: globalVersionMatch[4]
|
|
106
|
+
};
|
|
107
|
+
if (globalVersionParsed.prerelease != null) {
|
|
108
|
+
return _reject(globalVersion);
|
|
109
|
+
}
|
|
110
|
+
if (ownVersionParsed.major !== globalVersionParsed.major) {
|
|
111
|
+
return _reject(globalVersion);
|
|
112
|
+
}
|
|
113
|
+
if (ownVersionParsed.major === 0) {
|
|
114
|
+
if (ownVersionParsed.minor === globalVersionParsed.minor && ownVersionParsed.patch <= globalVersionParsed.patch) {
|
|
115
|
+
return _accept(globalVersion);
|
|
116
|
+
}
|
|
117
|
+
return _reject(globalVersion);
|
|
118
|
+
}
|
|
119
|
+
if (ownVersionParsed.minor <= globalVersionParsed.minor) {
|
|
120
|
+
return _accept(globalVersion);
|
|
121
|
+
}
|
|
122
|
+
return _reject(globalVersion);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
var re, isCompatible;
|
|
126
|
+
var init_semver = __esm({
|
|
127
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/semver.js"() {
|
|
128
|
+
"use strict";
|
|
129
|
+
init_esm_shims();
|
|
130
|
+
init_version();
|
|
131
|
+
re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
|
|
132
|
+
isCompatible = _makeCompatibilityCheck(VERSION);
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js
|
|
137
|
+
function registerGlobal(type, instance, diag3, allowOverride = false) {
|
|
138
|
+
var _a;
|
|
139
|
+
const api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) !== null && _a !== void 0 ? _a : {
|
|
140
|
+
version: VERSION
|
|
141
|
+
};
|
|
142
|
+
if (!allowOverride && api[type]) {
|
|
143
|
+
const err = new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${type}`);
|
|
144
|
+
diag3.error(err.stack || err.message);
|
|
145
|
+
return false;
|
|
146
|
+
}
|
|
147
|
+
if (api.version !== VERSION) {
|
|
148
|
+
const err = new Error(`@opentelemetry/api: Registration of version v${api.version} for ${type} does not match previously registered API v${VERSION}`);
|
|
149
|
+
diag3.error(err.stack || err.message);
|
|
150
|
+
return false;
|
|
151
|
+
}
|
|
152
|
+
api[type] = instance;
|
|
153
|
+
diag3.debug(`@opentelemetry/api: Registered a global for ${type} v${VERSION}.`);
|
|
154
|
+
return true;
|
|
155
|
+
}
|
|
156
|
+
function getGlobal(type) {
|
|
157
|
+
var _a, _b;
|
|
158
|
+
const globalVersion = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _a === void 0 ? void 0 : _a.version;
|
|
159
|
+
if (!globalVersion || !isCompatible(globalVersion)) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
return (_b = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _b === void 0 ? void 0 : _b[type];
|
|
163
|
+
}
|
|
164
|
+
function unregisterGlobal(type, diag3) {
|
|
165
|
+
diag3.debug(`@opentelemetry/api: Unregistering a global for ${type} v${VERSION}.`);
|
|
166
|
+
const api = _global[GLOBAL_OPENTELEMETRY_API_KEY];
|
|
167
|
+
if (api) {
|
|
168
|
+
delete api[type];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
var major, GLOBAL_OPENTELEMETRY_API_KEY, _global;
|
|
172
|
+
var init_global_utils = __esm({
|
|
173
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js"() {
|
|
174
|
+
"use strict";
|
|
175
|
+
init_esm_shims();
|
|
176
|
+
init_version();
|
|
177
|
+
init_semver();
|
|
178
|
+
major = VERSION.split(".")[0];
|
|
179
|
+
GLOBAL_OPENTELEMETRY_API_KEY = /* @__PURE__ */ Symbol.for(`opentelemetry.js.api.${major}`);
|
|
180
|
+
_global = typeof globalThis === "object" ? globalThis : typeof self === "object" ? self : typeof window === "object" ? window : typeof global === "object" ? global : {};
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js
|
|
185
|
+
function logProxy(funcName, namespace, args) {
|
|
186
|
+
const logger = getGlobal("diag");
|
|
187
|
+
if (!logger) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
return logger[funcName](namespace, ...args);
|
|
191
|
+
}
|
|
192
|
+
var DiagComponentLogger;
|
|
193
|
+
var init_ComponentLogger = __esm({
|
|
194
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js"() {
|
|
195
|
+
"use strict";
|
|
196
|
+
init_esm_shims();
|
|
197
|
+
init_global_utils();
|
|
198
|
+
DiagComponentLogger = class {
|
|
199
|
+
constructor(props) {
|
|
200
|
+
this._namespace = props.namespace || "DiagComponentLogger";
|
|
201
|
+
}
|
|
202
|
+
debug(...args) {
|
|
203
|
+
return logProxy("debug", this._namespace, args);
|
|
204
|
+
}
|
|
205
|
+
error(...args) {
|
|
206
|
+
return logProxy("error", this._namespace, args);
|
|
207
|
+
}
|
|
208
|
+
info(...args) {
|
|
209
|
+
return logProxy("info", this._namespace, args);
|
|
210
|
+
}
|
|
211
|
+
warn(...args) {
|
|
212
|
+
return logProxy("warn", this._namespace, args);
|
|
213
|
+
}
|
|
214
|
+
verbose(...args) {
|
|
215
|
+
return logProxy("verbose", this._namespace, args);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/types.js
|
|
222
|
+
var DiagLogLevel;
|
|
223
|
+
var init_types = __esm({
|
|
224
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/types.js"() {
|
|
225
|
+
"use strict";
|
|
226
|
+
init_esm_shims();
|
|
227
|
+
(function(DiagLogLevel2) {
|
|
228
|
+
DiagLogLevel2[DiagLogLevel2["NONE"] = 0] = "NONE";
|
|
229
|
+
DiagLogLevel2[DiagLogLevel2["ERROR"] = 30] = "ERROR";
|
|
230
|
+
DiagLogLevel2[DiagLogLevel2["WARN"] = 50] = "WARN";
|
|
231
|
+
DiagLogLevel2[DiagLogLevel2["INFO"] = 60] = "INFO";
|
|
232
|
+
DiagLogLevel2[DiagLogLevel2["DEBUG"] = 70] = "DEBUG";
|
|
233
|
+
DiagLogLevel2[DiagLogLevel2["VERBOSE"] = 80] = "VERBOSE";
|
|
234
|
+
DiagLogLevel2[DiagLogLevel2["ALL"] = 9999] = "ALL";
|
|
235
|
+
})(DiagLogLevel || (DiagLogLevel = {}));
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js
|
|
240
|
+
function createLogLevelDiagLogger(maxLevel, logger) {
|
|
241
|
+
if (maxLevel < DiagLogLevel.NONE) {
|
|
242
|
+
maxLevel = DiagLogLevel.NONE;
|
|
243
|
+
} else if (maxLevel > DiagLogLevel.ALL) {
|
|
244
|
+
maxLevel = DiagLogLevel.ALL;
|
|
245
|
+
}
|
|
246
|
+
logger = logger || {};
|
|
247
|
+
function _filterFunc(funcName, theLevel) {
|
|
248
|
+
const theFunc = logger[funcName];
|
|
249
|
+
if (typeof theFunc === "function" && maxLevel >= theLevel) {
|
|
250
|
+
return theFunc.bind(logger);
|
|
251
|
+
}
|
|
252
|
+
return function() {
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
return {
|
|
256
|
+
error: _filterFunc("error", DiagLogLevel.ERROR),
|
|
257
|
+
warn: _filterFunc("warn", DiagLogLevel.WARN),
|
|
258
|
+
info: _filterFunc("info", DiagLogLevel.INFO),
|
|
259
|
+
debug: _filterFunc("debug", DiagLogLevel.DEBUG),
|
|
260
|
+
verbose: _filterFunc("verbose", DiagLogLevel.VERBOSE)
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
var init_logLevelLogger = __esm({
|
|
264
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js"() {
|
|
265
|
+
"use strict";
|
|
266
|
+
init_esm_shims();
|
|
267
|
+
init_types();
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/diag.js
|
|
272
|
+
var API_NAME, DiagAPI;
|
|
273
|
+
var init_diag = __esm({
|
|
274
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/diag.js"() {
|
|
275
|
+
"use strict";
|
|
276
|
+
init_esm_shims();
|
|
277
|
+
init_ComponentLogger();
|
|
278
|
+
init_logLevelLogger();
|
|
279
|
+
init_types();
|
|
280
|
+
init_global_utils();
|
|
281
|
+
API_NAME = "diag";
|
|
282
|
+
DiagAPI = class _DiagAPI {
|
|
283
|
+
/** Get the singleton instance of the DiagAPI API */
|
|
284
|
+
static instance() {
|
|
285
|
+
if (!this._instance) {
|
|
286
|
+
this._instance = new _DiagAPI();
|
|
287
|
+
}
|
|
288
|
+
return this._instance;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Private internal constructor
|
|
292
|
+
* @private
|
|
293
|
+
*/
|
|
294
|
+
constructor() {
|
|
295
|
+
function _logProxy(funcName) {
|
|
296
|
+
return function(...args) {
|
|
297
|
+
const logger = getGlobal("diag");
|
|
298
|
+
if (!logger)
|
|
299
|
+
return;
|
|
300
|
+
return logger[funcName](...args);
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
const self2 = this;
|
|
304
|
+
const setLogger = (logger, optionsOrLogLevel = { logLevel: DiagLogLevel.INFO }) => {
|
|
305
|
+
var _a, _b, _c;
|
|
306
|
+
if (logger === self2) {
|
|
307
|
+
const err = new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");
|
|
308
|
+
self2.error((_a = err.stack) !== null && _a !== void 0 ? _a : err.message);
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
if (typeof optionsOrLogLevel === "number") {
|
|
312
|
+
optionsOrLogLevel = {
|
|
313
|
+
logLevel: optionsOrLogLevel
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
const oldLogger = getGlobal("diag");
|
|
317
|
+
const newLogger = createLogLevelDiagLogger((_b = optionsOrLogLevel.logLevel) !== null && _b !== void 0 ? _b : DiagLogLevel.INFO, logger);
|
|
318
|
+
if (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) {
|
|
319
|
+
const stack = (_c = new Error().stack) !== null && _c !== void 0 ? _c : "<failed to generate stacktrace>";
|
|
320
|
+
oldLogger.warn(`Current logger will be overwritten from ${stack}`);
|
|
321
|
+
newLogger.warn(`Current logger will overwrite one already registered from ${stack}`);
|
|
322
|
+
}
|
|
323
|
+
return registerGlobal("diag", newLogger, self2, true);
|
|
324
|
+
};
|
|
325
|
+
self2.setLogger = setLogger;
|
|
326
|
+
self2.disable = () => {
|
|
327
|
+
unregisterGlobal(API_NAME, self2);
|
|
328
|
+
};
|
|
329
|
+
self2.createComponentLogger = (options) => {
|
|
330
|
+
return new DiagComponentLogger(options);
|
|
331
|
+
};
|
|
332
|
+
self2.verbose = _logProxy("verbose");
|
|
333
|
+
self2.debug = _logProxy("debug");
|
|
334
|
+
self2.info = _logProxy("info");
|
|
335
|
+
self2.warn = _logProxy("warn");
|
|
336
|
+
self2.error = _logProxy("error");
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
|
|
342
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag-api.js
|
|
343
|
+
var diag;
|
|
344
|
+
var init_diag_api = __esm({
|
|
345
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag-api.js"() {
|
|
346
|
+
"use strict";
|
|
347
|
+
init_esm_shims();
|
|
348
|
+
init_diag();
|
|
349
|
+
diag = DiagAPI.instance();
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
|
|
353
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js
|
|
354
|
+
var BaggageImpl;
|
|
355
|
+
var init_baggage_impl = __esm({
|
|
356
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js"() {
|
|
357
|
+
"use strict";
|
|
358
|
+
init_esm_shims();
|
|
359
|
+
BaggageImpl = class _BaggageImpl {
|
|
360
|
+
constructor(entries) {
|
|
361
|
+
this._entries = entries ? new Map(entries) : /* @__PURE__ */ new Map();
|
|
362
|
+
}
|
|
363
|
+
getEntry(key) {
|
|
364
|
+
const entry = this._entries.get(key);
|
|
365
|
+
if (!entry) {
|
|
366
|
+
return void 0;
|
|
367
|
+
}
|
|
368
|
+
return Object.assign({}, entry);
|
|
369
|
+
}
|
|
370
|
+
getAllEntries() {
|
|
371
|
+
return Array.from(this._entries.entries());
|
|
372
|
+
}
|
|
373
|
+
setEntry(key, entry) {
|
|
374
|
+
const newBaggage = new _BaggageImpl(this._entries);
|
|
375
|
+
newBaggage._entries.set(key, entry);
|
|
376
|
+
return newBaggage;
|
|
377
|
+
}
|
|
378
|
+
removeEntry(key) {
|
|
379
|
+
const newBaggage = new _BaggageImpl(this._entries);
|
|
380
|
+
newBaggage._entries.delete(key);
|
|
381
|
+
return newBaggage;
|
|
382
|
+
}
|
|
383
|
+
removeEntries(...keys) {
|
|
384
|
+
const newBaggage = new _BaggageImpl(this._entries);
|
|
385
|
+
for (const key of keys) {
|
|
386
|
+
newBaggage._entries.delete(key);
|
|
387
|
+
}
|
|
388
|
+
return newBaggage;
|
|
389
|
+
}
|
|
390
|
+
clear() {
|
|
391
|
+
return new _BaggageImpl();
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
|
|
397
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js
|
|
398
|
+
var baggageEntryMetadataSymbol;
|
|
399
|
+
var init_symbol = __esm({
|
|
400
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js"() {
|
|
401
|
+
"use strict";
|
|
402
|
+
init_esm_shims();
|
|
403
|
+
baggageEntryMetadataSymbol = /* @__PURE__ */ Symbol("BaggageEntryMetadata");
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
|
|
407
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/utils.js
|
|
408
|
+
function createBaggage(entries = {}) {
|
|
409
|
+
return new BaggageImpl(new Map(Object.entries(entries)));
|
|
410
|
+
}
|
|
411
|
+
function baggageEntryMetadataFromString(str) {
|
|
412
|
+
if (typeof str !== "string") {
|
|
413
|
+
diag2.error(`Cannot create baggage metadata from unknown type: ${typeof str}`);
|
|
414
|
+
str = "";
|
|
415
|
+
}
|
|
416
|
+
return {
|
|
417
|
+
__TYPE__: baggageEntryMetadataSymbol,
|
|
418
|
+
toString() {
|
|
419
|
+
return str;
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
var diag2;
|
|
424
|
+
var init_utils = __esm({
|
|
425
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/utils.js"() {
|
|
426
|
+
"use strict";
|
|
427
|
+
init_esm_shims();
|
|
428
|
+
init_diag();
|
|
429
|
+
init_baggage_impl();
|
|
430
|
+
init_symbol();
|
|
431
|
+
diag2 = DiagAPI.instance();
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
|
|
435
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/context.js
|
|
436
|
+
function createContextKey(description) {
|
|
437
|
+
return Symbol.for(description);
|
|
438
|
+
}
|
|
439
|
+
var BaseContext, ROOT_CONTEXT;
|
|
440
|
+
var init_context = __esm({
|
|
441
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/context.js"() {
|
|
442
|
+
"use strict";
|
|
443
|
+
init_esm_shims();
|
|
444
|
+
BaseContext = class _BaseContext {
|
|
445
|
+
/**
|
|
446
|
+
* Construct a new context which inherits values from an optional parent context.
|
|
447
|
+
*
|
|
448
|
+
* @param parentContext a context from which to inherit values
|
|
449
|
+
*/
|
|
450
|
+
constructor(parentContext) {
|
|
451
|
+
const self2 = this;
|
|
452
|
+
self2._currentContext = parentContext ? new Map(parentContext) : /* @__PURE__ */ new Map();
|
|
453
|
+
self2.getValue = (key) => self2._currentContext.get(key);
|
|
454
|
+
self2.setValue = (key, value) => {
|
|
455
|
+
const context2 = new _BaseContext(self2._currentContext);
|
|
456
|
+
context2._currentContext.set(key, value);
|
|
457
|
+
return context2;
|
|
458
|
+
};
|
|
459
|
+
self2.deleteValue = (key) => {
|
|
460
|
+
const context2 = new _BaseContext(self2._currentContext);
|
|
461
|
+
context2._currentContext.delete(key);
|
|
462
|
+
return context2;
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
ROOT_CONTEXT = new BaseContext();
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js
|
|
471
|
+
var consoleMap, _originalConsoleMethods, DiagConsoleLogger;
|
|
472
|
+
var init_consoleLogger = __esm({
|
|
473
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js"() {
|
|
474
|
+
"use strict";
|
|
475
|
+
init_esm_shims();
|
|
476
|
+
consoleMap = [
|
|
477
|
+
{ n: "error", c: "error" },
|
|
478
|
+
{ n: "warn", c: "warn" },
|
|
479
|
+
{ n: "info", c: "info" },
|
|
480
|
+
{ n: "debug", c: "debug" },
|
|
481
|
+
{ n: "verbose", c: "trace" }
|
|
482
|
+
];
|
|
483
|
+
_originalConsoleMethods = {};
|
|
484
|
+
if (typeof console !== "undefined") {
|
|
485
|
+
const keys = [
|
|
486
|
+
"error",
|
|
487
|
+
"warn",
|
|
488
|
+
"info",
|
|
489
|
+
"debug",
|
|
490
|
+
"trace",
|
|
491
|
+
"log"
|
|
492
|
+
];
|
|
493
|
+
for (const key of keys) {
|
|
494
|
+
if (typeof console[key] === "function") {
|
|
495
|
+
_originalConsoleMethods[key] = console[key];
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
DiagConsoleLogger = class {
|
|
500
|
+
constructor() {
|
|
501
|
+
function _consoleFunc(funcName) {
|
|
502
|
+
return function(...args) {
|
|
503
|
+
let theFunc = _originalConsoleMethods[funcName];
|
|
504
|
+
if (typeof theFunc !== "function") {
|
|
505
|
+
theFunc = _originalConsoleMethods["log"];
|
|
506
|
+
}
|
|
507
|
+
if (typeof theFunc !== "function" && console) {
|
|
508
|
+
theFunc = console[funcName];
|
|
509
|
+
if (typeof theFunc !== "function") {
|
|
510
|
+
theFunc = console.log;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
if (typeof theFunc === "function") {
|
|
514
|
+
return theFunc.apply(console, args);
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
for (let i = 0; i < consoleMap.length; i++) {
|
|
519
|
+
this[consoleMap[i].n] = _consoleFunc(consoleMap[i].c);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
|
|
526
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js
|
|
527
|
+
function createNoopMeter() {
|
|
528
|
+
return NOOP_METER;
|
|
529
|
+
}
|
|
530
|
+
var NoopMeter, NoopMetric, NoopCounterMetric, NoopUpDownCounterMetric, NoopGaugeMetric, NoopHistogramMetric, NoopObservableMetric, NoopObservableCounterMetric, NoopObservableGaugeMetric, NoopObservableUpDownCounterMetric, NOOP_METER, NOOP_COUNTER_METRIC, NOOP_GAUGE_METRIC, NOOP_HISTOGRAM_METRIC, NOOP_UP_DOWN_COUNTER_METRIC, NOOP_OBSERVABLE_COUNTER_METRIC, NOOP_OBSERVABLE_GAUGE_METRIC, NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC;
|
|
531
|
+
var init_NoopMeter = __esm({
|
|
532
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js"() {
|
|
533
|
+
"use strict";
|
|
534
|
+
init_esm_shims();
|
|
535
|
+
NoopMeter = class {
|
|
536
|
+
constructor() {
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* @see {@link Meter.createGauge}
|
|
540
|
+
*/
|
|
541
|
+
createGauge(_name, _options) {
|
|
542
|
+
return NOOP_GAUGE_METRIC;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* @see {@link Meter.createHistogram}
|
|
546
|
+
*/
|
|
547
|
+
createHistogram(_name, _options) {
|
|
548
|
+
return NOOP_HISTOGRAM_METRIC;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* @see {@link Meter.createCounter}
|
|
552
|
+
*/
|
|
553
|
+
createCounter(_name, _options) {
|
|
554
|
+
return NOOP_COUNTER_METRIC;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* @see {@link Meter.createUpDownCounter}
|
|
558
|
+
*/
|
|
559
|
+
createUpDownCounter(_name, _options) {
|
|
560
|
+
return NOOP_UP_DOWN_COUNTER_METRIC;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @see {@link Meter.createObservableGauge}
|
|
564
|
+
*/
|
|
565
|
+
createObservableGauge(_name, _options) {
|
|
566
|
+
return NOOP_OBSERVABLE_GAUGE_METRIC;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* @see {@link Meter.createObservableCounter}
|
|
570
|
+
*/
|
|
571
|
+
createObservableCounter(_name, _options) {
|
|
572
|
+
return NOOP_OBSERVABLE_COUNTER_METRIC;
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* @see {@link Meter.createObservableUpDownCounter}
|
|
576
|
+
*/
|
|
577
|
+
createObservableUpDownCounter(_name, _options) {
|
|
578
|
+
return NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* @see {@link Meter.addBatchObservableCallback}
|
|
582
|
+
*/
|
|
583
|
+
addBatchObservableCallback(_callback, _observables) {
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* @see {@link Meter.removeBatchObservableCallback}
|
|
587
|
+
*/
|
|
588
|
+
removeBatchObservableCallback(_callback) {
|
|
589
|
+
}
|
|
590
|
+
};
|
|
591
|
+
NoopMetric = class {
|
|
592
|
+
};
|
|
593
|
+
NoopCounterMetric = class extends NoopMetric {
|
|
594
|
+
add(_value, _attributes) {
|
|
595
|
+
}
|
|
596
|
+
};
|
|
597
|
+
NoopUpDownCounterMetric = class extends NoopMetric {
|
|
598
|
+
add(_value, _attributes) {
|
|
599
|
+
}
|
|
600
|
+
};
|
|
601
|
+
NoopGaugeMetric = class extends NoopMetric {
|
|
602
|
+
record(_value, _attributes) {
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
NoopHistogramMetric = class extends NoopMetric {
|
|
606
|
+
record(_value, _attributes) {
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
NoopObservableMetric = class {
|
|
610
|
+
addCallback(_callback) {
|
|
611
|
+
}
|
|
612
|
+
removeCallback(_callback) {
|
|
613
|
+
}
|
|
614
|
+
};
|
|
615
|
+
NoopObservableCounterMetric = class extends NoopObservableMetric {
|
|
616
|
+
};
|
|
617
|
+
NoopObservableGaugeMetric = class extends NoopObservableMetric {
|
|
618
|
+
};
|
|
619
|
+
NoopObservableUpDownCounterMetric = class extends NoopObservableMetric {
|
|
620
|
+
};
|
|
621
|
+
NOOP_METER = new NoopMeter();
|
|
622
|
+
NOOP_COUNTER_METRIC = new NoopCounterMetric();
|
|
623
|
+
NOOP_GAUGE_METRIC = new NoopGaugeMetric();
|
|
624
|
+
NOOP_HISTOGRAM_METRIC = new NoopHistogramMetric();
|
|
625
|
+
NOOP_UP_DOWN_COUNTER_METRIC = new NoopUpDownCounterMetric();
|
|
626
|
+
NOOP_OBSERVABLE_COUNTER_METRIC = new NoopObservableCounterMetric();
|
|
627
|
+
NOOP_OBSERVABLE_GAUGE_METRIC = new NoopObservableGaugeMetric();
|
|
628
|
+
NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC = new NoopObservableUpDownCounterMetric();
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
|
|
632
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js
|
|
633
|
+
var ValueType;
|
|
634
|
+
var init_Metric = __esm({
|
|
635
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js"() {
|
|
636
|
+
"use strict";
|
|
637
|
+
init_esm_shims();
|
|
638
|
+
(function(ValueType2) {
|
|
639
|
+
ValueType2[ValueType2["INT"] = 0] = "INT";
|
|
640
|
+
ValueType2[ValueType2["DOUBLE"] = 1] = "DOUBLE";
|
|
641
|
+
})(ValueType || (ValueType = {}));
|
|
642
|
+
}
|
|
643
|
+
});
|
|
644
|
+
|
|
645
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js
|
|
646
|
+
var defaultTextMapGetter, defaultTextMapSetter;
|
|
647
|
+
var init_TextMapPropagator = __esm({
|
|
648
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js"() {
|
|
649
|
+
"use strict";
|
|
650
|
+
init_esm_shims();
|
|
651
|
+
defaultTextMapGetter = {
|
|
652
|
+
get(carrier, key) {
|
|
653
|
+
if (carrier == null) {
|
|
654
|
+
return void 0;
|
|
655
|
+
}
|
|
656
|
+
return carrier[key];
|
|
657
|
+
},
|
|
658
|
+
keys(carrier) {
|
|
659
|
+
if (carrier == null) {
|
|
660
|
+
return [];
|
|
661
|
+
}
|
|
662
|
+
return Object.keys(carrier);
|
|
663
|
+
}
|
|
664
|
+
};
|
|
665
|
+
defaultTextMapSetter = {
|
|
666
|
+
set(carrier, key, value) {
|
|
667
|
+
if (carrier == null) {
|
|
668
|
+
return;
|
|
669
|
+
}
|
|
670
|
+
carrier[key] = value;
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
}
|
|
674
|
+
});
|
|
675
|
+
|
|
676
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js
|
|
677
|
+
var NoopContextManager;
|
|
678
|
+
var init_NoopContextManager = __esm({
|
|
679
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js"() {
|
|
680
|
+
"use strict";
|
|
681
|
+
init_esm_shims();
|
|
682
|
+
init_context();
|
|
683
|
+
NoopContextManager = class {
|
|
684
|
+
active() {
|
|
685
|
+
return ROOT_CONTEXT;
|
|
686
|
+
}
|
|
687
|
+
with(_context, fn, thisArg, ...args) {
|
|
688
|
+
return fn.call(thisArg, ...args);
|
|
689
|
+
}
|
|
690
|
+
bind(_context, target) {
|
|
691
|
+
return target;
|
|
692
|
+
}
|
|
693
|
+
enable() {
|
|
694
|
+
return this;
|
|
695
|
+
}
|
|
696
|
+
disable() {
|
|
697
|
+
return this;
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
});
|
|
702
|
+
|
|
703
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/context.js
|
|
704
|
+
var API_NAME2, NOOP_CONTEXT_MANAGER, ContextAPI;
|
|
705
|
+
var init_context2 = __esm({
|
|
706
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/context.js"() {
|
|
707
|
+
"use strict";
|
|
708
|
+
init_esm_shims();
|
|
709
|
+
init_NoopContextManager();
|
|
710
|
+
init_global_utils();
|
|
711
|
+
init_diag();
|
|
712
|
+
API_NAME2 = "context";
|
|
713
|
+
NOOP_CONTEXT_MANAGER = new NoopContextManager();
|
|
714
|
+
ContextAPI = class _ContextAPI {
|
|
715
|
+
/** Empty private constructor prevents end users from constructing a new instance of the API */
|
|
716
|
+
constructor() {
|
|
717
|
+
}
|
|
718
|
+
/** Get the singleton instance of the Context API */
|
|
719
|
+
static getInstance() {
|
|
720
|
+
if (!this._instance) {
|
|
721
|
+
this._instance = new _ContextAPI();
|
|
722
|
+
}
|
|
723
|
+
return this._instance;
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* Set the current context manager.
|
|
727
|
+
*
|
|
728
|
+
* @returns true if the context manager was successfully registered, else false
|
|
729
|
+
*/
|
|
730
|
+
setGlobalContextManager(contextManager) {
|
|
731
|
+
return registerGlobal(API_NAME2, contextManager, DiagAPI.instance());
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* Get the currently active context
|
|
735
|
+
*/
|
|
736
|
+
active() {
|
|
737
|
+
return this._getContextManager().active();
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Execute a function with an active context
|
|
741
|
+
*
|
|
742
|
+
* @param context context to be active during function execution
|
|
743
|
+
* @param fn function to execute in a context
|
|
744
|
+
* @param thisArg optional receiver to be used for calling fn
|
|
745
|
+
* @param args optional arguments forwarded to fn
|
|
746
|
+
*/
|
|
747
|
+
with(context2, fn, thisArg, ...args) {
|
|
748
|
+
return this._getContextManager().with(context2, fn, thisArg, ...args);
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* Bind a context to a target function or event emitter
|
|
752
|
+
*
|
|
753
|
+
* @param context context to bind to the event emitter or function. Defaults to the currently active context
|
|
754
|
+
* @param target function or event emitter to bind
|
|
755
|
+
*/
|
|
756
|
+
bind(context2, target) {
|
|
757
|
+
return this._getContextManager().bind(context2, target);
|
|
758
|
+
}
|
|
759
|
+
_getContextManager() {
|
|
760
|
+
return getGlobal(API_NAME2) || NOOP_CONTEXT_MANAGER;
|
|
761
|
+
}
|
|
762
|
+
/** Disable and remove the global context manager */
|
|
763
|
+
disable() {
|
|
764
|
+
this._getContextManager().disable();
|
|
765
|
+
unregisterGlobal(API_NAME2, DiagAPI.instance());
|
|
766
|
+
}
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
});
|
|
770
|
+
|
|
771
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js
|
|
772
|
+
var TraceFlags;
|
|
773
|
+
var init_trace_flags = __esm({
|
|
774
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js"() {
|
|
775
|
+
"use strict";
|
|
776
|
+
init_esm_shims();
|
|
777
|
+
(function(TraceFlags2) {
|
|
778
|
+
TraceFlags2[TraceFlags2["NONE"] = 0] = "NONE";
|
|
779
|
+
TraceFlags2[TraceFlags2["SAMPLED"] = 1] = "SAMPLED";
|
|
780
|
+
})(TraceFlags || (TraceFlags = {}));
|
|
781
|
+
}
|
|
782
|
+
});
|
|
783
|
+
|
|
784
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js
|
|
785
|
+
var INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT;
|
|
786
|
+
var init_invalid_span_constants = __esm({
|
|
787
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js"() {
|
|
788
|
+
"use strict";
|
|
789
|
+
init_esm_shims();
|
|
790
|
+
init_trace_flags();
|
|
791
|
+
INVALID_SPANID = "0000000000000000";
|
|
792
|
+
INVALID_TRACEID = "00000000000000000000000000000000";
|
|
793
|
+
INVALID_SPAN_CONTEXT = {
|
|
794
|
+
traceId: INVALID_TRACEID,
|
|
795
|
+
spanId: INVALID_SPANID,
|
|
796
|
+
traceFlags: TraceFlags.NONE
|
|
797
|
+
};
|
|
798
|
+
}
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js
|
|
802
|
+
var NonRecordingSpan;
|
|
803
|
+
var init_NonRecordingSpan = __esm({
|
|
804
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js"() {
|
|
805
|
+
"use strict";
|
|
806
|
+
init_esm_shims();
|
|
807
|
+
init_invalid_span_constants();
|
|
808
|
+
NonRecordingSpan = class {
|
|
809
|
+
constructor(spanContext = INVALID_SPAN_CONTEXT) {
|
|
810
|
+
this._spanContext = spanContext;
|
|
811
|
+
}
|
|
812
|
+
// Returns a SpanContext.
|
|
813
|
+
spanContext() {
|
|
814
|
+
return this._spanContext;
|
|
815
|
+
}
|
|
816
|
+
// By default does nothing
|
|
817
|
+
setAttribute(_key, _value) {
|
|
818
|
+
return this;
|
|
819
|
+
}
|
|
820
|
+
// By default does nothing
|
|
821
|
+
setAttributes(_attributes) {
|
|
822
|
+
return this;
|
|
823
|
+
}
|
|
824
|
+
// By default does nothing
|
|
825
|
+
addEvent(_name, _attributes) {
|
|
826
|
+
return this;
|
|
827
|
+
}
|
|
828
|
+
addLink(_link) {
|
|
829
|
+
return this;
|
|
830
|
+
}
|
|
831
|
+
addLinks(_links) {
|
|
832
|
+
return this;
|
|
833
|
+
}
|
|
834
|
+
// By default does nothing
|
|
835
|
+
setStatus(_status) {
|
|
836
|
+
return this;
|
|
837
|
+
}
|
|
838
|
+
// By default does nothing
|
|
839
|
+
updateName(_name) {
|
|
840
|
+
return this;
|
|
841
|
+
}
|
|
842
|
+
// By default does nothing
|
|
843
|
+
end(_endTime) {
|
|
844
|
+
}
|
|
845
|
+
// isRecording always returns false for NonRecordingSpan.
|
|
846
|
+
isRecording() {
|
|
847
|
+
return false;
|
|
848
|
+
}
|
|
849
|
+
// By default does nothing
|
|
850
|
+
recordException(_exception, _time) {
|
|
851
|
+
}
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
});
|
|
855
|
+
|
|
856
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js
|
|
857
|
+
function getSpan(context2) {
|
|
858
|
+
return context2.getValue(SPAN_KEY) || void 0;
|
|
859
|
+
}
|
|
860
|
+
function getActiveSpan() {
|
|
861
|
+
return getSpan(ContextAPI.getInstance().active());
|
|
862
|
+
}
|
|
863
|
+
function setSpan(context2, span) {
|
|
864
|
+
return context2.setValue(SPAN_KEY, span);
|
|
865
|
+
}
|
|
866
|
+
function deleteSpan(context2) {
|
|
867
|
+
return context2.deleteValue(SPAN_KEY);
|
|
868
|
+
}
|
|
869
|
+
function setSpanContext(context2, spanContext) {
|
|
870
|
+
return setSpan(context2, new NonRecordingSpan(spanContext));
|
|
871
|
+
}
|
|
872
|
+
function getSpanContext(context2) {
|
|
873
|
+
var _a;
|
|
874
|
+
return (_a = getSpan(context2)) === null || _a === void 0 ? void 0 : _a.spanContext();
|
|
875
|
+
}
|
|
876
|
+
var SPAN_KEY;
|
|
877
|
+
var init_context_utils = __esm({
|
|
878
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js"() {
|
|
879
|
+
"use strict";
|
|
880
|
+
init_esm_shims();
|
|
881
|
+
init_context();
|
|
882
|
+
init_NonRecordingSpan();
|
|
883
|
+
init_context2();
|
|
884
|
+
SPAN_KEY = createContextKey("OpenTelemetry Context Key SPAN");
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
|
|
888
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js
|
|
889
|
+
function isValidHex(id, length) {
|
|
890
|
+
if (typeof id !== "string" || id.length !== length)
|
|
891
|
+
return false;
|
|
892
|
+
let r = 0;
|
|
893
|
+
for (let i = 0; i < id.length; i += 4) {
|
|
894
|
+
r += (isHex[id.charCodeAt(i)] | 0) + (isHex[id.charCodeAt(i + 1)] | 0) + (isHex[id.charCodeAt(i + 2)] | 0) + (isHex[id.charCodeAt(i + 3)] | 0);
|
|
895
|
+
}
|
|
896
|
+
return r === length;
|
|
897
|
+
}
|
|
898
|
+
function isValidTraceId(traceId) {
|
|
899
|
+
return isValidHex(traceId, 32) && traceId !== INVALID_TRACEID;
|
|
900
|
+
}
|
|
901
|
+
function isValidSpanId(spanId) {
|
|
902
|
+
return isValidHex(spanId, 16) && spanId !== INVALID_SPANID;
|
|
903
|
+
}
|
|
904
|
+
function isSpanContextValid(spanContext) {
|
|
905
|
+
return isValidTraceId(spanContext.traceId) && isValidSpanId(spanContext.spanId);
|
|
906
|
+
}
|
|
907
|
+
function wrapSpanContext(spanContext) {
|
|
908
|
+
return new NonRecordingSpan(spanContext);
|
|
909
|
+
}
|
|
910
|
+
var isHex;
|
|
911
|
+
var init_spancontext_utils = __esm({
|
|
912
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js"() {
|
|
913
|
+
"use strict";
|
|
914
|
+
init_esm_shims();
|
|
915
|
+
init_invalid_span_constants();
|
|
916
|
+
init_NonRecordingSpan();
|
|
917
|
+
isHex = new Uint8Array([
|
|
918
|
+
0,
|
|
919
|
+
0,
|
|
920
|
+
0,
|
|
921
|
+
0,
|
|
922
|
+
0,
|
|
923
|
+
0,
|
|
924
|
+
0,
|
|
925
|
+
0,
|
|
926
|
+
0,
|
|
927
|
+
0,
|
|
928
|
+
0,
|
|
929
|
+
0,
|
|
930
|
+
0,
|
|
931
|
+
0,
|
|
932
|
+
0,
|
|
933
|
+
0,
|
|
934
|
+
0,
|
|
935
|
+
0,
|
|
936
|
+
0,
|
|
937
|
+
0,
|
|
938
|
+
0,
|
|
939
|
+
0,
|
|
940
|
+
0,
|
|
941
|
+
0,
|
|
942
|
+
0,
|
|
943
|
+
0,
|
|
944
|
+
0,
|
|
945
|
+
0,
|
|
946
|
+
0,
|
|
947
|
+
0,
|
|
948
|
+
0,
|
|
949
|
+
0,
|
|
950
|
+
0,
|
|
951
|
+
0,
|
|
952
|
+
0,
|
|
953
|
+
0,
|
|
954
|
+
0,
|
|
955
|
+
0,
|
|
956
|
+
0,
|
|
957
|
+
0,
|
|
958
|
+
0,
|
|
959
|
+
0,
|
|
960
|
+
0,
|
|
961
|
+
0,
|
|
962
|
+
0,
|
|
963
|
+
0,
|
|
964
|
+
0,
|
|
965
|
+
0,
|
|
966
|
+
1,
|
|
967
|
+
1,
|
|
968
|
+
1,
|
|
969
|
+
1,
|
|
970
|
+
1,
|
|
971
|
+
1,
|
|
972
|
+
1,
|
|
973
|
+
1,
|
|
974
|
+
1,
|
|
975
|
+
1,
|
|
976
|
+
0,
|
|
977
|
+
0,
|
|
978
|
+
0,
|
|
979
|
+
0,
|
|
980
|
+
0,
|
|
981
|
+
0,
|
|
982
|
+
0,
|
|
983
|
+
1,
|
|
984
|
+
1,
|
|
985
|
+
1,
|
|
986
|
+
1,
|
|
987
|
+
1,
|
|
988
|
+
1,
|
|
989
|
+
0,
|
|
990
|
+
0,
|
|
991
|
+
0,
|
|
992
|
+
0,
|
|
993
|
+
0,
|
|
994
|
+
0,
|
|
995
|
+
0,
|
|
996
|
+
0,
|
|
997
|
+
0,
|
|
998
|
+
0,
|
|
999
|
+
0,
|
|
1000
|
+
0,
|
|
1001
|
+
0,
|
|
1002
|
+
0,
|
|
1003
|
+
0,
|
|
1004
|
+
0,
|
|
1005
|
+
0,
|
|
1006
|
+
0,
|
|
1007
|
+
0,
|
|
1008
|
+
0,
|
|
1009
|
+
0,
|
|
1010
|
+
0,
|
|
1011
|
+
0,
|
|
1012
|
+
0,
|
|
1013
|
+
0,
|
|
1014
|
+
0,
|
|
1015
|
+
1,
|
|
1016
|
+
1,
|
|
1017
|
+
1,
|
|
1018
|
+
1,
|
|
1019
|
+
1,
|
|
1020
|
+
1
|
|
1021
|
+
]);
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
|
|
1025
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js
|
|
1026
|
+
function isSpanContext(spanContext) {
|
|
1027
|
+
return spanContext !== null && typeof spanContext === "object" && "spanId" in spanContext && typeof spanContext["spanId"] === "string" && "traceId" in spanContext && typeof spanContext["traceId"] === "string" && "traceFlags" in spanContext && typeof spanContext["traceFlags"] === "number";
|
|
1028
|
+
}
|
|
1029
|
+
var contextApi, NoopTracer;
|
|
1030
|
+
var init_NoopTracer = __esm({
|
|
1031
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js"() {
|
|
1032
|
+
"use strict";
|
|
1033
|
+
init_esm_shims();
|
|
1034
|
+
init_context2();
|
|
1035
|
+
init_context_utils();
|
|
1036
|
+
init_NonRecordingSpan();
|
|
1037
|
+
init_spancontext_utils();
|
|
1038
|
+
contextApi = ContextAPI.getInstance();
|
|
1039
|
+
NoopTracer = class {
|
|
1040
|
+
// startSpan starts a noop span.
|
|
1041
|
+
startSpan(name, options, context2 = contextApi.active()) {
|
|
1042
|
+
const root = Boolean(options === null || options === void 0 ? void 0 : options.root);
|
|
1043
|
+
if (root) {
|
|
1044
|
+
return new NonRecordingSpan();
|
|
1045
|
+
}
|
|
1046
|
+
const parentFromContext = context2 && getSpanContext(context2);
|
|
1047
|
+
if (isSpanContext(parentFromContext) && isSpanContextValid(parentFromContext)) {
|
|
1048
|
+
return new NonRecordingSpan(parentFromContext);
|
|
1049
|
+
} else {
|
|
1050
|
+
return new NonRecordingSpan();
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
startActiveSpan(name, arg2, arg3, arg4) {
|
|
1054
|
+
let opts;
|
|
1055
|
+
let ctx;
|
|
1056
|
+
let fn;
|
|
1057
|
+
if (arguments.length < 2) {
|
|
1058
|
+
return;
|
|
1059
|
+
} else if (arguments.length === 2) {
|
|
1060
|
+
fn = arg2;
|
|
1061
|
+
} else if (arguments.length === 3) {
|
|
1062
|
+
opts = arg2;
|
|
1063
|
+
fn = arg3;
|
|
1064
|
+
} else {
|
|
1065
|
+
opts = arg2;
|
|
1066
|
+
ctx = arg3;
|
|
1067
|
+
fn = arg4;
|
|
1068
|
+
}
|
|
1069
|
+
const parentContext = ctx !== null && ctx !== void 0 ? ctx : contextApi.active();
|
|
1070
|
+
const span = this.startSpan(name, opts, parentContext);
|
|
1071
|
+
const contextWithSpanSet = setSpan(parentContext, span);
|
|
1072
|
+
return contextApi.with(contextWithSpanSet, fn, void 0, span);
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
|
|
1078
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js
|
|
1079
|
+
var NOOP_TRACER, ProxyTracer;
|
|
1080
|
+
var init_ProxyTracer = __esm({
|
|
1081
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js"() {
|
|
1082
|
+
"use strict";
|
|
1083
|
+
init_esm_shims();
|
|
1084
|
+
init_NoopTracer();
|
|
1085
|
+
NOOP_TRACER = new NoopTracer();
|
|
1086
|
+
ProxyTracer = class {
|
|
1087
|
+
constructor(provider, name, version, options) {
|
|
1088
|
+
this._provider = provider;
|
|
1089
|
+
this.name = name;
|
|
1090
|
+
this.version = version;
|
|
1091
|
+
this.options = options;
|
|
1092
|
+
}
|
|
1093
|
+
startSpan(name, options, context2) {
|
|
1094
|
+
return this._getTracer().startSpan(name, options, context2);
|
|
1095
|
+
}
|
|
1096
|
+
startActiveSpan(_name, _options, _context, _fn) {
|
|
1097
|
+
const tracer = this._getTracer();
|
|
1098
|
+
return Reflect.apply(tracer.startActiveSpan, tracer, arguments);
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* Try to get a tracer from the proxy tracer provider.
|
|
1102
|
+
* If the proxy tracer provider has no delegate, return a noop tracer.
|
|
1103
|
+
*/
|
|
1104
|
+
_getTracer() {
|
|
1105
|
+
if (this._delegate) {
|
|
1106
|
+
return this._delegate;
|
|
1107
|
+
}
|
|
1108
|
+
const tracer = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
1109
|
+
if (!tracer) {
|
|
1110
|
+
return NOOP_TRACER;
|
|
1111
|
+
}
|
|
1112
|
+
this._delegate = tracer;
|
|
1113
|
+
return this._delegate;
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
}
|
|
1117
|
+
});
|
|
1118
|
+
|
|
1119
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js
|
|
1120
|
+
var NoopTracerProvider;
|
|
1121
|
+
var init_NoopTracerProvider = __esm({
|
|
1122
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js"() {
|
|
1123
|
+
"use strict";
|
|
1124
|
+
init_esm_shims();
|
|
1125
|
+
init_NoopTracer();
|
|
1126
|
+
NoopTracerProvider = class {
|
|
1127
|
+
getTracer(_name, _version, _options) {
|
|
1128
|
+
return new NoopTracer();
|
|
1129
|
+
}
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
|
|
1134
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js
|
|
1135
|
+
var NOOP_TRACER_PROVIDER, ProxyTracerProvider;
|
|
1136
|
+
var init_ProxyTracerProvider = __esm({
|
|
1137
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js"() {
|
|
1138
|
+
"use strict";
|
|
1139
|
+
init_esm_shims();
|
|
1140
|
+
init_ProxyTracer();
|
|
1141
|
+
init_NoopTracerProvider();
|
|
1142
|
+
NOOP_TRACER_PROVIDER = new NoopTracerProvider();
|
|
1143
|
+
ProxyTracerProvider = class {
|
|
1144
|
+
/**
|
|
1145
|
+
* Get a {@link ProxyTracer}
|
|
1146
|
+
*/
|
|
1147
|
+
getTracer(name, version, options) {
|
|
1148
|
+
var _a;
|
|
1149
|
+
return (_a = this.getDelegateTracer(name, version, options)) !== null && _a !== void 0 ? _a : new ProxyTracer(this, name, version, options);
|
|
1150
|
+
}
|
|
1151
|
+
getDelegate() {
|
|
1152
|
+
var _a;
|
|
1153
|
+
return (_a = this._delegate) !== null && _a !== void 0 ? _a : NOOP_TRACER_PROVIDER;
|
|
1154
|
+
}
|
|
1155
|
+
/**
|
|
1156
|
+
* Set the delegate tracer provider
|
|
1157
|
+
*/
|
|
1158
|
+
setDelegate(delegate) {
|
|
1159
|
+
this._delegate = delegate;
|
|
1160
|
+
}
|
|
1161
|
+
getDelegateTracer(name, version, options) {
|
|
1162
|
+
var _a;
|
|
1163
|
+
return (_a = this._delegate) === null || _a === void 0 ? void 0 : _a.getTracer(name, version, options);
|
|
1164
|
+
}
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1168
|
+
|
|
1169
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js
|
|
1170
|
+
var SamplingDecision;
|
|
1171
|
+
var init_SamplingResult = __esm({
|
|
1172
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js"() {
|
|
1173
|
+
"use strict";
|
|
1174
|
+
init_esm_shims();
|
|
1175
|
+
(function(SamplingDecision2) {
|
|
1176
|
+
SamplingDecision2[SamplingDecision2["NOT_RECORD"] = 0] = "NOT_RECORD";
|
|
1177
|
+
SamplingDecision2[SamplingDecision2["RECORD"] = 1] = "RECORD";
|
|
1178
|
+
SamplingDecision2[SamplingDecision2["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
|
|
1179
|
+
})(SamplingDecision || (SamplingDecision = {}));
|
|
1180
|
+
}
|
|
1181
|
+
});
|
|
1182
|
+
|
|
1183
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js
|
|
1184
|
+
var SpanKind;
|
|
1185
|
+
var init_span_kind = __esm({
|
|
1186
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js"() {
|
|
1187
|
+
"use strict";
|
|
1188
|
+
init_esm_shims();
|
|
1189
|
+
(function(SpanKind2) {
|
|
1190
|
+
SpanKind2[SpanKind2["INTERNAL"] = 0] = "INTERNAL";
|
|
1191
|
+
SpanKind2[SpanKind2["SERVER"] = 1] = "SERVER";
|
|
1192
|
+
SpanKind2[SpanKind2["CLIENT"] = 2] = "CLIENT";
|
|
1193
|
+
SpanKind2[SpanKind2["PRODUCER"] = 3] = "PRODUCER";
|
|
1194
|
+
SpanKind2[SpanKind2["CONSUMER"] = 4] = "CONSUMER";
|
|
1195
|
+
})(SpanKind || (SpanKind = {}));
|
|
1196
|
+
}
|
|
1197
|
+
});
|
|
1198
|
+
|
|
1199
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/status.js
|
|
1200
|
+
var SpanStatusCode;
|
|
1201
|
+
var init_status = __esm({
|
|
1202
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/status.js"() {
|
|
1203
|
+
"use strict";
|
|
1204
|
+
init_esm_shims();
|
|
1205
|
+
(function(SpanStatusCode2) {
|
|
1206
|
+
SpanStatusCode2[SpanStatusCode2["UNSET"] = 0] = "UNSET";
|
|
1207
|
+
SpanStatusCode2[SpanStatusCode2["OK"] = 1] = "OK";
|
|
1208
|
+
SpanStatusCode2[SpanStatusCode2["ERROR"] = 2] = "ERROR";
|
|
1209
|
+
})(SpanStatusCode || (SpanStatusCode = {}));
|
|
1210
|
+
}
|
|
1211
|
+
});
|
|
1212
|
+
|
|
1213
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js
|
|
1214
|
+
function validateKey(key) {
|
|
1215
|
+
return VALID_KEY_REGEX.test(key);
|
|
1216
|
+
}
|
|
1217
|
+
function validateValue(value) {
|
|
1218
|
+
return VALID_VALUE_BASE_REGEX.test(value) && !INVALID_VALUE_COMMA_EQUAL_REGEX.test(value);
|
|
1219
|
+
}
|
|
1220
|
+
var VALID_KEY_CHAR_RANGE, VALID_KEY, VALID_VENDOR_KEY, VALID_KEY_REGEX, VALID_VALUE_BASE_REGEX, INVALID_VALUE_COMMA_EQUAL_REGEX;
|
|
1221
|
+
var init_tracestate_validators = __esm({
|
|
1222
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js"() {
|
|
1223
|
+
"use strict";
|
|
1224
|
+
init_esm_shims();
|
|
1225
|
+
VALID_KEY_CHAR_RANGE = "[_0-9a-z-*/]";
|
|
1226
|
+
VALID_KEY = `[a-z]${VALID_KEY_CHAR_RANGE}{0,255}`;
|
|
1227
|
+
VALID_VENDOR_KEY = `[a-z0-9]${VALID_KEY_CHAR_RANGE}{0,240}@[a-z]${VALID_KEY_CHAR_RANGE}{0,13}`;
|
|
1228
|
+
VALID_KEY_REGEX = new RegExp(`^(?:${VALID_KEY}|${VALID_VENDOR_KEY})$`);
|
|
1229
|
+
VALID_VALUE_BASE_REGEX = /^[ -~]{0,255}[!-~]$/;
|
|
1230
|
+
INVALID_VALUE_COMMA_EQUAL_REGEX = /,|=/;
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
|
|
1234
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js
|
|
1235
|
+
var MAX_TRACE_STATE_ITEMS, MAX_TRACE_STATE_LEN, LIST_MEMBERS_SEPARATOR, LIST_MEMBER_KEY_VALUE_SPLITTER, TraceStateImpl;
|
|
1236
|
+
var init_tracestate_impl = __esm({
|
|
1237
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js"() {
|
|
1238
|
+
"use strict";
|
|
1239
|
+
init_esm_shims();
|
|
1240
|
+
init_tracestate_validators();
|
|
1241
|
+
MAX_TRACE_STATE_ITEMS = 32;
|
|
1242
|
+
MAX_TRACE_STATE_LEN = 512;
|
|
1243
|
+
LIST_MEMBERS_SEPARATOR = ",";
|
|
1244
|
+
LIST_MEMBER_KEY_VALUE_SPLITTER = "=";
|
|
1245
|
+
TraceStateImpl = class _TraceStateImpl {
|
|
1246
|
+
constructor(rawTraceState) {
|
|
1247
|
+
this._internalState = /* @__PURE__ */ new Map();
|
|
1248
|
+
if (rawTraceState)
|
|
1249
|
+
this._parse(rawTraceState);
|
|
1250
|
+
}
|
|
1251
|
+
set(key, value) {
|
|
1252
|
+
const traceState = this._clone();
|
|
1253
|
+
if (traceState._internalState.has(key)) {
|
|
1254
|
+
traceState._internalState.delete(key);
|
|
1255
|
+
}
|
|
1256
|
+
traceState._internalState.set(key, value);
|
|
1257
|
+
return traceState;
|
|
1258
|
+
}
|
|
1259
|
+
unset(key) {
|
|
1260
|
+
const traceState = this._clone();
|
|
1261
|
+
traceState._internalState.delete(key);
|
|
1262
|
+
return traceState;
|
|
1263
|
+
}
|
|
1264
|
+
get(key) {
|
|
1265
|
+
return this._internalState.get(key);
|
|
1266
|
+
}
|
|
1267
|
+
serialize() {
|
|
1268
|
+
return Array.from(this._internalState.keys()).reduceRight((agg, key) => {
|
|
1269
|
+
agg.push(key + LIST_MEMBER_KEY_VALUE_SPLITTER + this.get(key));
|
|
1270
|
+
return agg;
|
|
1271
|
+
}, []).join(LIST_MEMBERS_SEPARATOR);
|
|
1272
|
+
}
|
|
1273
|
+
_parse(rawTraceState) {
|
|
1274
|
+
if (rawTraceState.length > MAX_TRACE_STATE_LEN)
|
|
1275
|
+
return;
|
|
1276
|
+
this._internalState = rawTraceState.split(LIST_MEMBERS_SEPARATOR).reduceRight((agg, part) => {
|
|
1277
|
+
const listMember = part.trim();
|
|
1278
|
+
const i = listMember.indexOf(LIST_MEMBER_KEY_VALUE_SPLITTER);
|
|
1279
|
+
if (i !== -1) {
|
|
1280
|
+
const key = listMember.slice(0, i);
|
|
1281
|
+
const value = listMember.slice(i + 1, part.length);
|
|
1282
|
+
if (validateKey(key) && validateValue(value)) {
|
|
1283
|
+
agg.set(key, value);
|
|
1284
|
+
} else {
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
return agg;
|
|
1288
|
+
}, /* @__PURE__ */ new Map());
|
|
1289
|
+
if (this._internalState.size > MAX_TRACE_STATE_ITEMS) {
|
|
1290
|
+
this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, MAX_TRACE_STATE_ITEMS));
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
// @ts-expect-error TS6133 Accessed in tests only.
|
|
1294
|
+
_keys() {
|
|
1295
|
+
return Array.from(this._internalState.keys()).reverse();
|
|
1296
|
+
}
|
|
1297
|
+
_clone() {
|
|
1298
|
+
const traceState = new _TraceStateImpl();
|
|
1299
|
+
traceState._internalState = new Map(this._internalState);
|
|
1300
|
+
return traceState;
|
|
1301
|
+
}
|
|
1302
|
+
};
|
|
1303
|
+
}
|
|
1304
|
+
});
|
|
1305
|
+
|
|
1306
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js
|
|
1307
|
+
function createTraceState(rawTraceState) {
|
|
1308
|
+
return new TraceStateImpl(rawTraceState);
|
|
1309
|
+
}
|
|
1310
|
+
var init_utils2 = __esm({
|
|
1311
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js"() {
|
|
1312
|
+
"use strict";
|
|
1313
|
+
init_esm_shims();
|
|
1314
|
+
init_tracestate_impl();
|
|
1315
|
+
}
|
|
1316
|
+
});
|
|
1317
|
+
|
|
1318
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context-api.js
|
|
1319
|
+
var context;
|
|
1320
|
+
var init_context_api = __esm({
|
|
1321
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context-api.js"() {
|
|
1322
|
+
"use strict";
|
|
1323
|
+
init_esm_shims();
|
|
1324
|
+
init_context2();
|
|
1325
|
+
context = ContextAPI.getInstance();
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
|
|
1329
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js
|
|
1330
|
+
var NoopMeterProvider, NOOP_METER_PROVIDER;
|
|
1331
|
+
var init_NoopMeterProvider = __esm({
|
|
1332
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js"() {
|
|
1333
|
+
"use strict";
|
|
1334
|
+
init_esm_shims();
|
|
1335
|
+
init_NoopMeter();
|
|
1336
|
+
NoopMeterProvider = class {
|
|
1337
|
+
getMeter(_name, _version, _options) {
|
|
1338
|
+
return NOOP_METER;
|
|
1339
|
+
}
|
|
1340
|
+
};
|
|
1341
|
+
NOOP_METER_PROVIDER = new NoopMeterProvider();
|
|
1342
|
+
}
|
|
1343
|
+
});
|
|
1344
|
+
|
|
1345
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/metrics.js
|
|
1346
|
+
var API_NAME3, MetricsAPI;
|
|
1347
|
+
var init_metrics = __esm({
|
|
1348
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/metrics.js"() {
|
|
1349
|
+
"use strict";
|
|
1350
|
+
init_esm_shims();
|
|
1351
|
+
init_NoopMeterProvider();
|
|
1352
|
+
init_global_utils();
|
|
1353
|
+
init_diag();
|
|
1354
|
+
API_NAME3 = "metrics";
|
|
1355
|
+
MetricsAPI = class _MetricsAPI {
|
|
1356
|
+
/** Empty private constructor prevents end users from constructing a new instance of the API */
|
|
1357
|
+
constructor() {
|
|
1358
|
+
}
|
|
1359
|
+
/** Get the singleton instance of the Metrics API */
|
|
1360
|
+
static getInstance() {
|
|
1361
|
+
if (!this._instance) {
|
|
1362
|
+
this._instance = new _MetricsAPI();
|
|
1363
|
+
}
|
|
1364
|
+
return this._instance;
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Set the current global meter provider.
|
|
1368
|
+
* Returns true if the meter provider was successfully registered, else false.
|
|
1369
|
+
*/
|
|
1370
|
+
setGlobalMeterProvider(provider) {
|
|
1371
|
+
return registerGlobal(API_NAME3, provider, DiagAPI.instance());
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* Returns the global meter provider.
|
|
1375
|
+
*/
|
|
1376
|
+
getMeterProvider() {
|
|
1377
|
+
return getGlobal(API_NAME3) || NOOP_METER_PROVIDER;
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* Returns a meter from the global meter provider.
|
|
1381
|
+
*/
|
|
1382
|
+
getMeter(name, version, options) {
|
|
1383
|
+
return this.getMeterProvider().getMeter(name, version, options);
|
|
1384
|
+
}
|
|
1385
|
+
/** Remove the global meter provider */
|
|
1386
|
+
disable() {
|
|
1387
|
+
unregisterGlobal(API_NAME3, DiagAPI.instance());
|
|
1388
|
+
}
|
|
1389
|
+
};
|
|
1390
|
+
}
|
|
1391
|
+
});
|
|
1392
|
+
|
|
1393
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics-api.js
|
|
1394
|
+
var metrics;
|
|
1395
|
+
var init_metrics_api = __esm({
|
|
1396
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics-api.js"() {
|
|
1397
|
+
"use strict";
|
|
1398
|
+
init_esm_shims();
|
|
1399
|
+
init_metrics();
|
|
1400
|
+
metrics = MetricsAPI.getInstance();
|
|
1401
|
+
}
|
|
1402
|
+
});
|
|
1403
|
+
|
|
1404
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js
|
|
1405
|
+
var NoopTextMapPropagator;
|
|
1406
|
+
var init_NoopTextMapPropagator = __esm({
|
|
1407
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js"() {
|
|
1408
|
+
"use strict";
|
|
1409
|
+
init_esm_shims();
|
|
1410
|
+
NoopTextMapPropagator = class {
|
|
1411
|
+
/** Noop inject function does nothing */
|
|
1412
|
+
inject(_context, _carrier) {
|
|
1413
|
+
}
|
|
1414
|
+
/** Noop extract function does nothing and returns the input context */
|
|
1415
|
+
extract(context2, _carrier) {
|
|
1416
|
+
return context2;
|
|
1417
|
+
}
|
|
1418
|
+
fields() {
|
|
1419
|
+
return [];
|
|
1420
|
+
}
|
|
1421
|
+
};
|
|
1422
|
+
}
|
|
1423
|
+
});
|
|
1424
|
+
|
|
1425
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js
|
|
1426
|
+
function getBaggage(context2) {
|
|
1427
|
+
return context2.getValue(BAGGAGE_KEY) || void 0;
|
|
1428
|
+
}
|
|
1429
|
+
function getActiveBaggage() {
|
|
1430
|
+
return getBaggage(ContextAPI.getInstance().active());
|
|
1431
|
+
}
|
|
1432
|
+
function setBaggage(context2, baggage) {
|
|
1433
|
+
return context2.setValue(BAGGAGE_KEY, baggage);
|
|
1434
|
+
}
|
|
1435
|
+
function deleteBaggage(context2) {
|
|
1436
|
+
return context2.deleteValue(BAGGAGE_KEY);
|
|
1437
|
+
}
|
|
1438
|
+
var BAGGAGE_KEY;
|
|
1439
|
+
var init_context_helpers = __esm({
|
|
1440
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js"() {
|
|
1441
|
+
"use strict";
|
|
1442
|
+
init_esm_shims();
|
|
1443
|
+
init_context2();
|
|
1444
|
+
init_context();
|
|
1445
|
+
BAGGAGE_KEY = createContextKey("OpenTelemetry Baggage Key");
|
|
1446
|
+
}
|
|
1447
|
+
});
|
|
1448
|
+
|
|
1449
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/propagation.js
|
|
1450
|
+
var API_NAME4, NOOP_TEXT_MAP_PROPAGATOR, PropagationAPI;
|
|
1451
|
+
var init_propagation = __esm({
|
|
1452
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/propagation.js"() {
|
|
1453
|
+
"use strict";
|
|
1454
|
+
init_esm_shims();
|
|
1455
|
+
init_global_utils();
|
|
1456
|
+
init_NoopTextMapPropagator();
|
|
1457
|
+
init_TextMapPropagator();
|
|
1458
|
+
init_context_helpers();
|
|
1459
|
+
init_utils();
|
|
1460
|
+
init_diag();
|
|
1461
|
+
API_NAME4 = "propagation";
|
|
1462
|
+
NOOP_TEXT_MAP_PROPAGATOR = new NoopTextMapPropagator();
|
|
1463
|
+
PropagationAPI = class _PropagationAPI {
|
|
1464
|
+
/** Empty private constructor prevents end users from constructing a new instance of the API */
|
|
1465
|
+
constructor() {
|
|
1466
|
+
this.createBaggage = createBaggage;
|
|
1467
|
+
this.getBaggage = getBaggage;
|
|
1468
|
+
this.getActiveBaggage = getActiveBaggage;
|
|
1469
|
+
this.setBaggage = setBaggage;
|
|
1470
|
+
this.deleteBaggage = deleteBaggage;
|
|
1471
|
+
}
|
|
1472
|
+
/** Get the singleton instance of the Propagator API */
|
|
1473
|
+
static getInstance() {
|
|
1474
|
+
if (!this._instance) {
|
|
1475
|
+
this._instance = new _PropagationAPI();
|
|
1476
|
+
}
|
|
1477
|
+
return this._instance;
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* Set the current propagator.
|
|
1481
|
+
*
|
|
1482
|
+
* @returns true if the propagator was successfully registered, else false
|
|
1483
|
+
*/
|
|
1484
|
+
setGlobalPropagator(propagator) {
|
|
1485
|
+
return registerGlobal(API_NAME4, propagator, DiagAPI.instance());
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* Inject context into a carrier to be propagated inter-process
|
|
1489
|
+
*
|
|
1490
|
+
* @param context Context carrying tracing data to inject
|
|
1491
|
+
* @param carrier carrier to inject context into
|
|
1492
|
+
* @param setter Function used to set values on the carrier
|
|
1493
|
+
*/
|
|
1494
|
+
inject(context2, carrier, setter = defaultTextMapSetter) {
|
|
1495
|
+
return this._getGlobalPropagator().inject(context2, carrier, setter);
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* Extract context from a carrier
|
|
1499
|
+
*
|
|
1500
|
+
* @param context Context which the newly created context will inherit from
|
|
1501
|
+
* @param carrier Carrier to extract context from
|
|
1502
|
+
* @param getter Function used to extract keys from a carrier
|
|
1503
|
+
*/
|
|
1504
|
+
extract(context2, carrier, getter = defaultTextMapGetter) {
|
|
1505
|
+
return this._getGlobalPropagator().extract(context2, carrier, getter);
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
* Return a list of all fields which may be used by the propagator.
|
|
1509
|
+
*/
|
|
1510
|
+
fields() {
|
|
1511
|
+
return this._getGlobalPropagator().fields();
|
|
1512
|
+
}
|
|
1513
|
+
/** Remove the global propagator */
|
|
1514
|
+
disable() {
|
|
1515
|
+
unregisterGlobal(API_NAME4, DiagAPI.instance());
|
|
1516
|
+
}
|
|
1517
|
+
_getGlobalPropagator() {
|
|
1518
|
+
return getGlobal(API_NAME4) || NOOP_TEXT_MAP_PROPAGATOR;
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
});
|
|
1523
|
+
|
|
1524
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation-api.js
|
|
1525
|
+
var propagation;
|
|
1526
|
+
var init_propagation_api = __esm({
|
|
1527
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation-api.js"() {
|
|
1528
|
+
"use strict";
|
|
1529
|
+
init_esm_shims();
|
|
1530
|
+
init_propagation();
|
|
1531
|
+
propagation = PropagationAPI.getInstance();
|
|
1532
|
+
}
|
|
1533
|
+
});
|
|
1534
|
+
|
|
1535
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/trace.js
|
|
1536
|
+
var API_NAME5, TraceAPI;
|
|
1537
|
+
var init_trace = __esm({
|
|
1538
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/trace.js"() {
|
|
1539
|
+
"use strict";
|
|
1540
|
+
init_esm_shims();
|
|
1541
|
+
init_global_utils();
|
|
1542
|
+
init_ProxyTracerProvider();
|
|
1543
|
+
init_spancontext_utils();
|
|
1544
|
+
init_context_utils();
|
|
1545
|
+
init_diag();
|
|
1546
|
+
API_NAME5 = "trace";
|
|
1547
|
+
TraceAPI = class _TraceAPI {
|
|
1548
|
+
/** Empty private constructor prevents end users from constructing a new instance of the API */
|
|
1549
|
+
constructor() {
|
|
1550
|
+
this._proxyTracerProvider = new ProxyTracerProvider();
|
|
1551
|
+
this.wrapSpanContext = wrapSpanContext;
|
|
1552
|
+
this.isSpanContextValid = isSpanContextValid;
|
|
1553
|
+
this.deleteSpan = deleteSpan;
|
|
1554
|
+
this.getSpan = getSpan;
|
|
1555
|
+
this.getActiveSpan = getActiveSpan;
|
|
1556
|
+
this.getSpanContext = getSpanContext;
|
|
1557
|
+
this.setSpan = setSpan;
|
|
1558
|
+
this.setSpanContext = setSpanContext;
|
|
1559
|
+
}
|
|
1560
|
+
/** Get the singleton instance of the Trace API */
|
|
1561
|
+
static getInstance() {
|
|
1562
|
+
if (!this._instance) {
|
|
1563
|
+
this._instance = new _TraceAPI();
|
|
1564
|
+
}
|
|
1565
|
+
return this._instance;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* Set the current global tracer.
|
|
1569
|
+
*
|
|
1570
|
+
* @returns true if the tracer provider was successfully registered, else false
|
|
1571
|
+
*/
|
|
1572
|
+
setGlobalTracerProvider(provider) {
|
|
1573
|
+
const success = registerGlobal(API_NAME5, this._proxyTracerProvider, DiagAPI.instance());
|
|
1574
|
+
if (success) {
|
|
1575
|
+
this._proxyTracerProvider.setDelegate(provider);
|
|
1576
|
+
}
|
|
1577
|
+
return success;
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* Returns the global tracer provider.
|
|
1581
|
+
*/
|
|
1582
|
+
getTracerProvider() {
|
|
1583
|
+
return getGlobal(API_NAME5) || this._proxyTracerProvider;
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* Returns a tracer from the global tracer provider.
|
|
1587
|
+
*/
|
|
1588
|
+
getTracer(name, version) {
|
|
1589
|
+
return this.getTracerProvider().getTracer(name, version);
|
|
1590
|
+
}
|
|
1591
|
+
/** Remove the global tracer provider */
|
|
1592
|
+
disable() {
|
|
1593
|
+
unregisterGlobal(API_NAME5, DiagAPI.instance());
|
|
1594
|
+
this._proxyTracerProvider = new ProxyTracerProvider();
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
}
|
|
1598
|
+
});
|
|
1599
|
+
|
|
1600
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace-api.js
|
|
1601
|
+
var trace;
|
|
1602
|
+
var init_trace_api = __esm({
|
|
1603
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace-api.js"() {
|
|
1604
|
+
"use strict";
|
|
1605
|
+
init_esm_shims();
|
|
1606
|
+
init_trace();
|
|
1607
|
+
trace = TraceAPI.getInstance();
|
|
1608
|
+
}
|
|
1609
|
+
});
|
|
1610
|
+
|
|
1611
|
+
// ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/index.js
|
|
1612
|
+
var esm_exports = {};
|
|
1613
|
+
__export(esm_exports, {
|
|
1614
|
+
DiagConsoleLogger: () => DiagConsoleLogger,
|
|
1615
|
+
DiagLogLevel: () => DiagLogLevel,
|
|
1616
|
+
INVALID_SPANID: () => INVALID_SPANID,
|
|
1617
|
+
INVALID_SPAN_CONTEXT: () => INVALID_SPAN_CONTEXT,
|
|
1618
|
+
INVALID_TRACEID: () => INVALID_TRACEID,
|
|
1619
|
+
ProxyTracer: () => ProxyTracer,
|
|
1620
|
+
ProxyTracerProvider: () => ProxyTracerProvider,
|
|
1621
|
+
ROOT_CONTEXT: () => ROOT_CONTEXT,
|
|
1622
|
+
SamplingDecision: () => SamplingDecision,
|
|
1623
|
+
SpanKind: () => SpanKind,
|
|
1624
|
+
SpanStatusCode: () => SpanStatusCode,
|
|
1625
|
+
TraceFlags: () => TraceFlags,
|
|
1626
|
+
ValueType: () => ValueType,
|
|
1627
|
+
baggageEntryMetadataFromString: () => baggageEntryMetadataFromString,
|
|
1628
|
+
context: () => context,
|
|
1629
|
+
createContextKey: () => createContextKey,
|
|
1630
|
+
createNoopMeter: () => createNoopMeter,
|
|
1631
|
+
createTraceState: () => createTraceState,
|
|
1632
|
+
default: () => esm_default,
|
|
1633
|
+
defaultTextMapGetter: () => defaultTextMapGetter,
|
|
1634
|
+
defaultTextMapSetter: () => defaultTextMapSetter,
|
|
1635
|
+
diag: () => diag,
|
|
1636
|
+
isSpanContextValid: () => isSpanContextValid,
|
|
1637
|
+
isValidSpanId: () => isValidSpanId,
|
|
1638
|
+
isValidTraceId: () => isValidTraceId,
|
|
1639
|
+
metrics: () => metrics,
|
|
1640
|
+
propagation: () => propagation,
|
|
1641
|
+
trace: () => trace
|
|
1642
|
+
});
|
|
1643
|
+
var esm_default;
|
|
1644
|
+
var init_esm = __esm({
|
|
1645
|
+
"../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/index.js"() {
|
|
1646
|
+
"use strict";
|
|
1647
|
+
init_esm_shims();
|
|
1648
|
+
init_utils();
|
|
1649
|
+
init_context();
|
|
1650
|
+
init_consoleLogger();
|
|
1651
|
+
init_types();
|
|
1652
|
+
init_NoopMeter();
|
|
1653
|
+
init_Metric();
|
|
1654
|
+
init_TextMapPropagator();
|
|
1655
|
+
init_ProxyTracer();
|
|
1656
|
+
init_ProxyTracerProvider();
|
|
1657
|
+
init_SamplingResult();
|
|
1658
|
+
init_span_kind();
|
|
1659
|
+
init_status();
|
|
1660
|
+
init_trace_flags();
|
|
1661
|
+
init_utils2();
|
|
1662
|
+
init_spancontext_utils();
|
|
1663
|
+
init_invalid_span_constants();
|
|
1664
|
+
init_context_api();
|
|
1665
|
+
init_diag_api();
|
|
1666
|
+
init_metrics_api();
|
|
1667
|
+
init_propagation_api();
|
|
1668
|
+
init_trace_api();
|
|
1669
|
+
esm_default = {
|
|
1670
|
+
context,
|
|
1671
|
+
diag,
|
|
1672
|
+
metrics,
|
|
1673
|
+
propagation,
|
|
1674
|
+
trace
|
|
1675
|
+
};
|
|
1676
|
+
}
|
|
1677
|
+
});
|
|
1678
|
+
|
|
1679
|
+
export {
|
|
1680
|
+
__require,
|
|
1681
|
+
__esm,
|
|
1682
|
+
__commonJS,
|
|
1683
|
+
__export,
|
|
1684
|
+
__toESM,
|
|
1685
|
+
__toCommonJS,
|
|
1686
|
+
init_esm_shims,
|
|
1687
|
+
DiagLogLevel,
|
|
1688
|
+
baggageEntryMetadataFromString,
|
|
1689
|
+
createContextKey,
|
|
1690
|
+
ROOT_CONTEXT,
|
|
1691
|
+
createNoopMeter,
|
|
1692
|
+
TraceFlags,
|
|
1693
|
+
INVALID_TRACEID,
|
|
1694
|
+
INVALID_SPAN_CONTEXT,
|
|
1695
|
+
isValidTraceId,
|
|
1696
|
+
isSpanContextValid,
|
|
1697
|
+
SamplingDecision,
|
|
1698
|
+
SpanKind,
|
|
1699
|
+
SpanStatusCode,
|
|
1700
|
+
context,
|
|
1701
|
+
diag,
|
|
1702
|
+
metrics,
|
|
1703
|
+
propagation,
|
|
1704
|
+
trace,
|
|
1705
|
+
esm_exports,
|
|
1706
|
+
init_esm
|
|
1707
|
+
};
|
|
1708
|
+
//# sourceMappingURL=chunk-BMCQ2T6Q.js.map
|