@ms-cloudpack/telemetry 0.12.5 → 0.12.6
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/NOTICE.txt +23 -23
- package/dist/{chunk-WOBLKGKV.js → chunk-75GF2GHM.js} +1005 -636
- package/dist/chunk-L5FOLV6Z.js +27 -0
- package/dist/{chunk-UQTA3BJ6.js → chunk-WSUFC5PG.js} +17 -9
- package/dist/{customerSDKStats-ROMRNR5Q.js → customerSDKStats-7HOB5ILS.js} +38 -39
- package/dist/{getMachineId-bsd-D7ZSR46W.js → getMachineId-bsd-2JWPEZN3.js} +9 -10
- package/dist/{getMachineId-darwin-KTKY5O4U.js → getMachineId-darwin-TZRDBSRG.js} +9 -10
- package/dist/{getMachineId-linux-P6Q3K5DA.js → getMachineId-linux-YECSJ5QX.js} +8 -9
- package/dist/{getMachineId-unsupported-W2UDCVTC.js → getMachineId-unsupported-SS47XNGG.js} +8 -9
- package/dist/{getMachineId-win-25AGFW6R.js → getMachineId-win-E7SOBEMA.js} +9 -10
- package/dist/httpSender-KZ6RCGP7.js +14 -0
- package/dist/index.js +156 -74
- package/dist/statsbeatExporter-QZUFYAJT.js +14 -0
- package/lib/types/TelemetryOptions.d.ts +1 -1
- package/package.json +9 -9
- package/dist/chunk-JJ3JOBE2.js +0 -28
- package/dist/httpSender-7QK64HWL.js +0 -15
- package/dist/statsbeatExporter-2X64NH77.js +0 -15
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
/** @noprettier - generated file (requires checkIgnorePragma option) */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/* eslint-disable */
|
|
3
|
-
import { createRequire as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
8
|
-
const __dirname = topLevelPath.dirname(__filename);
|
|
4
|
+
import { createRequire as esbuildNodeHelpersCreateRequire } from 'node:module';
|
|
5
|
+
var require = esbuildNodeHelpersCreateRequire(import.meta.url);
|
|
6
|
+
var __filename = import.meta.filename;
|
|
7
|
+
var __dirname = import.meta.dirname;
|
|
9
8
|
import {
|
|
10
9
|
SpanKind,
|
|
11
10
|
SpanStatusCode,
|
|
@@ -20,7 +19,7 @@ import {
|
|
|
20
19
|
diag,
|
|
21
20
|
esm_exports,
|
|
22
21
|
init_esm
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WSUFC5PG.js";
|
|
24
23
|
|
|
25
24
|
// ../../node_modules/.store/ms-npm-2.1.3-81ff3cfac1/package/index.js
|
|
26
25
|
var require_package = __commonJS({
|
|
@@ -142,9 +141,9 @@ var require_package = __commonJS({
|
|
|
142
141
|
}
|
|
143
142
|
});
|
|
144
143
|
|
|
145
|
-
// ../../node_modules/.store/debug-virtual-
|
|
144
|
+
// ../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/common.js
|
|
146
145
|
var require_common = __commonJS({
|
|
147
|
-
"../../node_modules/.store/debug-virtual-
|
|
146
|
+
"../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/common.js"(exports, module) {
|
|
148
147
|
function setup(env) {
|
|
149
148
|
createDebug.debug = createDebug;
|
|
150
149
|
createDebug.default = createDebug;
|
|
@@ -179,12 +178,12 @@ var require_common = __commonJS({
|
|
|
179
178
|
if (!debug.enabled) {
|
|
180
179
|
return;
|
|
181
180
|
}
|
|
182
|
-
const
|
|
181
|
+
const self = debug;
|
|
183
182
|
const curr = Number(/* @__PURE__ */ new Date());
|
|
184
183
|
const ms = curr - (prevTime || curr);
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
184
|
+
self.diff = ms;
|
|
185
|
+
self.prev = prevTime;
|
|
186
|
+
self.curr = curr;
|
|
188
187
|
prevTime = curr;
|
|
189
188
|
args[0] = createDebug.coerce(args[0]);
|
|
190
189
|
if (typeof args[0] !== "string") {
|
|
@@ -199,15 +198,15 @@ var require_common = __commonJS({
|
|
|
199
198
|
const formatter = createDebug.formatters[format];
|
|
200
199
|
if (typeof formatter === "function") {
|
|
201
200
|
const val = args[index];
|
|
202
|
-
match = formatter.call(
|
|
201
|
+
match = formatter.call(self, val);
|
|
203
202
|
args.splice(index, 1);
|
|
204
203
|
index--;
|
|
205
204
|
}
|
|
206
205
|
return match;
|
|
207
206
|
});
|
|
208
|
-
createDebug.formatArgs.call(
|
|
209
|
-
const logFn =
|
|
210
|
-
logFn.apply(
|
|
207
|
+
createDebug.formatArgs.call(self, args);
|
|
208
|
+
const logFn = self.log || createDebug.log;
|
|
209
|
+
logFn.apply(self, args);
|
|
211
210
|
}
|
|
212
211
|
__name(debug, "debug");
|
|
213
212
|
debug.namespace = namespace;
|
|
@@ -330,9 +329,9 @@ var require_common = __commonJS({
|
|
|
330
329
|
}
|
|
331
330
|
});
|
|
332
331
|
|
|
333
|
-
// ../../node_modules/.store/debug-virtual-
|
|
332
|
+
// ../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/browser.js
|
|
334
333
|
var require_browser = __commonJS({
|
|
335
|
-
"../../node_modules/.store/debug-virtual-
|
|
334
|
+
"../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/browser.js"(exports, module) {
|
|
336
335
|
exports.formatArgs = formatArgs;
|
|
337
336
|
exports.save = save;
|
|
338
337
|
exports.load = load;
|
|
@@ -636,9 +635,9 @@ var require_package3 = __commonJS({
|
|
|
636
635
|
}
|
|
637
636
|
});
|
|
638
637
|
|
|
639
|
-
// ../../node_modules/.store/debug-virtual-
|
|
638
|
+
// ../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/node.js
|
|
640
639
|
var require_node = __commonJS({
|
|
641
|
-
"../../node_modules/.store/debug-virtual-
|
|
640
|
+
"../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/node.js"(exports, module) {
|
|
642
641
|
var tty = __require("tty");
|
|
643
642
|
var util2 = __require("util");
|
|
644
643
|
exports.init = init;
|
|
@@ -817,9 +816,9 @@ var require_node = __commonJS({
|
|
|
817
816
|
}
|
|
818
817
|
});
|
|
819
818
|
|
|
820
|
-
// ../../node_modules/.store/debug-virtual-
|
|
819
|
+
// ../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/index.js
|
|
821
820
|
var require_src = __commonJS({
|
|
822
|
-
"../../node_modules/.store/debug-virtual-
|
|
821
|
+
"../../node_modules/.store/debug-virtual-6b3bf52d5a/package/src/index.js"(exports, module) {
|
|
823
822
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
824
823
|
module.exports = require_browser();
|
|
825
824
|
} else {
|
|
@@ -1463,9 +1462,9 @@ var require_state = __commonJS({
|
|
|
1463
1462
|
}
|
|
1464
1463
|
});
|
|
1465
1464
|
|
|
1466
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1465
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/suppress-tracing.js
|
|
1467
1466
|
var require_suppress_tracing = __commonJS({
|
|
1468
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1467
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/suppress-tracing.js"(exports) {
|
|
1469
1468
|
"use strict";
|
|
1470
1469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1471
1470
|
exports.isTracingSuppressed = exports.unsuppressTracing = exports.suppressTracing = void 0;
|
|
@@ -1489,9 +1488,9 @@ var require_suppress_tracing = __commonJS({
|
|
|
1489
1488
|
}
|
|
1490
1489
|
});
|
|
1491
1490
|
|
|
1492
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1491
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/baggage/constants.js
|
|
1493
1492
|
var require_constants = __commonJS({
|
|
1494
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1493
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/baggage/constants.js"(exports) {
|
|
1495
1494
|
"use strict";
|
|
1496
1495
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1497
1496
|
exports.BAGGAGE_MAX_TOTAL_LENGTH = exports.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS = exports.BAGGAGE_MAX_NAME_VALUE_PAIRS = exports.BAGGAGE_HEADER = exports.BAGGAGE_ITEMS_SEPARATOR = exports.BAGGAGE_PROPERTIES_SEPARATOR = exports.BAGGAGE_KEY_PAIR_SEPARATOR = void 0;
|
|
@@ -1505,12 +1504,12 @@ var require_constants = __commonJS({
|
|
|
1505
1504
|
}
|
|
1506
1505
|
});
|
|
1507
1506
|
|
|
1508
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1507
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/baggage/utils.js
|
|
1509
1508
|
var require_utils = __commonJS({
|
|
1510
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1509
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/baggage/utils.js"(exports) {
|
|
1511
1510
|
"use strict";
|
|
1512
1511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1513
|
-
exports.parseKeyPairsIntoRecord = exports.parsePairKeyValue = exports.getKeyPairs = exports.serializeKeyPairs = void 0;
|
|
1512
|
+
exports.parseKeyPairsIntoRecord = exports.parseBaggageHeaderString = exports.parsePairKeyValue = exports.getKeyPairs = exports.serializeKeyPairs = void 0;
|
|
1514
1513
|
var api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
1515
1514
|
var constants_1 = require_constants();
|
|
1516
1515
|
function serializeKeyPairs(keyPairs) {
|
|
@@ -1561,6 +1560,31 @@ var require_utils = __commonJS({
|
|
|
1561
1560
|
}
|
|
1562
1561
|
__name(parsePairKeyValue, "parsePairKeyValue");
|
|
1563
1562
|
exports.parsePairKeyValue = parsePairKeyValue;
|
|
1563
|
+
function parseBaggageHeaderString(value, baggage, count, totalSize) {
|
|
1564
|
+
let start = 0;
|
|
1565
|
+
while (start < value.length && count < constants_1.BAGGAGE_MAX_NAME_VALUE_PAIRS) {
|
|
1566
|
+
const end = value.indexOf(constants_1.BAGGAGE_ITEMS_SEPARATOR, start);
|
|
1567
|
+
const entryEnd = end === -1 ? value.length : end;
|
|
1568
|
+
const entryLength = entryEnd - start;
|
|
1569
|
+
if (entryLength <= constants_1.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS) {
|
|
1570
|
+
const keyPair = parsePairKeyValue(value.substring(start, entryEnd));
|
|
1571
|
+
if (keyPair) {
|
|
1572
|
+
const entrySize = (count === 0 ? 0 : 1) + entryLength;
|
|
1573
|
+
if (totalSize + entrySize > constants_1.BAGGAGE_MAX_TOTAL_LENGTH)
|
|
1574
|
+
break;
|
|
1575
|
+
baggage[keyPair.key] = keyPair.metadata ? { value: keyPair.value, metadata: keyPair.metadata } : { value: keyPair.value };
|
|
1576
|
+
count++;
|
|
1577
|
+
totalSize += entrySize;
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
if (end === -1)
|
|
1581
|
+
break;
|
|
1582
|
+
start = end + 1;
|
|
1583
|
+
}
|
|
1584
|
+
return [count, totalSize];
|
|
1585
|
+
}
|
|
1586
|
+
__name(parseBaggageHeaderString, "parseBaggageHeaderString");
|
|
1587
|
+
exports.parseBaggageHeaderString = parseBaggageHeaderString;
|
|
1564
1588
|
function parseKeyPairsIntoRecord(value) {
|
|
1565
1589
|
const result = {};
|
|
1566
1590
|
if (typeof value === "string" && value.length > 0) {
|
|
@@ -1578,9 +1602,9 @@ var require_utils = __commonJS({
|
|
|
1578
1602
|
}
|
|
1579
1603
|
});
|
|
1580
1604
|
|
|
1581
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1605
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/baggage/propagation/W3CBaggagePropagator.js
|
|
1582
1606
|
var require_W3CBaggagePropagator = __commonJS({
|
|
1583
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1607
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/baggage/propagation/W3CBaggagePropagator.js"(exports) {
|
|
1584
1608
|
"use strict";
|
|
1585
1609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1586
1610
|
exports.W3CBaggagePropagator = void 0;
|
|
@@ -1606,25 +1630,20 @@ var require_W3CBaggagePropagator = __commonJS({
|
|
|
1606
1630
|
}
|
|
1607
1631
|
extract(context4, carrier, getter) {
|
|
1608
1632
|
const headerValue = getter.get(carrier, constants_1.BAGGAGE_HEADER);
|
|
1609
|
-
|
|
1610
|
-
if (!baggageString)
|
|
1611
|
-
return context4;
|
|
1612
|
-
const baggage = {};
|
|
1613
|
-
if (baggageString.length === 0) {
|
|
1633
|
+
if (!headerValue) {
|
|
1614
1634
|
return context4;
|
|
1615
1635
|
}
|
|
1616
|
-
const
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
baggageEntry.metadata = keyPair.metadata;
|
|
1623
|
-
}
|
|
1624
|
-
baggage[keyPair.key] = baggageEntry;
|
|
1636
|
+
const baggage = {};
|
|
1637
|
+
let count = 0;
|
|
1638
|
+
let totalSize = 0;
|
|
1639
|
+
if (Array.isArray(headerValue)) {
|
|
1640
|
+
for (let i = 0; i < headerValue.length; i++) {
|
|
1641
|
+
[count, totalSize] = (0, utils_1.parseBaggageHeaderString)(headerValue[i], baggage, count, totalSize);
|
|
1625
1642
|
}
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1643
|
+
} else {
|
|
1644
|
+
[count] = (0, utils_1.parseBaggageHeaderString)(headerValue, baggage, count, totalSize);
|
|
1645
|
+
}
|
|
1646
|
+
if (count === 0) {
|
|
1628
1647
|
return context4;
|
|
1629
1648
|
}
|
|
1630
1649
|
return api_1.propagation.setBaggage(context4, api_1.propagation.createBaggage(baggage));
|
|
@@ -1637,9 +1656,9 @@ var require_W3CBaggagePropagator = __commonJS({
|
|
|
1637
1656
|
}
|
|
1638
1657
|
});
|
|
1639
1658
|
|
|
1640
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1659
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/anchored-clock.js
|
|
1641
1660
|
var require_anchored_clock = __commonJS({
|
|
1642
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1661
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/anchored-clock.js"(exports) {
|
|
1643
1662
|
"use strict";
|
|
1644
1663
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1645
1664
|
exports.AnchoredClock = void 0;
|
|
@@ -1674,9 +1693,9 @@ var require_anchored_clock = __commonJS({
|
|
|
1674
1693
|
}
|
|
1675
1694
|
});
|
|
1676
1695
|
|
|
1677
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1696
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/attributes.js
|
|
1678
1697
|
var require_attributes = __commonJS({
|
|
1679
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1698
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/attributes.js"(exports) {
|
|
1680
1699
|
"use strict";
|
|
1681
1700
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1682
1701
|
exports.isAttributeValue = exports.isAttributeKey = exports.sanitizeAttributes = void 0;
|
|
@@ -1759,9 +1778,9 @@ var require_attributes = __commonJS({
|
|
|
1759
1778
|
}
|
|
1760
1779
|
});
|
|
1761
1780
|
|
|
1762
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1781
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/logging-error-handler.js
|
|
1763
1782
|
var require_logging_error_handler = __commonJS({
|
|
1764
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1783
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/logging-error-handler.js"(exports) {
|
|
1765
1784
|
"use strict";
|
|
1766
1785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1767
1786
|
exports.loggingErrorHandler = void 0;
|
|
@@ -1801,9 +1820,9 @@ var require_logging_error_handler = __commonJS({
|
|
|
1801
1820
|
}
|
|
1802
1821
|
});
|
|
1803
1822
|
|
|
1804
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1823
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/global-error-handler.js
|
|
1805
1824
|
var require_global_error_handler = __commonJS({
|
|
1806
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1825
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/global-error-handler.js"(exports) {
|
|
1807
1826
|
"use strict";
|
|
1808
1827
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1809
1828
|
exports.globalErrorHandler = exports.setGlobalErrorHandler = void 0;
|
|
@@ -1825,9 +1844,9 @@ var require_global_error_handler = __commonJS({
|
|
|
1825
1844
|
}
|
|
1826
1845
|
});
|
|
1827
1846
|
|
|
1828
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1847
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/node/environment.js
|
|
1829
1848
|
var require_environment = __commonJS({
|
|
1830
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1849
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/node/environment.js"(exports) {
|
|
1831
1850
|
"use strict";
|
|
1832
1851
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1833
1852
|
exports.getStringListFromEnv = exports.getBooleanFromEnv = exports.getStringFromEnv = exports.getNumberFromEnv = void 0;
|
|
@@ -1880,9 +1899,9 @@ var require_environment = __commonJS({
|
|
|
1880
1899
|
}
|
|
1881
1900
|
});
|
|
1882
1901
|
|
|
1883
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1902
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/globalThis.js
|
|
1884
1903
|
var require_globalThis = __commonJS({
|
|
1885
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1904
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/globalThis.js"(exports) {
|
|
1886
1905
|
"use strict";
|
|
1887
1906
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1888
1907
|
exports._globalThis = void 0;
|
|
@@ -1890,17 +1909,17 @@ var require_globalThis = __commonJS({
|
|
|
1890
1909
|
}
|
|
1891
1910
|
});
|
|
1892
1911
|
|
|
1893
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1912
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/version.js
|
|
1894
1913
|
var require_version = __commonJS({
|
|
1895
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
1914
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/version.js"(exports) {
|
|
1896
1915
|
"use strict";
|
|
1897
1916
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1898
1917
|
exports.VERSION = void 0;
|
|
1899
|
-
exports.VERSION = "2.
|
|
1918
|
+
exports.VERSION = "2.8.0";
|
|
1900
1919
|
}
|
|
1901
1920
|
});
|
|
1902
1921
|
|
|
1903
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
1922
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/internal/utils.js
|
|
1904
1923
|
// @__NO_SIDE_EFFECTS__
|
|
1905
1924
|
function createConstMap(values) {
|
|
1906
1925
|
let res = {};
|
|
@@ -1914,15 +1933,15 @@ function createConstMap(values) {
|
|
|
1914
1933
|
return res;
|
|
1915
1934
|
}
|
|
1916
1935
|
var init_utils = __esm({
|
|
1917
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
1936
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/internal/utils.js"() {
|
|
1918
1937
|
__name(createConstMap, "createConstMap");
|
|
1919
1938
|
}
|
|
1920
1939
|
});
|
|
1921
1940
|
|
|
1922
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
1941
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/trace/SemanticAttributes.js
|
|
1923
1942
|
var TMP_AWS_LAMBDA_INVOKED_ARN, TMP_DB_SYSTEM, TMP_DB_CONNECTION_STRING, TMP_DB_USER, TMP_DB_JDBC_DRIVER_CLASSNAME, TMP_DB_NAME, TMP_DB_STATEMENT, TMP_DB_OPERATION, TMP_DB_MSSQL_INSTANCE_NAME, TMP_DB_CASSANDRA_KEYSPACE, TMP_DB_CASSANDRA_PAGE_SIZE, TMP_DB_CASSANDRA_CONSISTENCY_LEVEL, TMP_DB_CASSANDRA_TABLE, TMP_DB_CASSANDRA_IDEMPOTENCE, TMP_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT, TMP_DB_CASSANDRA_COORDINATOR_ID, TMP_DB_CASSANDRA_COORDINATOR_DC, TMP_DB_HBASE_NAMESPACE, TMP_DB_REDIS_DATABASE_INDEX, TMP_DB_MONGODB_COLLECTION, TMP_DB_SQL_TABLE, TMP_EXCEPTION_TYPE, TMP_EXCEPTION_MESSAGE, TMP_EXCEPTION_STACKTRACE, TMP_EXCEPTION_ESCAPED, TMP_FAAS_TRIGGER, TMP_FAAS_EXECUTION, TMP_FAAS_DOCUMENT_COLLECTION, TMP_FAAS_DOCUMENT_OPERATION, TMP_FAAS_DOCUMENT_TIME, TMP_FAAS_DOCUMENT_NAME, TMP_FAAS_TIME, TMP_FAAS_CRON, TMP_FAAS_COLDSTART, TMP_FAAS_INVOKED_NAME, TMP_FAAS_INVOKED_PROVIDER, TMP_FAAS_INVOKED_REGION, TMP_NET_TRANSPORT, TMP_NET_PEER_IP, TMP_NET_PEER_PORT, TMP_NET_PEER_NAME, TMP_NET_HOST_IP, TMP_NET_HOST_PORT, TMP_NET_HOST_NAME, TMP_NET_HOST_CONNECTION_TYPE, TMP_NET_HOST_CONNECTION_SUBTYPE, TMP_NET_HOST_CARRIER_NAME, TMP_NET_HOST_CARRIER_MCC, TMP_NET_HOST_CARRIER_MNC, TMP_NET_HOST_CARRIER_ICC, TMP_PEER_SERVICE, TMP_ENDUSER_ID, TMP_ENDUSER_ROLE, TMP_ENDUSER_SCOPE, TMP_THREAD_ID, TMP_THREAD_NAME, TMP_CODE_FUNCTION, TMP_CODE_NAMESPACE, TMP_CODE_FILEPATH, TMP_CODE_LINENO, TMP_HTTP_METHOD, TMP_HTTP_URL, TMP_HTTP_TARGET, TMP_HTTP_HOST, TMP_HTTP_SCHEME, TMP_HTTP_STATUS_CODE, TMP_HTTP_FLAVOR, TMP_HTTP_USER_AGENT, TMP_HTTP_REQUEST_CONTENT_LENGTH, TMP_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED, TMP_HTTP_RESPONSE_CONTENT_LENGTH, TMP_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, TMP_HTTP_SERVER_NAME, TMP_HTTP_ROUTE, TMP_HTTP_CLIENT_IP, TMP_AWS_DYNAMODB_TABLE_NAMES, TMP_AWS_DYNAMODB_CONSUMED_CAPACITY, TMP_AWS_DYNAMODB_ITEM_COLLECTION_METRICS, TMP_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY, TMP_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY, TMP_AWS_DYNAMODB_CONSISTENT_READ, TMP_AWS_DYNAMODB_PROJECTION, TMP_AWS_DYNAMODB_LIMIT, TMP_AWS_DYNAMODB_ATTRIBUTES_TO_GET, TMP_AWS_DYNAMODB_INDEX_NAME, TMP_AWS_DYNAMODB_SELECT, TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES, TMP_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES, TMP_AWS_DYNAMODB_EXCLUSIVE_START_TABLE, TMP_AWS_DYNAMODB_TABLE_COUNT, TMP_AWS_DYNAMODB_SCAN_FORWARD, TMP_AWS_DYNAMODB_SEGMENT, TMP_AWS_DYNAMODB_TOTAL_SEGMENTS, TMP_AWS_DYNAMODB_COUNT, TMP_AWS_DYNAMODB_SCANNED_COUNT, TMP_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS, TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES, TMP_MESSAGING_SYSTEM, TMP_MESSAGING_DESTINATION, TMP_MESSAGING_DESTINATION_KIND, TMP_MESSAGING_TEMP_DESTINATION, TMP_MESSAGING_PROTOCOL, TMP_MESSAGING_PROTOCOL_VERSION, TMP_MESSAGING_URL, TMP_MESSAGING_MESSAGE_ID, TMP_MESSAGING_CONVERSATION_ID, TMP_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES, TMP_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES, TMP_MESSAGING_OPERATION, TMP_MESSAGING_CONSUMER_ID, TMP_MESSAGING_RABBITMQ_ROUTING_KEY, TMP_MESSAGING_KAFKA_MESSAGE_KEY, TMP_MESSAGING_KAFKA_CONSUMER_GROUP, TMP_MESSAGING_KAFKA_CLIENT_ID, TMP_MESSAGING_KAFKA_PARTITION, TMP_MESSAGING_KAFKA_TOMBSTONE, TMP_RPC_SYSTEM, TMP_RPC_SERVICE, TMP_RPC_METHOD, TMP_RPC_GRPC_STATUS_CODE, TMP_RPC_JSONRPC_VERSION, TMP_RPC_JSONRPC_REQUEST_ID, TMP_RPC_JSONRPC_ERROR_CODE, TMP_RPC_JSONRPC_ERROR_MESSAGE, TMP_MESSAGE_TYPE, TMP_MESSAGE_ID, TMP_MESSAGE_COMPRESSED_SIZE, TMP_MESSAGE_UNCOMPRESSED_SIZE, SEMATTRS_AWS_LAMBDA_INVOKED_ARN, SEMATTRS_DB_SYSTEM, SEMATTRS_DB_CONNECTION_STRING, SEMATTRS_DB_USER, SEMATTRS_DB_JDBC_DRIVER_CLASSNAME, SEMATTRS_DB_NAME, SEMATTRS_DB_STATEMENT, SEMATTRS_DB_OPERATION, SEMATTRS_DB_MSSQL_INSTANCE_NAME, SEMATTRS_DB_CASSANDRA_KEYSPACE, SEMATTRS_DB_CASSANDRA_PAGE_SIZE, SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL, SEMATTRS_DB_CASSANDRA_TABLE, SEMATTRS_DB_CASSANDRA_IDEMPOTENCE, SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT, SEMATTRS_DB_CASSANDRA_COORDINATOR_ID, SEMATTRS_DB_CASSANDRA_COORDINATOR_DC, SEMATTRS_DB_HBASE_NAMESPACE, SEMATTRS_DB_REDIS_DATABASE_INDEX, SEMATTRS_DB_MONGODB_COLLECTION, SEMATTRS_DB_SQL_TABLE, SEMATTRS_EXCEPTION_TYPE, SEMATTRS_EXCEPTION_MESSAGE, SEMATTRS_EXCEPTION_STACKTRACE, SEMATTRS_EXCEPTION_ESCAPED, SEMATTRS_FAAS_TRIGGER, SEMATTRS_FAAS_EXECUTION, SEMATTRS_FAAS_DOCUMENT_COLLECTION, SEMATTRS_FAAS_DOCUMENT_OPERATION, SEMATTRS_FAAS_DOCUMENT_TIME, SEMATTRS_FAAS_DOCUMENT_NAME, SEMATTRS_FAAS_TIME, SEMATTRS_FAAS_CRON, SEMATTRS_FAAS_COLDSTART, SEMATTRS_FAAS_INVOKED_NAME, SEMATTRS_FAAS_INVOKED_PROVIDER, SEMATTRS_FAAS_INVOKED_REGION, SEMATTRS_NET_TRANSPORT, SEMATTRS_NET_PEER_IP, SEMATTRS_NET_PEER_PORT, SEMATTRS_NET_PEER_NAME, SEMATTRS_NET_HOST_IP, SEMATTRS_NET_HOST_PORT, SEMATTRS_NET_HOST_NAME, SEMATTRS_NET_HOST_CONNECTION_TYPE, SEMATTRS_NET_HOST_CONNECTION_SUBTYPE, SEMATTRS_NET_HOST_CARRIER_NAME, SEMATTRS_NET_HOST_CARRIER_MCC, SEMATTRS_NET_HOST_CARRIER_MNC, SEMATTRS_NET_HOST_CARRIER_ICC, SEMATTRS_PEER_SERVICE, SEMATTRS_ENDUSER_ID, SEMATTRS_ENDUSER_ROLE, SEMATTRS_ENDUSER_SCOPE, SEMATTRS_THREAD_ID, SEMATTRS_THREAD_NAME, SEMATTRS_CODE_FUNCTION, SEMATTRS_CODE_NAMESPACE, SEMATTRS_CODE_FILEPATH, SEMATTRS_CODE_LINENO, SEMATTRS_HTTP_METHOD, SEMATTRS_HTTP_URL, SEMATTRS_HTTP_TARGET, SEMATTRS_HTTP_HOST, SEMATTRS_HTTP_SCHEME, SEMATTRS_HTTP_STATUS_CODE, SEMATTRS_HTTP_FLAVOR, SEMATTRS_HTTP_USER_AGENT, SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH, SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED, SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH, SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, SEMATTRS_HTTP_SERVER_NAME, SEMATTRS_HTTP_ROUTE, SEMATTRS_HTTP_CLIENT_IP, SEMATTRS_AWS_DYNAMODB_TABLE_NAMES, SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY, SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS, SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY, SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY, SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ, SEMATTRS_AWS_DYNAMODB_PROJECTION, SEMATTRS_AWS_DYNAMODB_LIMIT, SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET, SEMATTRS_AWS_DYNAMODB_INDEX_NAME, SEMATTRS_AWS_DYNAMODB_SELECT, SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES, SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES, SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE, SEMATTRS_AWS_DYNAMODB_TABLE_COUNT, SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD, SEMATTRS_AWS_DYNAMODB_SEGMENT, SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS, SEMATTRS_AWS_DYNAMODB_COUNT, SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT, SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS, SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES, SEMATTRS_MESSAGING_SYSTEM, SEMATTRS_MESSAGING_DESTINATION, SEMATTRS_MESSAGING_DESTINATION_KIND, SEMATTRS_MESSAGING_TEMP_DESTINATION, SEMATTRS_MESSAGING_PROTOCOL, SEMATTRS_MESSAGING_PROTOCOL_VERSION, SEMATTRS_MESSAGING_URL, SEMATTRS_MESSAGING_MESSAGE_ID, SEMATTRS_MESSAGING_CONVERSATION_ID, SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES, SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES, SEMATTRS_MESSAGING_OPERATION, SEMATTRS_MESSAGING_CONSUMER_ID, SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY, SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY, SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP, SEMATTRS_MESSAGING_KAFKA_CLIENT_ID, SEMATTRS_MESSAGING_KAFKA_PARTITION, SEMATTRS_MESSAGING_KAFKA_TOMBSTONE, SEMATTRS_RPC_SYSTEM, SEMATTRS_RPC_SERVICE, SEMATTRS_RPC_METHOD, SEMATTRS_RPC_GRPC_STATUS_CODE, SEMATTRS_RPC_JSONRPC_VERSION, SEMATTRS_RPC_JSONRPC_REQUEST_ID, SEMATTRS_RPC_JSONRPC_ERROR_CODE, SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE, SEMATTRS_MESSAGE_TYPE, SEMATTRS_MESSAGE_ID, SEMATTRS_MESSAGE_COMPRESSED_SIZE, SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE, SemanticAttributes, TMP_DBSYSTEMVALUES_OTHER_SQL, TMP_DBSYSTEMVALUES_MSSQL, TMP_DBSYSTEMVALUES_MYSQL, TMP_DBSYSTEMVALUES_ORACLE, TMP_DBSYSTEMVALUES_DB2, TMP_DBSYSTEMVALUES_POSTGRESQL, TMP_DBSYSTEMVALUES_REDSHIFT, TMP_DBSYSTEMVALUES_HIVE, TMP_DBSYSTEMVALUES_CLOUDSCAPE, TMP_DBSYSTEMVALUES_HSQLDB, TMP_DBSYSTEMVALUES_PROGRESS, TMP_DBSYSTEMVALUES_MAXDB, TMP_DBSYSTEMVALUES_HANADB, TMP_DBSYSTEMVALUES_INGRES, TMP_DBSYSTEMVALUES_FIRSTSQL, TMP_DBSYSTEMVALUES_EDB, TMP_DBSYSTEMVALUES_CACHE, TMP_DBSYSTEMVALUES_ADABAS, TMP_DBSYSTEMVALUES_FIREBIRD, TMP_DBSYSTEMVALUES_DERBY, TMP_DBSYSTEMVALUES_FILEMAKER, TMP_DBSYSTEMVALUES_INFORMIX, TMP_DBSYSTEMVALUES_INSTANTDB, TMP_DBSYSTEMVALUES_INTERBASE, TMP_DBSYSTEMVALUES_MARIADB, TMP_DBSYSTEMVALUES_NETEZZA, TMP_DBSYSTEMVALUES_PERVASIVE, TMP_DBSYSTEMVALUES_POINTBASE, TMP_DBSYSTEMVALUES_SQLITE, TMP_DBSYSTEMVALUES_SYBASE, TMP_DBSYSTEMVALUES_TERADATA, TMP_DBSYSTEMVALUES_VERTICA, TMP_DBSYSTEMVALUES_H2, TMP_DBSYSTEMVALUES_COLDFUSION, TMP_DBSYSTEMVALUES_CASSANDRA, TMP_DBSYSTEMVALUES_HBASE, TMP_DBSYSTEMVALUES_MONGODB, TMP_DBSYSTEMVALUES_REDIS, TMP_DBSYSTEMVALUES_COUCHBASE, TMP_DBSYSTEMVALUES_COUCHDB, TMP_DBSYSTEMVALUES_COSMOSDB, TMP_DBSYSTEMVALUES_DYNAMODB, TMP_DBSYSTEMVALUES_NEO4J, TMP_DBSYSTEMVALUES_GEODE, TMP_DBSYSTEMVALUES_ELASTICSEARCH, TMP_DBSYSTEMVALUES_MEMCACHED, TMP_DBSYSTEMVALUES_COCKROACHDB, DBSYSTEMVALUES_OTHER_SQL, DBSYSTEMVALUES_MSSQL, DBSYSTEMVALUES_MYSQL, DBSYSTEMVALUES_ORACLE, DBSYSTEMVALUES_DB2, DBSYSTEMVALUES_POSTGRESQL, DBSYSTEMVALUES_REDSHIFT, DBSYSTEMVALUES_HIVE, DBSYSTEMVALUES_CLOUDSCAPE, DBSYSTEMVALUES_HSQLDB, DBSYSTEMVALUES_PROGRESS, DBSYSTEMVALUES_MAXDB, DBSYSTEMVALUES_HANADB, DBSYSTEMVALUES_INGRES, DBSYSTEMVALUES_FIRSTSQL, DBSYSTEMVALUES_EDB, DBSYSTEMVALUES_CACHE, DBSYSTEMVALUES_ADABAS, DBSYSTEMVALUES_FIREBIRD, DBSYSTEMVALUES_DERBY, DBSYSTEMVALUES_FILEMAKER, DBSYSTEMVALUES_INFORMIX, DBSYSTEMVALUES_INSTANTDB, DBSYSTEMVALUES_INTERBASE, DBSYSTEMVALUES_MARIADB, DBSYSTEMVALUES_NETEZZA, DBSYSTEMVALUES_PERVASIVE, DBSYSTEMVALUES_POINTBASE, DBSYSTEMVALUES_SQLITE, DBSYSTEMVALUES_SYBASE, DBSYSTEMVALUES_TERADATA, DBSYSTEMVALUES_VERTICA, DBSYSTEMVALUES_H2, DBSYSTEMVALUES_COLDFUSION, DBSYSTEMVALUES_CASSANDRA, DBSYSTEMVALUES_HBASE, DBSYSTEMVALUES_MONGODB, DBSYSTEMVALUES_REDIS, DBSYSTEMVALUES_COUCHBASE, DBSYSTEMVALUES_COUCHDB, DBSYSTEMVALUES_COSMOSDB, DBSYSTEMVALUES_DYNAMODB, DBSYSTEMVALUES_NEO4J, DBSYSTEMVALUES_GEODE, DBSYSTEMVALUES_ELASTICSEARCH, DBSYSTEMVALUES_MEMCACHED, DBSYSTEMVALUES_COCKROACHDB, DbSystemValues, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ALL, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ONE, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_TWO, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_THREE, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ANY, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL, TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL, DBCASSANDRACONSISTENCYLEVELVALUES_ALL, DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM, DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM, DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM, DBCASSANDRACONSISTENCYLEVELVALUES_ONE, DBCASSANDRACONSISTENCYLEVELVALUES_TWO, DBCASSANDRACONSISTENCYLEVELVALUES_THREE, DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE, DBCASSANDRACONSISTENCYLEVELVALUES_ANY, DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL, DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL, DbCassandraConsistencyLevelValues, TMP_FAASTRIGGERVALUES_DATASOURCE, TMP_FAASTRIGGERVALUES_HTTP, TMP_FAASTRIGGERVALUES_PUBSUB, TMP_FAASTRIGGERVALUES_TIMER, TMP_FAASTRIGGERVALUES_OTHER, FAASTRIGGERVALUES_DATASOURCE, FAASTRIGGERVALUES_HTTP, FAASTRIGGERVALUES_PUBSUB, FAASTRIGGERVALUES_TIMER, FAASTRIGGERVALUES_OTHER, FaasTriggerValues, TMP_FAASDOCUMENTOPERATIONVALUES_INSERT, TMP_FAASDOCUMENTOPERATIONVALUES_EDIT, TMP_FAASDOCUMENTOPERATIONVALUES_DELETE, FAASDOCUMENTOPERATIONVALUES_INSERT, FAASDOCUMENTOPERATIONVALUES_EDIT, FAASDOCUMENTOPERATIONVALUES_DELETE, FaasDocumentOperationValues, TMP_FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD, TMP_FAASINVOKEDPROVIDERVALUES_AWS, TMP_FAASINVOKEDPROVIDERVALUES_AZURE, TMP_FAASINVOKEDPROVIDERVALUES_GCP, FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD, FAASINVOKEDPROVIDERVALUES_AWS, FAASINVOKEDPROVIDERVALUES_AZURE, FAASINVOKEDPROVIDERVALUES_GCP, FaasInvokedProviderValues, TMP_NETTRANSPORTVALUES_IP_TCP, TMP_NETTRANSPORTVALUES_IP_UDP, TMP_NETTRANSPORTVALUES_IP, TMP_NETTRANSPORTVALUES_UNIX, TMP_NETTRANSPORTVALUES_PIPE, TMP_NETTRANSPORTVALUES_INPROC, TMP_NETTRANSPORTVALUES_OTHER, NETTRANSPORTVALUES_IP_TCP, NETTRANSPORTVALUES_IP_UDP, NETTRANSPORTVALUES_IP, NETTRANSPORTVALUES_UNIX, NETTRANSPORTVALUES_PIPE, NETTRANSPORTVALUES_INPROC, NETTRANSPORTVALUES_OTHER, NetTransportValues, TMP_NETHOSTCONNECTIONTYPEVALUES_WIFI, TMP_NETHOSTCONNECTIONTYPEVALUES_WIRED, TMP_NETHOSTCONNECTIONTYPEVALUES_CELL, TMP_NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE, TMP_NETHOSTCONNECTIONTYPEVALUES_UNKNOWN, NETHOSTCONNECTIONTYPEVALUES_WIFI, NETHOSTCONNECTIONTYPEVALUES_WIRED, NETHOSTCONNECTIONTYPEVALUES_CELL, NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE, NETHOSTCONNECTIONTYPEVALUES_UNKNOWN, NetHostConnectionTypeValues, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GPRS, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EDGE, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_UMTS, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_CDMA, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSPA, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_IDEN, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GSM, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_NR, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA, TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA, NETHOSTCONNECTIONSUBTYPEVALUES_GPRS, NETHOSTCONNECTIONSUBTYPEVALUES_EDGE, NETHOSTCONNECTIONSUBTYPEVALUES_UMTS, NETHOSTCONNECTIONSUBTYPEVALUES_CDMA, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A, NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT, NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA, NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA, NETHOSTCONNECTIONSUBTYPEVALUES_HSPA, NETHOSTCONNECTIONSUBTYPEVALUES_IDEN, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B, NETHOSTCONNECTIONSUBTYPEVALUES_LTE, NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD, NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP, NETHOSTCONNECTIONSUBTYPEVALUES_GSM, NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA, NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN, NETHOSTCONNECTIONSUBTYPEVALUES_NR, NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA, NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA, NetHostConnectionSubtypeValues, TMP_HTTPFLAVORVALUES_HTTP_1_0, TMP_HTTPFLAVORVALUES_HTTP_1_1, TMP_HTTPFLAVORVALUES_HTTP_2_0, TMP_HTTPFLAVORVALUES_SPDY, TMP_HTTPFLAVORVALUES_QUIC, HTTPFLAVORVALUES_HTTP_1_0, HTTPFLAVORVALUES_HTTP_1_1, HTTPFLAVORVALUES_HTTP_2_0, HTTPFLAVORVALUES_SPDY, HTTPFLAVORVALUES_QUIC, HttpFlavorValues, TMP_MESSAGINGDESTINATIONKINDVALUES_QUEUE, TMP_MESSAGINGDESTINATIONKINDVALUES_TOPIC, MESSAGINGDESTINATIONKINDVALUES_QUEUE, MESSAGINGDESTINATIONKINDVALUES_TOPIC, MessagingDestinationKindValues, TMP_MESSAGINGOPERATIONVALUES_RECEIVE, TMP_MESSAGINGOPERATIONVALUES_PROCESS, MESSAGINGOPERATIONVALUES_RECEIVE, MESSAGINGOPERATIONVALUES_PROCESS, MessagingOperationValues, TMP_RPCGRPCSTATUSCODEVALUES_OK, TMP_RPCGRPCSTATUSCODEVALUES_CANCELLED, TMP_RPCGRPCSTATUSCODEVALUES_UNKNOWN, TMP_RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT, TMP_RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED, TMP_RPCGRPCSTATUSCODEVALUES_NOT_FOUND, TMP_RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS, TMP_RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED, TMP_RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED, TMP_RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION, TMP_RPCGRPCSTATUSCODEVALUES_ABORTED, TMP_RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE, TMP_RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED, TMP_RPCGRPCSTATUSCODEVALUES_INTERNAL, TMP_RPCGRPCSTATUSCODEVALUES_UNAVAILABLE, TMP_RPCGRPCSTATUSCODEVALUES_DATA_LOSS, TMP_RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED, RPCGRPCSTATUSCODEVALUES_OK, RPCGRPCSTATUSCODEVALUES_CANCELLED, RPCGRPCSTATUSCODEVALUES_UNKNOWN, RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT, RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED, RPCGRPCSTATUSCODEVALUES_NOT_FOUND, RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS, RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED, RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED, RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION, RPCGRPCSTATUSCODEVALUES_ABORTED, RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE, RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED, RPCGRPCSTATUSCODEVALUES_INTERNAL, RPCGRPCSTATUSCODEVALUES_UNAVAILABLE, RPCGRPCSTATUSCODEVALUES_DATA_LOSS, RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED, RpcGrpcStatusCodeValues, TMP_MESSAGETYPEVALUES_SENT, TMP_MESSAGETYPEVALUES_RECEIVED, MESSAGETYPEVALUES_SENT, MESSAGETYPEVALUES_RECEIVED, MessageTypeValues;
|
|
1924
1943
|
var init_SemanticAttributes = __esm({
|
|
1925
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
1944
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/trace/SemanticAttributes.js"() {
|
|
1926
1945
|
init_utils();
|
|
1927
1946
|
TMP_AWS_LAMBDA_INVOKED_ARN = "aws.lambda.invoked_arn";
|
|
1928
1947
|
TMP_DB_SYSTEM = "db.system";
|
|
@@ -2732,17 +2751,17 @@ var init_SemanticAttributes = __esm({
|
|
|
2732
2751
|
}
|
|
2733
2752
|
});
|
|
2734
2753
|
|
|
2735
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
2754
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/trace/index.js
|
|
2736
2755
|
var init_trace = __esm({
|
|
2737
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
2756
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/trace/index.js"() {
|
|
2738
2757
|
init_SemanticAttributes();
|
|
2739
2758
|
}
|
|
2740
2759
|
});
|
|
2741
2760
|
|
|
2742
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
2761
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/resource/SemanticResourceAttributes.js
|
|
2743
2762
|
var TMP_CLOUD_PROVIDER, TMP_CLOUD_ACCOUNT_ID, TMP_CLOUD_REGION, TMP_CLOUD_AVAILABILITY_ZONE, TMP_CLOUD_PLATFORM, TMP_AWS_ECS_CONTAINER_ARN, TMP_AWS_ECS_CLUSTER_ARN, TMP_AWS_ECS_LAUNCHTYPE, TMP_AWS_ECS_TASK_ARN, TMP_AWS_ECS_TASK_FAMILY, TMP_AWS_ECS_TASK_REVISION, TMP_AWS_EKS_CLUSTER_ARN, TMP_AWS_LOG_GROUP_NAMES, TMP_AWS_LOG_GROUP_ARNS, TMP_AWS_LOG_STREAM_NAMES, TMP_AWS_LOG_STREAM_ARNS, TMP_CONTAINER_NAME, TMP_CONTAINER_ID, TMP_CONTAINER_RUNTIME, TMP_CONTAINER_IMAGE_NAME, TMP_CONTAINER_IMAGE_TAG, TMP_DEPLOYMENT_ENVIRONMENT, TMP_DEVICE_ID, TMP_DEVICE_MODEL_IDENTIFIER, TMP_DEVICE_MODEL_NAME, TMP_FAAS_NAME, TMP_FAAS_ID, TMP_FAAS_VERSION, TMP_FAAS_INSTANCE, TMP_FAAS_MAX_MEMORY, TMP_HOST_ID, TMP_HOST_NAME, TMP_HOST_TYPE, TMP_HOST_ARCH, TMP_HOST_IMAGE_NAME, TMP_HOST_IMAGE_ID, TMP_HOST_IMAGE_VERSION, TMP_K8S_CLUSTER_NAME, TMP_K8S_NODE_NAME, TMP_K8S_NODE_UID, TMP_K8S_NAMESPACE_NAME, TMP_K8S_POD_UID, TMP_K8S_POD_NAME, TMP_K8S_CONTAINER_NAME, TMP_K8S_REPLICASET_UID, TMP_K8S_REPLICASET_NAME, TMP_K8S_DEPLOYMENT_UID, TMP_K8S_DEPLOYMENT_NAME, TMP_K8S_STATEFULSET_UID, TMP_K8S_STATEFULSET_NAME, TMP_K8S_DAEMONSET_UID, TMP_K8S_DAEMONSET_NAME, TMP_K8S_JOB_UID, TMP_K8S_JOB_NAME, TMP_K8S_CRONJOB_UID, TMP_K8S_CRONJOB_NAME, TMP_OS_TYPE, TMP_OS_DESCRIPTION, TMP_OS_NAME, TMP_OS_VERSION, TMP_PROCESS_PID, TMP_PROCESS_EXECUTABLE_NAME, TMP_PROCESS_EXECUTABLE_PATH, TMP_PROCESS_COMMAND, TMP_PROCESS_COMMAND_LINE, TMP_PROCESS_COMMAND_ARGS, TMP_PROCESS_OWNER, TMP_PROCESS_RUNTIME_NAME, TMP_PROCESS_RUNTIME_VERSION, TMP_PROCESS_RUNTIME_DESCRIPTION, TMP_SERVICE_NAME, TMP_SERVICE_NAMESPACE, TMP_SERVICE_INSTANCE_ID, TMP_SERVICE_VERSION, TMP_TELEMETRY_SDK_NAME, TMP_TELEMETRY_SDK_LANGUAGE, TMP_TELEMETRY_SDK_VERSION, TMP_TELEMETRY_AUTO_VERSION, TMP_WEBENGINE_NAME, TMP_WEBENGINE_VERSION, TMP_WEBENGINE_DESCRIPTION, SEMRESATTRS_CLOUD_PROVIDER, SEMRESATTRS_CLOUD_ACCOUNT_ID, SEMRESATTRS_CLOUD_REGION, SEMRESATTRS_CLOUD_AVAILABILITY_ZONE, SEMRESATTRS_CLOUD_PLATFORM, SEMRESATTRS_AWS_ECS_CONTAINER_ARN, SEMRESATTRS_AWS_ECS_CLUSTER_ARN, SEMRESATTRS_AWS_ECS_LAUNCHTYPE, SEMRESATTRS_AWS_ECS_TASK_ARN, SEMRESATTRS_AWS_ECS_TASK_FAMILY, SEMRESATTRS_AWS_ECS_TASK_REVISION, SEMRESATTRS_AWS_EKS_CLUSTER_ARN, SEMRESATTRS_AWS_LOG_GROUP_NAMES, SEMRESATTRS_AWS_LOG_GROUP_ARNS, SEMRESATTRS_AWS_LOG_STREAM_NAMES, SEMRESATTRS_AWS_LOG_STREAM_ARNS, SEMRESATTRS_CONTAINER_NAME, SEMRESATTRS_CONTAINER_ID, SEMRESATTRS_CONTAINER_RUNTIME, SEMRESATTRS_CONTAINER_IMAGE_NAME, SEMRESATTRS_CONTAINER_IMAGE_TAG, SEMRESATTRS_DEPLOYMENT_ENVIRONMENT, SEMRESATTRS_DEVICE_ID, SEMRESATTRS_DEVICE_MODEL_IDENTIFIER, SEMRESATTRS_DEVICE_MODEL_NAME, SEMRESATTRS_FAAS_NAME, SEMRESATTRS_FAAS_ID, SEMRESATTRS_FAAS_VERSION, SEMRESATTRS_FAAS_INSTANCE, SEMRESATTRS_FAAS_MAX_MEMORY, SEMRESATTRS_HOST_ID, SEMRESATTRS_HOST_NAME, SEMRESATTRS_HOST_TYPE, SEMRESATTRS_HOST_ARCH, SEMRESATTRS_HOST_IMAGE_NAME, SEMRESATTRS_HOST_IMAGE_ID, SEMRESATTRS_HOST_IMAGE_VERSION, SEMRESATTRS_K8S_CLUSTER_NAME, SEMRESATTRS_K8S_NODE_NAME, SEMRESATTRS_K8S_NODE_UID, SEMRESATTRS_K8S_NAMESPACE_NAME, SEMRESATTRS_K8S_POD_UID, SEMRESATTRS_K8S_POD_NAME, SEMRESATTRS_K8S_CONTAINER_NAME, SEMRESATTRS_K8S_REPLICASET_UID, SEMRESATTRS_K8S_REPLICASET_NAME, SEMRESATTRS_K8S_DEPLOYMENT_UID, SEMRESATTRS_K8S_DEPLOYMENT_NAME, SEMRESATTRS_K8S_STATEFULSET_UID, SEMRESATTRS_K8S_STATEFULSET_NAME, SEMRESATTRS_K8S_DAEMONSET_UID, SEMRESATTRS_K8S_DAEMONSET_NAME, SEMRESATTRS_K8S_JOB_UID, SEMRESATTRS_K8S_JOB_NAME, SEMRESATTRS_K8S_CRONJOB_UID, SEMRESATTRS_K8S_CRONJOB_NAME, SEMRESATTRS_OS_TYPE, SEMRESATTRS_OS_DESCRIPTION, SEMRESATTRS_OS_NAME, SEMRESATTRS_OS_VERSION, SEMRESATTRS_PROCESS_PID, SEMRESATTRS_PROCESS_EXECUTABLE_NAME, SEMRESATTRS_PROCESS_EXECUTABLE_PATH, SEMRESATTRS_PROCESS_COMMAND, SEMRESATTRS_PROCESS_COMMAND_LINE, SEMRESATTRS_PROCESS_COMMAND_ARGS, SEMRESATTRS_PROCESS_OWNER, SEMRESATTRS_PROCESS_RUNTIME_NAME, SEMRESATTRS_PROCESS_RUNTIME_VERSION, SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION, SEMRESATTRS_SERVICE_NAME, SEMRESATTRS_SERVICE_NAMESPACE, SEMRESATTRS_SERVICE_INSTANCE_ID, SEMRESATTRS_SERVICE_VERSION, SEMRESATTRS_TELEMETRY_SDK_NAME, SEMRESATTRS_TELEMETRY_SDK_LANGUAGE, SEMRESATTRS_TELEMETRY_SDK_VERSION, SEMRESATTRS_TELEMETRY_AUTO_VERSION, SEMRESATTRS_WEBENGINE_NAME, SEMRESATTRS_WEBENGINE_VERSION, SEMRESATTRS_WEBENGINE_DESCRIPTION, SemanticResourceAttributes, TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD, TMP_CLOUDPROVIDERVALUES_AWS, TMP_CLOUDPROVIDERVALUES_AZURE, TMP_CLOUDPROVIDERVALUES_GCP, CLOUDPROVIDERVALUES_ALIBABA_CLOUD, CLOUDPROVIDERVALUES_AWS, CLOUDPROVIDERVALUES_AZURE, CLOUDPROVIDERVALUES_GCP, CloudProviderValues, TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS, TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC, TMP_CLOUDPLATFORMVALUES_AWS_EC2, TMP_CLOUDPLATFORMVALUES_AWS_ECS, TMP_CLOUDPLATFORMVALUES_AWS_EKS, TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA, TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK, TMP_CLOUDPLATFORMVALUES_AZURE_VM, TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES, TMP_CLOUDPLATFORMVALUES_AZURE_AKS, TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS, TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE, TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE, TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN, TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE, TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS, TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE, CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS, CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC, CLOUDPLATFORMVALUES_AWS_EC2, CLOUDPLATFORMVALUES_AWS_ECS, CLOUDPLATFORMVALUES_AWS_EKS, CLOUDPLATFORMVALUES_AWS_LAMBDA, CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK, CLOUDPLATFORMVALUES_AZURE_VM, CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES, CLOUDPLATFORMVALUES_AZURE_AKS, CLOUDPLATFORMVALUES_AZURE_FUNCTIONS, CLOUDPLATFORMVALUES_AZURE_APP_SERVICE, CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE, CLOUDPLATFORMVALUES_GCP_CLOUD_RUN, CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE, CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS, CLOUDPLATFORMVALUES_GCP_APP_ENGINE, CloudPlatformValues, TMP_AWSECSLAUNCHTYPEVALUES_EC2, TMP_AWSECSLAUNCHTYPEVALUES_FARGATE, AWSECSLAUNCHTYPEVALUES_EC2, AWSECSLAUNCHTYPEVALUES_FARGATE, AwsEcsLaunchtypeValues, TMP_HOSTARCHVALUES_AMD64, TMP_HOSTARCHVALUES_ARM32, TMP_HOSTARCHVALUES_ARM64, TMP_HOSTARCHVALUES_IA64, TMP_HOSTARCHVALUES_PPC32, TMP_HOSTARCHVALUES_PPC64, TMP_HOSTARCHVALUES_X86, HOSTARCHVALUES_AMD64, HOSTARCHVALUES_ARM32, HOSTARCHVALUES_ARM64, HOSTARCHVALUES_IA64, HOSTARCHVALUES_PPC32, HOSTARCHVALUES_PPC64, HOSTARCHVALUES_X86, HostArchValues, TMP_OSTYPEVALUES_WINDOWS, TMP_OSTYPEVALUES_LINUX, TMP_OSTYPEVALUES_DARWIN, TMP_OSTYPEVALUES_FREEBSD, TMP_OSTYPEVALUES_NETBSD, TMP_OSTYPEVALUES_OPENBSD, TMP_OSTYPEVALUES_DRAGONFLYBSD, TMP_OSTYPEVALUES_HPUX, TMP_OSTYPEVALUES_AIX, TMP_OSTYPEVALUES_SOLARIS, TMP_OSTYPEVALUES_Z_OS, OSTYPEVALUES_WINDOWS, OSTYPEVALUES_LINUX, OSTYPEVALUES_DARWIN, OSTYPEVALUES_FREEBSD, OSTYPEVALUES_NETBSD, OSTYPEVALUES_OPENBSD, OSTYPEVALUES_DRAGONFLYBSD, OSTYPEVALUES_HPUX, OSTYPEVALUES_AIX, OSTYPEVALUES_SOLARIS, OSTYPEVALUES_Z_OS, OsTypeValues, TMP_TELEMETRYSDKLANGUAGEVALUES_CPP, TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET, TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG, TMP_TELEMETRYSDKLANGUAGEVALUES_GO, TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA, TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS, TMP_TELEMETRYSDKLANGUAGEVALUES_PHP, TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON, TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY, TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS, TELEMETRYSDKLANGUAGEVALUES_CPP, TELEMETRYSDKLANGUAGEVALUES_DOTNET, TELEMETRYSDKLANGUAGEVALUES_ERLANG, TELEMETRYSDKLANGUAGEVALUES_GO, TELEMETRYSDKLANGUAGEVALUES_JAVA, TELEMETRYSDKLANGUAGEVALUES_NODEJS, TELEMETRYSDKLANGUAGEVALUES_PHP, TELEMETRYSDKLANGUAGEVALUES_PYTHON, TELEMETRYSDKLANGUAGEVALUES_RUBY, TELEMETRYSDKLANGUAGEVALUES_WEBJS, TelemetrySdkLanguageValues;
|
|
2744
2763
|
var init_SemanticResourceAttributes = __esm({
|
|
2745
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
2764
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/resource/SemanticResourceAttributes.js"() {
|
|
2746
2765
|
init_utils();
|
|
2747
2766
|
TMP_CLOUD_PROVIDER = "cloud.provider";
|
|
2748
2767
|
TMP_CLOUD_ACCOUNT_ID = "cloud.account.id";
|
|
@@ -3157,17 +3176,17 @@ var init_SemanticResourceAttributes = __esm({
|
|
|
3157
3176
|
}
|
|
3158
3177
|
});
|
|
3159
3178
|
|
|
3160
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3179
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/resource/index.js
|
|
3161
3180
|
var init_resource = __esm({
|
|
3162
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3181
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/resource/index.js"() {
|
|
3163
3182
|
init_SemanticResourceAttributes();
|
|
3164
3183
|
}
|
|
3165
3184
|
});
|
|
3166
3185
|
|
|
3167
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3168
|
-
var ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED, ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE, ATTR_ASPNETCORE_RATE_LIMITING_POLICY, ATTR_ASPNETCORE_RATE_LIMITING_RESULT, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED, ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED, ATTR_ASPNETCORE_ROUTING_IS_FALLBACK, ATTR_ASPNETCORE_ROUTING_MATCH_STATUS, ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE, ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS, ATTR_ASPNETCORE_USER_IS_AUTHENTICATED, ATTR_CLIENT_ADDRESS, ATTR_CLIENT_PORT, ATTR_CODE_COLUMN_NUMBER, ATTR_CODE_FILE_PATH, ATTR_CODE_FUNCTION_NAME, ATTR_CODE_LINE_NUMBER, ATTR_CODE_STACKTRACE, ATTR_DB_COLLECTION_NAME, ATTR_DB_NAMESPACE, ATTR_DB_OPERATION_BATCH_SIZE, ATTR_DB_OPERATION_NAME, ATTR_DB_QUERY_SUMMARY, ATTR_DB_QUERY_TEXT, ATTR_DB_RESPONSE_STATUS_CODE, ATTR_DB_STORED_PROCEDURE_NAME, ATTR_DB_SYSTEM_NAME, DB_SYSTEM_NAME_VALUE_MARIADB, DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER, DB_SYSTEM_NAME_VALUE_MYSQL, DB_SYSTEM_NAME_VALUE_POSTGRESQL, ATTR_DEPLOYMENT_ENVIRONMENT_NAME, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_DEVELOPMENT, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_PRODUCTION, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_STAGING, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_TEST, ATTR_DOTNET_GC_HEAP_GENERATION, DOTNET_GC_HEAP_GENERATION_VALUE_GEN0, DOTNET_GC_HEAP_GENERATION_VALUE_GEN1, DOTNET_GC_HEAP_GENERATION_VALUE_GEN2, DOTNET_GC_HEAP_GENERATION_VALUE_LOH, DOTNET_GC_HEAP_GENERATION_VALUE_POH, ATTR_ERROR_TYPE, ERROR_TYPE_VALUE_OTHER, ATTR_EXCEPTION_ESCAPED, ATTR_EXCEPTION_MESSAGE, ATTR_EXCEPTION_STACKTRACE, ATTR_EXCEPTION_TYPE, ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, HTTP_REQUEST_METHOD_VALUE_OTHER, HTTP_REQUEST_METHOD_VALUE_CONNECT, HTTP_REQUEST_METHOD_VALUE_DELETE, HTTP_REQUEST_METHOD_VALUE_GET, HTTP_REQUEST_METHOD_VALUE_HEAD, HTTP_REQUEST_METHOD_VALUE_OPTIONS, HTTP_REQUEST_METHOD_VALUE_PATCH, HTTP_REQUEST_METHOD_VALUE_POST, HTTP_REQUEST_METHOD_VALUE_PUT, HTTP_REQUEST_METHOD_VALUE_TRACE, ATTR_HTTP_REQUEST_METHOD_ORIGINAL, ATTR_HTTP_REQUEST_RESEND_COUNT, ATTR_HTTP_RESPONSE_HEADER, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_HTTP_ROUTE, ATTR_JVM_GC_ACTION, ATTR_JVM_GC_NAME, ATTR_JVM_MEMORY_POOL_NAME, ATTR_JVM_MEMORY_TYPE, JVM_MEMORY_TYPE_VALUE_HEAP, JVM_MEMORY_TYPE_VALUE_NON_HEAP, ATTR_JVM_THREAD_DAEMON, ATTR_JVM_THREAD_STATE, JVM_THREAD_STATE_VALUE_BLOCKED, JVM_THREAD_STATE_VALUE_NEW, JVM_THREAD_STATE_VALUE_RUNNABLE, JVM_THREAD_STATE_VALUE_TERMINATED, JVM_THREAD_STATE_VALUE_TIMED_WAITING, JVM_THREAD_STATE_VALUE_WAITING, ATTR_NETWORK_LOCAL_ADDRESS, ATTR_NETWORK_LOCAL_PORT, ATTR_NETWORK_PEER_ADDRESS, ATTR_NETWORK_PEER_PORT, ATTR_NETWORK_PROTOCOL_NAME, ATTR_NETWORK_PROTOCOL_VERSION, ATTR_NETWORK_TRANSPORT, NETWORK_TRANSPORT_VALUE_PIPE, NETWORK_TRANSPORT_VALUE_QUIC, NETWORK_TRANSPORT_VALUE_TCP, NETWORK_TRANSPORT_VALUE_UDP, NETWORK_TRANSPORT_VALUE_UNIX, ATTR_NETWORK_TYPE, NETWORK_TYPE_VALUE_IPV4, NETWORK_TYPE_VALUE_IPV6, ATTR_OTEL_EVENT_NAME, ATTR_OTEL_SCOPE_NAME, ATTR_OTEL_SCOPE_VERSION, ATTR_OTEL_STATUS_CODE, OTEL_STATUS_CODE_VALUE_ERROR, OTEL_STATUS_CODE_VALUE_OK, ATTR_OTEL_STATUS_DESCRIPTION, ATTR_SERVER_ADDRESS, ATTR_SERVER_PORT, ATTR_SERVICE_INSTANCE_ID, ATTR_SERVICE_NAME, ATTR_SERVICE_NAMESPACE, ATTR_SERVICE_VERSION, ATTR_SIGNALR_CONNECTION_STATUS, SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN, SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE, SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT, ATTR_SIGNALR_TRANSPORT, SIGNALR_TRANSPORT_VALUE_LONG_POLLING, SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS, SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS, ATTR_TELEMETRY_DISTRO_NAME, ATTR_TELEMETRY_DISTRO_VERSION, ATTR_TELEMETRY_SDK_LANGUAGE, TELEMETRY_SDK_LANGUAGE_VALUE_CPP, TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET, TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG, TELEMETRY_SDK_LANGUAGE_VALUE_GO, TELEMETRY_SDK_LANGUAGE_VALUE_JAVA, TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS, TELEMETRY_SDK_LANGUAGE_VALUE_PHP, TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON, TELEMETRY_SDK_LANGUAGE_VALUE_RUBY, TELEMETRY_SDK_LANGUAGE_VALUE_RUST, TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT, TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS, ATTR_TELEMETRY_SDK_NAME, ATTR_TELEMETRY_SDK_VERSION, ATTR_URL_FRAGMENT, ATTR_URL_FULL, ATTR_URL_PATH, ATTR_URL_QUERY, ATTR_URL_SCHEME, ATTR_USER_AGENT_ORIGINAL;
|
|
3186
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/stable_attributes.js
|
|
3187
|
+
var ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED, ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED, ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE, ATTR_ASPNETCORE_RATE_LIMITING_POLICY, ATTR_ASPNETCORE_RATE_LIMITING_RESULT, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER, ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED, ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED, ATTR_ASPNETCORE_ROUTING_IS_FALLBACK, ATTR_ASPNETCORE_ROUTING_MATCH_STATUS, ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE, ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS, ATTR_ASPNETCORE_USER_IS_AUTHENTICATED, ATTR_CLIENT_ADDRESS, ATTR_CLIENT_PORT, ATTR_CODE_COLUMN_NUMBER, ATTR_CODE_FILE_PATH, ATTR_CODE_FUNCTION_NAME, ATTR_CODE_LINE_NUMBER, ATTR_CODE_STACKTRACE, ATTR_CONTAINER_ID, ATTR_CONTAINER_IMAGE_NAME, ATTR_CONTAINER_IMAGE_REPO_DIGESTS, ATTR_CONTAINER_IMAGE_TAGS, ATTR_DB_COLLECTION_NAME, ATTR_DB_NAMESPACE, ATTR_DB_OPERATION_BATCH_SIZE, ATTR_DB_OPERATION_NAME, ATTR_DB_QUERY_SUMMARY, ATTR_DB_QUERY_TEXT, ATTR_DB_RESPONSE_STATUS_CODE, ATTR_DB_STORED_PROCEDURE_NAME, ATTR_DB_SYSTEM_NAME, DB_SYSTEM_NAME_VALUE_MARIADB, DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER, DB_SYSTEM_NAME_VALUE_MYSQL, DB_SYSTEM_NAME_VALUE_POSTGRESQL, ATTR_DEPLOYMENT_ENVIRONMENT_NAME, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_DEVELOPMENT, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_PRODUCTION, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_STAGING, DEPLOYMENT_ENVIRONMENT_NAME_VALUE_TEST, ATTR_DOTNET_GC_HEAP_GENERATION, DOTNET_GC_HEAP_GENERATION_VALUE_GEN0, DOTNET_GC_HEAP_GENERATION_VALUE_GEN1, DOTNET_GC_HEAP_GENERATION_VALUE_GEN2, DOTNET_GC_HEAP_GENERATION_VALUE_LOH, DOTNET_GC_HEAP_GENERATION_VALUE_POH, ATTR_ERROR_TYPE, ERROR_TYPE_VALUE_OTHER, ATTR_EXCEPTION_ESCAPED, ATTR_EXCEPTION_MESSAGE, ATTR_EXCEPTION_STACKTRACE, ATTR_EXCEPTION_TYPE, ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, HTTP_REQUEST_METHOD_VALUE_OTHER, HTTP_REQUEST_METHOD_VALUE_CONNECT, HTTP_REQUEST_METHOD_VALUE_DELETE, HTTP_REQUEST_METHOD_VALUE_GET, HTTP_REQUEST_METHOD_VALUE_HEAD, HTTP_REQUEST_METHOD_VALUE_OPTIONS, HTTP_REQUEST_METHOD_VALUE_PATCH, HTTP_REQUEST_METHOD_VALUE_POST, HTTP_REQUEST_METHOD_VALUE_PUT, HTTP_REQUEST_METHOD_VALUE_TRACE, ATTR_HTTP_REQUEST_METHOD_ORIGINAL, ATTR_HTTP_REQUEST_RESEND_COUNT, ATTR_HTTP_RESPONSE_HEADER, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_HTTP_ROUTE, ATTR_JVM_GC_ACTION, ATTR_JVM_GC_NAME, ATTR_JVM_MEMORY_POOL_NAME, ATTR_JVM_MEMORY_TYPE, JVM_MEMORY_TYPE_VALUE_HEAP, JVM_MEMORY_TYPE_VALUE_NON_HEAP, ATTR_JVM_THREAD_DAEMON, ATTR_JVM_THREAD_STATE, JVM_THREAD_STATE_VALUE_BLOCKED, JVM_THREAD_STATE_VALUE_NEW, JVM_THREAD_STATE_VALUE_RUNNABLE, JVM_THREAD_STATE_VALUE_TERMINATED, JVM_THREAD_STATE_VALUE_TIMED_WAITING, JVM_THREAD_STATE_VALUE_WAITING, ATTR_K8S_CLUSTER_NAME, ATTR_K8S_CLUSTER_UID, ATTR_K8S_CONTAINER_NAME, ATTR_K8S_CONTAINER_RESTART_COUNT, ATTR_K8S_CRONJOB_ANNOTATION, ATTR_K8S_CRONJOB_LABEL, ATTR_K8S_CRONJOB_NAME, ATTR_K8S_CRONJOB_UID, ATTR_K8S_DAEMONSET_ANNOTATION, ATTR_K8S_DAEMONSET_LABEL, ATTR_K8S_DAEMONSET_NAME, ATTR_K8S_DAEMONSET_UID, ATTR_K8S_DEPLOYMENT_ANNOTATION, ATTR_K8S_DEPLOYMENT_LABEL, ATTR_K8S_DEPLOYMENT_NAME, ATTR_K8S_DEPLOYMENT_UID, ATTR_K8S_JOB_ANNOTATION, ATTR_K8S_JOB_LABEL, ATTR_K8S_JOB_NAME, ATTR_K8S_JOB_UID, ATTR_K8S_NAMESPACE_ANNOTATION, ATTR_K8S_NAMESPACE_LABEL, ATTR_K8S_NAMESPACE_NAME, ATTR_K8S_NODE_ANNOTATION, ATTR_K8S_NODE_LABEL, ATTR_K8S_NODE_NAME, ATTR_K8S_NODE_UID, ATTR_K8S_POD_ANNOTATION, ATTR_K8S_POD_HOSTNAME, ATTR_K8S_POD_IP, ATTR_K8S_POD_LABEL, ATTR_K8S_POD_NAME, ATTR_K8S_POD_START_TIME, ATTR_K8S_POD_UID, ATTR_K8S_REPLICASET_ANNOTATION, ATTR_K8S_REPLICASET_LABEL, ATTR_K8S_REPLICASET_NAME, ATTR_K8S_REPLICASET_UID, ATTR_K8S_STATEFULSET_ANNOTATION, ATTR_K8S_STATEFULSET_LABEL, ATTR_K8S_STATEFULSET_NAME, ATTR_K8S_STATEFULSET_UID, ATTR_NETWORK_LOCAL_ADDRESS, ATTR_NETWORK_LOCAL_PORT, ATTR_NETWORK_PEER_ADDRESS, ATTR_NETWORK_PEER_PORT, ATTR_NETWORK_PROTOCOL_NAME, ATTR_NETWORK_PROTOCOL_VERSION, ATTR_NETWORK_TRANSPORT, NETWORK_TRANSPORT_VALUE_PIPE, NETWORK_TRANSPORT_VALUE_QUIC, NETWORK_TRANSPORT_VALUE_TCP, NETWORK_TRANSPORT_VALUE_UDP, NETWORK_TRANSPORT_VALUE_UNIX, ATTR_NETWORK_TYPE, NETWORK_TYPE_VALUE_IPV4, NETWORK_TYPE_VALUE_IPV6, ATTR_OTEL_EVENT_NAME, ATTR_OTEL_SCOPE_NAME, ATTR_OTEL_SCOPE_VERSION, ATTR_OTEL_STATUS_CODE, OTEL_STATUS_CODE_VALUE_ERROR, OTEL_STATUS_CODE_VALUE_OK, ATTR_OTEL_STATUS_DESCRIPTION, ATTR_SERVER_ADDRESS, ATTR_SERVER_PORT, ATTR_SERVICE_INSTANCE_ID, ATTR_SERVICE_NAME, ATTR_SERVICE_NAMESPACE, ATTR_SERVICE_VERSION, ATTR_SIGNALR_CONNECTION_STATUS, SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN, SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE, SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT, ATTR_SIGNALR_TRANSPORT, SIGNALR_TRANSPORT_VALUE_LONG_POLLING, SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS, SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS, ATTR_TELEMETRY_DISTRO_NAME, ATTR_TELEMETRY_DISTRO_VERSION, ATTR_TELEMETRY_SDK_LANGUAGE, TELEMETRY_SDK_LANGUAGE_VALUE_CPP, TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET, TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG, TELEMETRY_SDK_LANGUAGE_VALUE_GO, TELEMETRY_SDK_LANGUAGE_VALUE_JAVA, TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS, TELEMETRY_SDK_LANGUAGE_VALUE_PHP, TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON, TELEMETRY_SDK_LANGUAGE_VALUE_RUBY, TELEMETRY_SDK_LANGUAGE_VALUE_RUST, TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT, TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS, ATTR_TELEMETRY_SDK_NAME, ATTR_TELEMETRY_SDK_VERSION, ATTR_URL_FRAGMENT, ATTR_URL_FULL, ATTR_URL_PATH, ATTR_URL_QUERY, ATTR_URL_SCHEME, ATTR_USER_AGENT_ORIGINAL;
|
|
3169
3188
|
var init_stable_attributes = __esm({
|
|
3170
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3189
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/stable_attributes.js"() {
|
|
3171
3190
|
ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = "aspnetcore.diagnostics.exception.result";
|
|
3172
3191
|
ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = "aborted";
|
|
3173
3192
|
ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = "handled";
|
|
@@ -3193,6 +3212,10 @@ var init_stable_attributes = __esm({
|
|
|
3193
3212
|
ATTR_CODE_FUNCTION_NAME = "code.function.name";
|
|
3194
3213
|
ATTR_CODE_LINE_NUMBER = "code.line.number";
|
|
3195
3214
|
ATTR_CODE_STACKTRACE = "code.stacktrace";
|
|
3215
|
+
ATTR_CONTAINER_ID = "container.id";
|
|
3216
|
+
ATTR_CONTAINER_IMAGE_NAME = "container.image.name";
|
|
3217
|
+
ATTR_CONTAINER_IMAGE_REPO_DIGESTS = "container.image.repo_digests";
|
|
3218
|
+
ATTR_CONTAINER_IMAGE_TAGS = "container.image.tags";
|
|
3196
3219
|
ATTR_DB_COLLECTION_NAME = "db.collection.name";
|
|
3197
3220
|
ATTR_DB_NAMESPACE = "db.namespace";
|
|
3198
3221
|
ATTR_DB_OPERATION_BATCH_SIZE = "db.operation.batch.size";
|
|
@@ -3254,6 +3277,48 @@ var init_stable_attributes = __esm({
|
|
|
3254
3277
|
JVM_THREAD_STATE_VALUE_TERMINATED = "terminated";
|
|
3255
3278
|
JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting";
|
|
3256
3279
|
JVM_THREAD_STATE_VALUE_WAITING = "waiting";
|
|
3280
|
+
ATTR_K8S_CLUSTER_NAME = "k8s.cluster.name";
|
|
3281
|
+
ATTR_K8S_CLUSTER_UID = "k8s.cluster.uid";
|
|
3282
|
+
ATTR_K8S_CONTAINER_NAME = "k8s.container.name";
|
|
3283
|
+
ATTR_K8S_CONTAINER_RESTART_COUNT = "k8s.container.restart_count";
|
|
3284
|
+
ATTR_K8S_CRONJOB_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.cronjob.annotation.${key}`, "ATTR_K8S_CRONJOB_ANNOTATION");
|
|
3285
|
+
ATTR_K8S_CRONJOB_LABEL = /* @__PURE__ */ __name((key) => `k8s.cronjob.label.${key}`, "ATTR_K8S_CRONJOB_LABEL");
|
|
3286
|
+
ATTR_K8S_CRONJOB_NAME = "k8s.cronjob.name";
|
|
3287
|
+
ATTR_K8S_CRONJOB_UID = "k8s.cronjob.uid";
|
|
3288
|
+
ATTR_K8S_DAEMONSET_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.daemonset.annotation.${key}`, "ATTR_K8S_DAEMONSET_ANNOTATION");
|
|
3289
|
+
ATTR_K8S_DAEMONSET_LABEL = /* @__PURE__ */ __name((key) => `k8s.daemonset.label.${key}`, "ATTR_K8S_DAEMONSET_LABEL");
|
|
3290
|
+
ATTR_K8S_DAEMONSET_NAME = "k8s.daemonset.name";
|
|
3291
|
+
ATTR_K8S_DAEMONSET_UID = "k8s.daemonset.uid";
|
|
3292
|
+
ATTR_K8S_DEPLOYMENT_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.deployment.annotation.${key}`, "ATTR_K8S_DEPLOYMENT_ANNOTATION");
|
|
3293
|
+
ATTR_K8S_DEPLOYMENT_LABEL = /* @__PURE__ */ __name((key) => `k8s.deployment.label.${key}`, "ATTR_K8S_DEPLOYMENT_LABEL");
|
|
3294
|
+
ATTR_K8S_DEPLOYMENT_NAME = "k8s.deployment.name";
|
|
3295
|
+
ATTR_K8S_DEPLOYMENT_UID = "k8s.deployment.uid";
|
|
3296
|
+
ATTR_K8S_JOB_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.job.annotation.${key}`, "ATTR_K8S_JOB_ANNOTATION");
|
|
3297
|
+
ATTR_K8S_JOB_LABEL = /* @__PURE__ */ __name((key) => `k8s.job.label.${key}`, "ATTR_K8S_JOB_LABEL");
|
|
3298
|
+
ATTR_K8S_JOB_NAME = "k8s.job.name";
|
|
3299
|
+
ATTR_K8S_JOB_UID = "k8s.job.uid";
|
|
3300
|
+
ATTR_K8S_NAMESPACE_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.namespace.annotation.${key}`, "ATTR_K8S_NAMESPACE_ANNOTATION");
|
|
3301
|
+
ATTR_K8S_NAMESPACE_LABEL = /* @__PURE__ */ __name((key) => `k8s.namespace.label.${key}`, "ATTR_K8S_NAMESPACE_LABEL");
|
|
3302
|
+
ATTR_K8S_NAMESPACE_NAME = "k8s.namespace.name";
|
|
3303
|
+
ATTR_K8S_NODE_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.node.annotation.${key}`, "ATTR_K8S_NODE_ANNOTATION");
|
|
3304
|
+
ATTR_K8S_NODE_LABEL = /* @__PURE__ */ __name((key) => `k8s.node.label.${key}`, "ATTR_K8S_NODE_LABEL");
|
|
3305
|
+
ATTR_K8S_NODE_NAME = "k8s.node.name";
|
|
3306
|
+
ATTR_K8S_NODE_UID = "k8s.node.uid";
|
|
3307
|
+
ATTR_K8S_POD_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.pod.annotation.${key}`, "ATTR_K8S_POD_ANNOTATION");
|
|
3308
|
+
ATTR_K8S_POD_HOSTNAME = "k8s.pod.hostname";
|
|
3309
|
+
ATTR_K8S_POD_IP = "k8s.pod.ip";
|
|
3310
|
+
ATTR_K8S_POD_LABEL = /* @__PURE__ */ __name((key) => `k8s.pod.label.${key}`, "ATTR_K8S_POD_LABEL");
|
|
3311
|
+
ATTR_K8S_POD_NAME = "k8s.pod.name";
|
|
3312
|
+
ATTR_K8S_POD_START_TIME = "k8s.pod.start_time";
|
|
3313
|
+
ATTR_K8S_POD_UID = "k8s.pod.uid";
|
|
3314
|
+
ATTR_K8S_REPLICASET_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.replicaset.annotation.${key}`, "ATTR_K8S_REPLICASET_ANNOTATION");
|
|
3315
|
+
ATTR_K8S_REPLICASET_LABEL = /* @__PURE__ */ __name((key) => `k8s.replicaset.label.${key}`, "ATTR_K8S_REPLICASET_LABEL");
|
|
3316
|
+
ATTR_K8S_REPLICASET_NAME = "k8s.replicaset.name";
|
|
3317
|
+
ATTR_K8S_REPLICASET_UID = "k8s.replicaset.uid";
|
|
3318
|
+
ATTR_K8S_STATEFULSET_ANNOTATION = /* @__PURE__ */ __name((key) => `k8s.statefulset.annotation.${key}`, "ATTR_K8S_STATEFULSET_ANNOTATION");
|
|
3319
|
+
ATTR_K8S_STATEFULSET_LABEL = /* @__PURE__ */ __name((key) => `k8s.statefulset.label.${key}`, "ATTR_K8S_STATEFULSET_LABEL");
|
|
3320
|
+
ATTR_K8S_STATEFULSET_NAME = "k8s.statefulset.name";
|
|
3321
|
+
ATTR_K8S_STATEFULSET_UID = "k8s.statefulset.uid";
|
|
3257
3322
|
ATTR_NETWORK_LOCAL_ADDRESS = "network.local.address";
|
|
3258
3323
|
ATTR_NETWORK_LOCAL_PORT = "network.local.port";
|
|
3259
3324
|
ATTR_NETWORK_PEER_ADDRESS = "network.peer.address";
|
|
@@ -3316,10 +3381,10 @@ var init_stable_attributes = __esm({
|
|
|
3316
3381
|
}
|
|
3317
3382
|
});
|
|
3318
3383
|
|
|
3319
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3384
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/stable_metrics.js
|
|
3320
3385
|
var METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS, METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES, METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS, METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE, METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION, METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS, METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS, METRIC_DB_CLIENT_OPERATION_DURATION, METRIC_DOTNET_ASSEMBLY_COUNT, METRIC_DOTNET_EXCEPTIONS, METRIC_DOTNET_GC_COLLECTIONS, METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED, METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE, METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE, METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE, METRIC_DOTNET_GC_PAUSE_TIME, METRIC_DOTNET_JIT_COMPILATION_TIME, METRIC_DOTNET_JIT_COMPILED_IL_SIZE, METRIC_DOTNET_JIT_COMPILED_METHODS, METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS, METRIC_DOTNET_PROCESS_CPU_COUNT, METRIC_DOTNET_PROCESS_CPU_TIME, METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET, METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH, METRIC_DOTNET_THREAD_POOL_THREAD_COUNT, METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT, METRIC_DOTNET_TIMER_COUNT, METRIC_HTTP_CLIENT_REQUEST_DURATION, METRIC_HTTP_SERVER_REQUEST_DURATION, METRIC_JVM_CLASS_COUNT, METRIC_JVM_CLASS_LOADED, METRIC_JVM_CLASS_UNLOADED, METRIC_JVM_CPU_COUNT, METRIC_JVM_CPU_RECENT_UTILIZATION, METRIC_JVM_CPU_TIME, METRIC_JVM_GC_DURATION, METRIC_JVM_MEMORY_COMMITTED, METRIC_JVM_MEMORY_LIMIT, METRIC_JVM_MEMORY_USED, METRIC_JVM_MEMORY_USED_AFTER_LAST_GC, METRIC_JVM_THREAD_COUNT, METRIC_KESTREL_ACTIVE_CONNECTIONS, METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES, METRIC_KESTREL_CONNECTION_DURATION, METRIC_KESTREL_QUEUED_CONNECTIONS, METRIC_KESTREL_QUEUED_REQUESTS, METRIC_KESTREL_REJECTED_CONNECTIONS, METRIC_KESTREL_TLS_HANDSHAKE_DURATION, METRIC_KESTREL_UPGRADED_CONNECTIONS, METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS, METRIC_SIGNALR_SERVER_CONNECTION_DURATION;
|
|
3321
3386
|
var init_stable_metrics = __esm({
|
|
3322
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3387
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/stable_metrics.js"() {
|
|
3323
3388
|
METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = "aspnetcore.diagnostics.exceptions";
|
|
3324
3389
|
METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = "aspnetcore.rate_limiting.active_request_leases";
|
|
3325
3390
|
METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = "aspnetcore.rate_limiting.queued_requests";
|
|
@@ -3374,15 +3439,15 @@ var init_stable_metrics = __esm({
|
|
|
3374
3439
|
}
|
|
3375
3440
|
});
|
|
3376
3441
|
|
|
3377
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3442
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/stable_events.js
|
|
3378
3443
|
var EVENT_EXCEPTION;
|
|
3379
3444
|
var init_stable_events = __esm({
|
|
3380
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3445
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/stable_events.js"() {
|
|
3381
3446
|
EVENT_EXCEPTION = "exception";
|
|
3382
3447
|
}
|
|
3383
3448
|
});
|
|
3384
3449
|
|
|
3385
|
-
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
3450
|
+
// ../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/index.js
|
|
3386
3451
|
var esm_exports2 = {};
|
|
3387
3452
|
__export(esm_exports2, {
|
|
3388
3453
|
ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED: () => ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED,
|
|
@@ -3410,6 +3475,10 @@ __export(esm_exports2, {
|
|
|
3410
3475
|
ATTR_CODE_FUNCTION_NAME: () => ATTR_CODE_FUNCTION_NAME,
|
|
3411
3476
|
ATTR_CODE_LINE_NUMBER: () => ATTR_CODE_LINE_NUMBER,
|
|
3412
3477
|
ATTR_CODE_STACKTRACE: () => ATTR_CODE_STACKTRACE,
|
|
3478
|
+
ATTR_CONTAINER_ID: () => ATTR_CONTAINER_ID,
|
|
3479
|
+
ATTR_CONTAINER_IMAGE_NAME: () => ATTR_CONTAINER_IMAGE_NAME,
|
|
3480
|
+
ATTR_CONTAINER_IMAGE_REPO_DIGESTS: () => ATTR_CONTAINER_IMAGE_REPO_DIGESTS,
|
|
3481
|
+
ATTR_CONTAINER_IMAGE_TAGS: () => ATTR_CONTAINER_IMAGE_TAGS,
|
|
3413
3482
|
ATTR_DB_COLLECTION_NAME: () => ATTR_DB_COLLECTION_NAME,
|
|
3414
3483
|
ATTR_DB_NAMESPACE: () => ATTR_DB_NAMESPACE,
|
|
3415
3484
|
ATTR_DB_OPERATION_BATCH_SIZE: () => ATTR_DB_OPERATION_BATCH_SIZE,
|
|
@@ -3439,6 +3508,48 @@ __export(esm_exports2, {
|
|
|
3439
3508
|
ATTR_JVM_MEMORY_TYPE: () => ATTR_JVM_MEMORY_TYPE,
|
|
3440
3509
|
ATTR_JVM_THREAD_DAEMON: () => ATTR_JVM_THREAD_DAEMON,
|
|
3441
3510
|
ATTR_JVM_THREAD_STATE: () => ATTR_JVM_THREAD_STATE,
|
|
3511
|
+
ATTR_K8S_CLUSTER_NAME: () => ATTR_K8S_CLUSTER_NAME,
|
|
3512
|
+
ATTR_K8S_CLUSTER_UID: () => ATTR_K8S_CLUSTER_UID,
|
|
3513
|
+
ATTR_K8S_CONTAINER_NAME: () => ATTR_K8S_CONTAINER_NAME,
|
|
3514
|
+
ATTR_K8S_CONTAINER_RESTART_COUNT: () => ATTR_K8S_CONTAINER_RESTART_COUNT,
|
|
3515
|
+
ATTR_K8S_CRONJOB_ANNOTATION: () => ATTR_K8S_CRONJOB_ANNOTATION,
|
|
3516
|
+
ATTR_K8S_CRONJOB_LABEL: () => ATTR_K8S_CRONJOB_LABEL,
|
|
3517
|
+
ATTR_K8S_CRONJOB_NAME: () => ATTR_K8S_CRONJOB_NAME,
|
|
3518
|
+
ATTR_K8S_CRONJOB_UID: () => ATTR_K8S_CRONJOB_UID,
|
|
3519
|
+
ATTR_K8S_DAEMONSET_ANNOTATION: () => ATTR_K8S_DAEMONSET_ANNOTATION,
|
|
3520
|
+
ATTR_K8S_DAEMONSET_LABEL: () => ATTR_K8S_DAEMONSET_LABEL,
|
|
3521
|
+
ATTR_K8S_DAEMONSET_NAME: () => ATTR_K8S_DAEMONSET_NAME,
|
|
3522
|
+
ATTR_K8S_DAEMONSET_UID: () => ATTR_K8S_DAEMONSET_UID,
|
|
3523
|
+
ATTR_K8S_DEPLOYMENT_ANNOTATION: () => ATTR_K8S_DEPLOYMENT_ANNOTATION,
|
|
3524
|
+
ATTR_K8S_DEPLOYMENT_LABEL: () => ATTR_K8S_DEPLOYMENT_LABEL,
|
|
3525
|
+
ATTR_K8S_DEPLOYMENT_NAME: () => ATTR_K8S_DEPLOYMENT_NAME,
|
|
3526
|
+
ATTR_K8S_DEPLOYMENT_UID: () => ATTR_K8S_DEPLOYMENT_UID,
|
|
3527
|
+
ATTR_K8S_JOB_ANNOTATION: () => ATTR_K8S_JOB_ANNOTATION,
|
|
3528
|
+
ATTR_K8S_JOB_LABEL: () => ATTR_K8S_JOB_LABEL,
|
|
3529
|
+
ATTR_K8S_JOB_NAME: () => ATTR_K8S_JOB_NAME,
|
|
3530
|
+
ATTR_K8S_JOB_UID: () => ATTR_K8S_JOB_UID,
|
|
3531
|
+
ATTR_K8S_NAMESPACE_ANNOTATION: () => ATTR_K8S_NAMESPACE_ANNOTATION,
|
|
3532
|
+
ATTR_K8S_NAMESPACE_LABEL: () => ATTR_K8S_NAMESPACE_LABEL,
|
|
3533
|
+
ATTR_K8S_NAMESPACE_NAME: () => ATTR_K8S_NAMESPACE_NAME,
|
|
3534
|
+
ATTR_K8S_NODE_ANNOTATION: () => ATTR_K8S_NODE_ANNOTATION,
|
|
3535
|
+
ATTR_K8S_NODE_LABEL: () => ATTR_K8S_NODE_LABEL,
|
|
3536
|
+
ATTR_K8S_NODE_NAME: () => ATTR_K8S_NODE_NAME,
|
|
3537
|
+
ATTR_K8S_NODE_UID: () => ATTR_K8S_NODE_UID,
|
|
3538
|
+
ATTR_K8S_POD_ANNOTATION: () => ATTR_K8S_POD_ANNOTATION,
|
|
3539
|
+
ATTR_K8S_POD_HOSTNAME: () => ATTR_K8S_POD_HOSTNAME,
|
|
3540
|
+
ATTR_K8S_POD_IP: () => ATTR_K8S_POD_IP,
|
|
3541
|
+
ATTR_K8S_POD_LABEL: () => ATTR_K8S_POD_LABEL,
|
|
3542
|
+
ATTR_K8S_POD_NAME: () => ATTR_K8S_POD_NAME,
|
|
3543
|
+
ATTR_K8S_POD_START_TIME: () => ATTR_K8S_POD_START_TIME,
|
|
3544
|
+
ATTR_K8S_POD_UID: () => ATTR_K8S_POD_UID,
|
|
3545
|
+
ATTR_K8S_REPLICASET_ANNOTATION: () => ATTR_K8S_REPLICASET_ANNOTATION,
|
|
3546
|
+
ATTR_K8S_REPLICASET_LABEL: () => ATTR_K8S_REPLICASET_LABEL,
|
|
3547
|
+
ATTR_K8S_REPLICASET_NAME: () => ATTR_K8S_REPLICASET_NAME,
|
|
3548
|
+
ATTR_K8S_REPLICASET_UID: () => ATTR_K8S_REPLICASET_UID,
|
|
3549
|
+
ATTR_K8S_STATEFULSET_ANNOTATION: () => ATTR_K8S_STATEFULSET_ANNOTATION,
|
|
3550
|
+
ATTR_K8S_STATEFULSET_LABEL: () => ATTR_K8S_STATEFULSET_LABEL,
|
|
3551
|
+
ATTR_K8S_STATEFULSET_NAME: () => ATTR_K8S_STATEFULSET_NAME,
|
|
3552
|
+
ATTR_K8S_STATEFULSET_UID: () => ATTR_K8S_STATEFULSET_UID,
|
|
3442
3553
|
ATTR_NETWORK_LOCAL_ADDRESS: () => ATTR_NETWORK_LOCAL_ADDRESS,
|
|
3443
3554
|
ATTR_NETWORK_LOCAL_PORT: () => ATTR_NETWORK_LOCAL_PORT,
|
|
3444
3555
|
ATTR_NETWORK_PEER_ADDRESS: () => ATTR_NETWORK_PEER_ADDRESS,
|
|
@@ -3996,7 +4107,7 @@ __export(esm_exports2, {
|
|
|
3996
4107
|
TelemetrySdkLanguageValues: () => TelemetrySdkLanguageValues
|
|
3997
4108
|
});
|
|
3998
4109
|
var init_esm2 = __esm({
|
|
3999
|
-
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.
|
|
4110
|
+
"../../node_modules/.store/@opentelemetry-semantic-conventions-npm-1.42.0-3cfdc67110/package/build/esm/index.js"() {
|
|
4000
4111
|
init_trace();
|
|
4001
4112
|
init_resource();
|
|
4002
4113
|
init_stable_attributes();
|
|
@@ -4005,9 +4116,9 @@ var init_esm2 = __esm({
|
|
|
4005
4116
|
}
|
|
4006
4117
|
});
|
|
4007
4118
|
|
|
4008
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4119
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/semconv.js
|
|
4009
4120
|
var require_semconv = __commonJS({
|
|
4010
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4121
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/semconv.js"(exports) {
|
|
4011
4122
|
"use strict";
|
|
4012
4123
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4013
4124
|
exports.ATTR_PROCESS_RUNTIME_NAME = void 0;
|
|
@@ -4015,9 +4126,9 @@ var require_semconv = __commonJS({
|
|
|
4015
4126
|
}
|
|
4016
4127
|
});
|
|
4017
4128
|
|
|
4018
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4129
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/node/sdk-info.js
|
|
4019
4130
|
var require_sdk_info = __commonJS({
|
|
4020
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4131
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/node/sdk-info.js"(exports) {
|
|
4021
4132
|
"use strict";
|
|
4022
4133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4023
4134
|
exports.SDK_INFO = void 0;
|
|
@@ -4033,9 +4144,9 @@ var require_sdk_info = __commonJS({
|
|
|
4033
4144
|
}
|
|
4034
4145
|
});
|
|
4035
4146
|
|
|
4036
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4147
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/node/index.js
|
|
4037
4148
|
var require_node2 = __commonJS({
|
|
4038
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4149
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/node/index.js"(exports) {
|
|
4039
4150
|
"use strict";
|
|
4040
4151
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4041
4152
|
exports.otperformance = exports.SDK_INFO = exports._globalThis = exports.getStringListFromEnv = exports.getNumberFromEnv = exports.getBooleanFromEnv = exports.getStringFromEnv = void 0;
|
|
@@ -4064,9 +4175,9 @@ var require_node2 = __commonJS({
|
|
|
4064
4175
|
}
|
|
4065
4176
|
});
|
|
4066
4177
|
|
|
4067
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4178
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/index.js
|
|
4068
4179
|
var require_platform = __commonJS({
|
|
4069
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4180
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/platform/index.js"(exports) {
|
|
4070
4181
|
"use strict";
|
|
4071
4182
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4072
4183
|
exports.getStringListFromEnv = exports.getNumberFromEnv = exports.getStringFromEnv = exports.getBooleanFromEnv = exports.otperformance = exports._globalThis = exports.SDK_INFO = void 0;
|
|
@@ -4095,12 +4206,12 @@ var require_platform = __commonJS({
|
|
|
4095
4206
|
}
|
|
4096
4207
|
});
|
|
4097
4208
|
|
|
4098
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4209
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/time.js
|
|
4099
4210
|
var require_time = __commonJS({
|
|
4100
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4211
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/time.js"(exports) {
|
|
4101
4212
|
"use strict";
|
|
4102
4213
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4103
|
-
exports.addHrTimes = exports.isTimeInput = exports.isTimeInputHrTime = exports.
|
|
4214
|
+
exports.addHrTimes = exports.isTimeInput = exports.isTimeInputHrTime = exports.hrTimeToSeconds = exports.hrTimeToMilliseconds = exports.hrTimeToMicroseconds = exports.hrTimeToNanoseconds = exports.hrTimeToTimeStamp = exports.hrTimeDuration = exports.timeInputToHrTime = exports.hrTime = exports.getTimeOrigin = exports.millisToHrTime = void 0;
|
|
4104
4215
|
var platform_1 = require_platform();
|
|
4105
4216
|
var NANOSECOND_DIGITS = 9;
|
|
4106
4217
|
var NANOSECOND_DIGITS_IN_MILLIS = 6;
|
|
@@ -4168,16 +4279,21 @@ var require_time = __commonJS({
|
|
|
4168
4279
|
}
|
|
4169
4280
|
__name(hrTimeToNanoseconds2, "hrTimeToNanoseconds");
|
|
4170
4281
|
exports.hrTimeToNanoseconds = hrTimeToNanoseconds2;
|
|
4282
|
+
function hrTimeToMicroseconds(time) {
|
|
4283
|
+
return time[0] * 1e6 + time[1] / 1e3;
|
|
4284
|
+
}
|
|
4285
|
+
__name(hrTimeToMicroseconds, "hrTimeToMicroseconds");
|
|
4286
|
+
exports.hrTimeToMicroseconds = hrTimeToMicroseconds;
|
|
4171
4287
|
function hrTimeToMilliseconds3(time) {
|
|
4172
4288
|
return time[0] * 1e3 + time[1] / 1e6;
|
|
4173
4289
|
}
|
|
4174
4290
|
__name(hrTimeToMilliseconds3, "hrTimeToMilliseconds");
|
|
4175
4291
|
exports.hrTimeToMilliseconds = hrTimeToMilliseconds3;
|
|
4176
|
-
function
|
|
4177
|
-
return time[0]
|
|
4292
|
+
function hrTimeToSeconds(time) {
|
|
4293
|
+
return time[0] + time[1] / SECOND_TO_NANOSECONDS;
|
|
4178
4294
|
}
|
|
4179
|
-
__name(
|
|
4180
|
-
exports.
|
|
4295
|
+
__name(hrTimeToSeconds, "hrTimeToSeconds");
|
|
4296
|
+
exports.hrTimeToSeconds = hrTimeToSeconds;
|
|
4181
4297
|
function isTimeInputHrTime(value) {
|
|
4182
4298
|
return Array.isArray(value) && value.length === 2 && typeof value[0] === "number" && typeof value[1] === "number";
|
|
4183
4299
|
}
|
|
@@ -4201,9 +4317,9 @@ var require_time = __commonJS({
|
|
|
4201
4317
|
}
|
|
4202
4318
|
});
|
|
4203
4319
|
|
|
4204
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4320
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/timer-util.js
|
|
4205
4321
|
var require_timer_util = __commonJS({
|
|
4206
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4322
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/common/timer-util.js"(exports) {
|
|
4207
4323
|
"use strict";
|
|
4208
4324
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4209
4325
|
exports.unrefTimer = void 0;
|
|
@@ -4217,9 +4333,9 @@ var require_timer_util = __commonJS({
|
|
|
4217
4333
|
}
|
|
4218
4334
|
});
|
|
4219
4335
|
|
|
4220
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4336
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/ExportResult.js
|
|
4221
4337
|
var require_ExportResult = __commonJS({
|
|
4222
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4338
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/ExportResult.js"(exports) {
|
|
4223
4339
|
"use strict";
|
|
4224
4340
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4225
4341
|
exports.ExportResultCode = void 0;
|
|
@@ -4231,9 +4347,9 @@ var require_ExportResult = __commonJS({
|
|
|
4231
4347
|
}
|
|
4232
4348
|
});
|
|
4233
4349
|
|
|
4234
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4350
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/propagation/composite.js
|
|
4235
4351
|
var require_composite = __commonJS({
|
|
4236
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4352
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/propagation/composite.js"(exports) {
|
|
4237
4353
|
"use strict";
|
|
4238
4354
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4239
4355
|
exports.CompositePropagator = void 0;
|
|
@@ -4305,9 +4421,9 @@ var require_composite = __commonJS({
|
|
|
4305
4421
|
}
|
|
4306
4422
|
});
|
|
4307
4423
|
|
|
4308
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4424
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/internal/validators.js
|
|
4309
4425
|
var require_validators = __commonJS({
|
|
4310
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4426
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/internal/validators.js"(exports) {
|
|
4311
4427
|
"use strict";
|
|
4312
4428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4313
4429
|
exports.validateValue = exports.validateKey = void 0;
|
|
@@ -4330,9 +4446,9 @@ var require_validators = __commonJS({
|
|
|
4330
4446
|
}
|
|
4331
4447
|
});
|
|
4332
4448
|
|
|
4333
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4449
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/TraceState.js
|
|
4334
4450
|
var require_TraceState = __commonJS({
|
|
4335
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4451
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/TraceState.js"(exports) {
|
|
4336
4452
|
"use strict";
|
|
4337
4453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4338
4454
|
exports.TraceState = void 0;
|
|
@@ -4445,9 +4561,9 @@ var require_TraceState = __commonJS({
|
|
|
4445
4561
|
}
|
|
4446
4562
|
});
|
|
4447
4563
|
|
|
4448
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4564
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/W3CTraceContextPropagator.js
|
|
4449
4565
|
var require_W3CTraceContextPropagator = __commonJS({
|
|
4450
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4566
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/W3CTraceContextPropagator.js"(exports) {
|
|
4451
4567
|
"use strict";
|
|
4452
4568
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4453
4569
|
exports.W3CTraceContextPropagator = exports.parseTraceParent = exports.TRACE_STATE_HEADER = exports.TRACE_PARENT_HEADER = void 0;
|
|
@@ -4516,9 +4632,9 @@ var require_W3CTraceContextPropagator = __commonJS({
|
|
|
4516
4632
|
}
|
|
4517
4633
|
});
|
|
4518
4634
|
|
|
4519
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4635
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/rpc-metadata.js
|
|
4520
4636
|
var require_rpc_metadata = __commonJS({
|
|
4521
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4637
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/trace/rpc-metadata.js"(exports) {
|
|
4522
4638
|
"use strict";
|
|
4523
4639
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4524
4640
|
exports.getRPCMetadata = exports.deleteRPCMetadata = exports.setRPCMetadata = exports.RPCType = void 0;
|
|
@@ -4546,9 +4662,9 @@ var require_rpc_metadata = __commonJS({
|
|
|
4546
4662
|
}
|
|
4547
4663
|
});
|
|
4548
4664
|
|
|
4549
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4665
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/lodash.merge.js
|
|
4550
4666
|
var require_lodash_merge = __commonJS({
|
|
4551
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4667
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/lodash.merge.js"(exports) {
|
|
4552
4668
|
"use strict";
|
|
4553
4669
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4554
4670
|
exports.isPlainObject = void 0;
|
|
@@ -4613,9 +4729,9 @@ var require_lodash_merge = __commonJS({
|
|
|
4613
4729
|
}
|
|
4614
4730
|
});
|
|
4615
4731
|
|
|
4616
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4732
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/merge.js
|
|
4617
4733
|
var require_merge = __commonJS({
|
|
4618
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4734
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/merge.js"(exports) {
|
|
4619
4735
|
"use strict";
|
|
4620
4736
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4621
4737
|
exports.merge = void 0;
|
|
@@ -4743,9 +4859,9 @@ var require_merge = __commonJS({
|
|
|
4743
4859
|
}
|
|
4744
4860
|
});
|
|
4745
4861
|
|
|
4746
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4862
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/timeout.js
|
|
4747
4863
|
var require_timeout = __commonJS({
|
|
4748
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4864
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/timeout.js"(exports) {
|
|
4749
4865
|
"use strict";
|
|
4750
4866
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4751
4867
|
exports.callWithTimeout = exports.TimeoutError = void 0;
|
|
@@ -4779,9 +4895,9 @@ var require_timeout = __commonJS({
|
|
|
4779
4895
|
}
|
|
4780
4896
|
});
|
|
4781
4897
|
|
|
4782
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4898
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/url.js
|
|
4783
4899
|
var require_url = __commonJS({
|
|
4784
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4900
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/url.js"(exports) {
|
|
4785
4901
|
"use strict";
|
|
4786
4902
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4787
4903
|
exports.isUrlIgnored = exports.urlMatches = void 0;
|
|
@@ -4810,9 +4926,9 @@ var require_url = __commonJS({
|
|
|
4810
4926
|
}
|
|
4811
4927
|
});
|
|
4812
4928
|
|
|
4813
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4929
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/promise.js
|
|
4814
4930
|
var require_promise = __commonJS({
|
|
4815
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4931
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/promise.js"(exports) {
|
|
4816
4932
|
"use strict";
|
|
4817
4933
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4818
4934
|
exports.Deferred = void 0;
|
|
@@ -4843,9 +4959,9 @@ var require_promise = __commonJS({
|
|
|
4843
4959
|
}
|
|
4844
4960
|
});
|
|
4845
4961
|
|
|
4846
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4962
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/callback.js
|
|
4847
4963
|
var require_callback = __commonJS({
|
|
4848
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
4964
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/callback.js"(exports) {
|
|
4849
4965
|
"use strict";
|
|
4850
4966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4851
4967
|
exports.BindOnceFuture = void 0;
|
|
@@ -4884,9 +5000,9 @@ var require_callback = __commonJS({
|
|
|
4884
5000
|
}
|
|
4885
5001
|
});
|
|
4886
5002
|
|
|
4887
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
5003
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/configuration.js
|
|
4888
5004
|
var require_configuration = __commonJS({
|
|
4889
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
5005
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/utils/configuration.js"(exports) {
|
|
4890
5006
|
"use strict";
|
|
4891
5007
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4892
5008
|
exports.diagLogLevelFromString = void 0;
|
|
@@ -4916,9 +5032,9 @@ var require_configuration = __commonJS({
|
|
|
4916
5032
|
}
|
|
4917
5033
|
});
|
|
4918
5034
|
|
|
4919
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
5035
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/internal/exporter.js
|
|
4920
5036
|
var require_exporter = __commonJS({
|
|
4921
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
5037
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/internal/exporter.js"(exports) {
|
|
4922
5038
|
"use strict";
|
|
4923
5039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4924
5040
|
exports._export = void 0;
|
|
@@ -4936,12 +5052,13 @@ var require_exporter = __commonJS({
|
|
|
4936
5052
|
}
|
|
4937
5053
|
});
|
|
4938
5054
|
|
|
4939
|
-
// ../../node_modules/.store/@opentelemetry-core-virtual-
|
|
5055
|
+
// ../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/index.js
|
|
4940
5056
|
var require_src2 = __commonJS({
|
|
4941
|
-
"../../node_modules/.store/@opentelemetry-core-virtual-
|
|
5057
|
+
"../../node_modules/.store/@opentelemetry-core-virtual-4254571001/package/build/src/index.js"(exports) {
|
|
4942
5058
|
"use strict";
|
|
4943
5059
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4944
|
-
exports.
|
|
5060
|
+
exports.diagLogLevelFromString = exports.BindOnceFuture = exports.urlMatches = exports.isUrlIgnored = exports.callWithTimeout = exports.TimeoutError = exports.merge = exports.TraceState = exports.unsuppressTracing = exports.suppressTracing = exports.isTracingSuppressed = exports.setRPCMetadata = exports.getRPCMetadata = exports.deleteRPCMetadata = exports.RPCType = exports.parseTraceParent = exports.W3CTraceContextPropagator = exports.TRACE_STATE_HEADER = exports.TRACE_PARENT_HEADER = exports.CompositePropagator = exports.otperformance = exports.getStringListFromEnv = exports.getNumberFromEnv = exports.getBooleanFromEnv = exports.getStringFromEnv = exports._globalThis = exports.SDK_INFO = exports.parseKeyPairsIntoRecord = exports.ExportResultCode = exports.unrefTimer = exports.timeInputToHrTime = exports.millisToHrTime = exports.isTimeInputHrTime = exports.isTimeInput = exports.hrTimeToTimeStamp = exports.hrTimeToSeconds = exports.hrTimeToNanoseconds = exports.hrTimeToMilliseconds = exports.hrTimeToMicroseconds = exports.hrTimeDuration = exports.hrTime = exports.getTimeOrigin = exports.addHrTimes = exports.loggingErrorHandler = exports.setGlobalErrorHandler = exports.globalErrorHandler = exports.sanitizeAttributes = exports.isAttributeValue = exports.AnchoredClock = exports.W3CBaggagePropagator = void 0;
|
|
5061
|
+
exports.internal = void 0;
|
|
4945
5062
|
var W3CBaggagePropagator_1 = require_W3CBaggagePropagator();
|
|
4946
5063
|
Object.defineProperty(exports, "W3CBaggagePropagator", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
4947
5064
|
return W3CBaggagePropagator_1.W3CBaggagePropagator;
|
|
@@ -4990,6 +5107,9 @@ var require_src2 = __commonJS({
|
|
|
4990
5107
|
Object.defineProperty(exports, "hrTimeToNanoseconds", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
4991
5108
|
return time_1.hrTimeToNanoseconds;
|
|
4992
5109
|
}, "get") });
|
|
5110
|
+
Object.defineProperty(exports, "hrTimeToSeconds", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
5111
|
+
return time_1.hrTimeToSeconds;
|
|
5112
|
+
}, "get") });
|
|
4993
5113
|
Object.defineProperty(exports, "hrTimeToTimeStamp", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
4994
5114
|
return time_1.hrTimeToTimeStamp;
|
|
4995
5115
|
}, "get") });
|
|
@@ -5116,9 +5236,9 @@ var require_src2 = __commonJS({
|
|
|
5116
5236
|
}
|
|
5117
5237
|
});
|
|
5118
5238
|
|
|
5119
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5239
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/AggregationTemporality.js
|
|
5120
5240
|
var require_AggregationTemporality = __commonJS({
|
|
5121
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5241
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/AggregationTemporality.js"(exports) {
|
|
5122
5242
|
"use strict";
|
|
5123
5243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5124
5244
|
exports.AggregationTemporality = void 0;
|
|
@@ -5130,9 +5250,9 @@ var require_AggregationTemporality = __commonJS({
|
|
|
5130
5250
|
}
|
|
5131
5251
|
});
|
|
5132
5252
|
|
|
5133
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5253
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/MetricData.js
|
|
5134
5254
|
var require_MetricData = __commonJS({
|
|
5135
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5255
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/MetricData.js"(exports) {
|
|
5136
5256
|
"use strict";
|
|
5137
5257
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5138
5258
|
exports.DataPointType = exports.InstrumentType = void 0;
|
|
@@ -5156,9 +5276,9 @@ var require_MetricData = __commonJS({
|
|
|
5156
5276
|
}
|
|
5157
5277
|
});
|
|
5158
5278
|
|
|
5159
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5279
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/utils.js
|
|
5160
5280
|
var require_utils2 = __commonJS({
|
|
5161
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5281
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/utils.js"(exports) {
|
|
5162
5282
|
"use strict";
|
|
5163
5283
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5164
5284
|
exports.equalsCaseInsensitive = exports.binarySearchUB = exports.setEquals = exports.callWithTimeout = exports.TimeoutError = exports.instrumentationScopeId = exports.hashAttributes = void 0;
|
|
@@ -5241,9 +5361,9 @@ var require_utils2 = __commonJS({
|
|
|
5241
5361
|
}
|
|
5242
5362
|
});
|
|
5243
5363
|
|
|
5244
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5364
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/types.js
|
|
5245
5365
|
var require_types = __commonJS({
|
|
5246
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5366
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/types.js"(exports) {
|
|
5247
5367
|
"use strict";
|
|
5248
5368
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5249
5369
|
exports.AggregatorKind = void 0;
|
|
@@ -5258,9 +5378,9 @@ var require_types = __commonJS({
|
|
|
5258
5378
|
}
|
|
5259
5379
|
});
|
|
5260
5380
|
|
|
5261
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5381
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/Drop.js
|
|
5262
5382
|
var require_Drop = __commonJS({
|
|
5263
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5383
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/Drop.js"(exports) {
|
|
5264
5384
|
"use strict";
|
|
5265
5385
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5266
5386
|
exports.DropAggregator = void 0;
|
|
@@ -5287,9 +5407,9 @@ var require_Drop = __commonJS({
|
|
|
5287
5407
|
}
|
|
5288
5408
|
});
|
|
5289
5409
|
|
|
5290
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5410
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/Histogram.js
|
|
5291
5411
|
var require_Histogram = __commonJS({
|
|
5292
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5412
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/Histogram.js"(exports) {
|
|
5293
5413
|
"use strict";
|
|
5294
5414
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5295
5415
|
exports.HistogramAggregator = exports.HistogramAccumulation = void 0;
|
|
@@ -5458,9 +5578,9 @@ var require_Histogram = __commonJS({
|
|
|
5458
5578
|
}
|
|
5459
5579
|
});
|
|
5460
5580
|
|
|
5461
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5581
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/Buckets.js
|
|
5462
5582
|
var require_Buckets = __commonJS({
|
|
5463
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5583
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/Buckets.js"(exports) {
|
|
5464
5584
|
"use strict";
|
|
5465
5585
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5466
5586
|
exports.Buckets = void 0;
|
|
@@ -5719,9 +5839,9 @@ var require_Buckets = __commonJS({
|
|
|
5719
5839
|
}
|
|
5720
5840
|
});
|
|
5721
5841
|
|
|
5722
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5842
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/ieee754.js
|
|
5723
5843
|
var require_ieee754 = __commonJS({
|
|
5724
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5844
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/ieee754.js"(exports) {
|
|
5725
5845
|
"use strict";
|
|
5726
5846
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5727
5847
|
exports.getSignificand = exports.getNormalBase2 = exports.MIN_VALUE = exports.MAX_NORMAL_EXPONENT = exports.MIN_NORMAL_EXPONENT = exports.SIGNIFICAND_WIDTH = void 0;
|
|
@@ -5754,9 +5874,9 @@ var require_ieee754 = __commonJS({
|
|
|
5754
5874
|
}
|
|
5755
5875
|
});
|
|
5756
5876
|
|
|
5757
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5877
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/util.js
|
|
5758
5878
|
var require_util = __commonJS({
|
|
5759
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5879
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/util.js"(exports) {
|
|
5760
5880
|
"use strict";
|
|
5761
5881
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5762
5882
|
exports.nextGreaterSquare = exports.ldexp = void 0;
|
|
@@ -5783,9 +5903,9 @@ var require_util = __commonJS({
|
|
|
5783
5903
|
}
|
|
5784
5904
|
});
|
|
5785
5905
|
|
|
5786
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5906
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/types.js
|
|
5787
5907
|
var require_types2 = __commonJS({
|
|
5788
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5908
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/types.js"(exports) {
|
|
5789
5909
|
"use strict";
|
|
5790
5910
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5791
5911
|
exports.MappingError = void 0;
|
|
@@ -5798,9 +5918,9 @@ var require_types2 = __commonJS({
|
|
|
5798
5918
|
}
|
|
5799
5919
|
});
|
|
5800
5920
|
|
|
5801
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5921
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.js
|
|
5802
5922
|
var require_ExponentMapping = __commonJS({
|
|
5803
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5923
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.js"(exports) {
|
|
5804
5924
|
"use strict";
|
|
5805
5925
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5806
5926
|
exports.ExponentMapping = void 0;
|
|
@@ -5873,9 +5993,9 @@ var require_ExponentMapping = __commonJS({
|
|
|
5873
5993
|
}
|
|
5874
5994
|
});
|
|
5875
5995
|
|
|
5876
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5996
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.js
|
|
5877
5997
|
var require_LogarithmMapping = __commonJS({
|
|
5878
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
5998
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.js"(exports) {
|
|
5879
5999
|
"use strict";
|
|
5880
6000
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5881
6001
|
exports.LogarithmMapping = void 0;
|
|
@@ -5957,9 +6077,9 @@ var require_LogarithmMapping = __commonJS({
|
|
|
5957
6077
|
}
|
|
5958
6078
|
});
|
|
5959
6079
|
|
|
5960
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6080
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/getMapping.js
|
|
5961
6081
|
var require_getMapping = __commonJS({
|
|
5962
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6082
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/exponential-histogram/mapping/getMapping.js"(exports) {
|
|
5963
6083
|
"use strict";
|
|
5964
6084
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5965
6085
|
exports.getMapping = void 0;
|
|
@@ -5985,9 +6105,9 @@ var require_getMapping = __commonJS({
|
|
|
5985
6105
|
}
|
|
5986
6106
|
});
|
|
5987
6107
|
|
|
5988
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6108
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/ExponentialHistogram.js
|
|
5989
6109
|
var require_ExponentialHistogram = __commonJS({
|
|
5990
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6110
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/ExponentialHistogram.js"(exports) {
|
|
5991
6111
|
"use strict";
|
|
5992
6112
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5993
6113
|
exports.ExponentialHistogramAggregator = exports.ExponentialHistogramAccumulation = void 0;
|
|
@@ -6439,9 +6559,9 @@ var require_ExponentialHistogram = __commonJS({
|
|
|
6439
6559
|
}
|
|
6440
6560
|
});
|
|
6441
6561
|
|
|
6442
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6562
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/LastValue.js
|
|
6443
6563
|
var require_LastValue = __commonJS({
|
|
6444
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6564
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/LastValue.js"(exports) {
|
|
6445
6565
|
"use strict";
|
|
6446
6566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6447
6567
|
exports.LastValueAggregator = exports.LastValueAccumulation = void 0;
|
|
@@ -6519,9 +6639,9 @@ var require_LastValue = __commonJS({
|
|
|
6519
6639
|
}
|
|
6520
6640
|
});
|
|
6521
6641
|
|
|
6522
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6642
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/Sum.js
|
|
6523
6643
|
var require_Sum = __commonJS({
|
|
6524
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6644
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/Sum.js"(exports) {
|
|
6525
6645
|
"use strict";
|
|
6526
6646
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6527
6647
|
exports.SumAggregator = exports.SumAccumulation = void 0;
|
|
@@ -6610,9 +6730,9 @@ var require_Sum = __commonJS({
|
|
|
6610
6730
|
}
|
|
6611
6731
|
});
|
|
6612
6732
|
|
|
6613
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6733
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/index.js
|
|
6614
6734
|
var require_aggregator = __commonJS({
|
|
6615
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6735
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/aggregator/index.js"(exports) {
|
|
6616
6736
|
"use strict";
|
|
6617
6737
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6618
6738
|
exports.SumAggregator = exports.SumAccumulation = exports.LastValueAggregator = exports.LastValueAccumulation = exports.ExponentialHistogramAggregator = exports.ExponentialHistogramAccumulation = exports.HistogramAggregator = exports.HistogramAccumulation = exports.DropAggregator = void 0;
|
|
@@ -6651,9 +6771,9 @@ var require_aggregator = __commonJS({
|
|
|
6651
6771
|
}
|
|
6652
6772
|
});
|
|
6653
6773
|
|
|
6654
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6774
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/Aggregation.js
|
|
6655
6775
|
var require_Aggregation = __commonJS({
|
|
6656
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6776
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/Aggregation.js"(exports) {
|
|
6657
6777
|
"use strict";
|
|
6658
6778
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6659
6779
|
exports.DEFAULT_AGGREGATION = exports.EXPONENTIAL_HISTOGRAM_AGGREGATION = exports.HISTOGRAM_AGGREGATION = exports.LAST_VALUE_AGGREGATION = exports.SUM_AGGREGATION = exports.DROP_AGGREGATION = exports.DefaultAggregation = exports.ExponentialHistogramAggregation = exports.ExplicitBucketHistogramAggregation = exports.HistogramAggregation = exports.LastValueAggregation = exports.SumAggregation = exports.DropAggregation = void 0;
|
|
@@ -6794,9 +6914,9 @@ var require_Aggregation = __commonJS({
|
|
|
6794
6914
|
}
|
|
6795
6915
|
});
|
|
6796
6916
|
|
|
6797
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6917
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/AggregationOption.js
|
|
6798
6918
|
var require_AggregationOption = __commonJS({
|
|
6799
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6919
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/AggregationOption.js"(exports) {
|
|
6800
6920
|
"use strict";
|
|
6801
6921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6802
6922
|
exports.toAggregation = exports.AggregationType = void 0;
|
|
@@ -6841,9 +6961,9 @@ var require_AggregationOption = __commonJS({
|
|
|
6841
6961
|
}
|
|
6842
6962
|
});
|
|
6843
6963
|
|
|
6844
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6964
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/AggregationSelector.js
|
|
6845
6965
|
var require_AggregationSelector = __commonJS({
|
|
6846
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6966
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/AggregationSelector.js"(exports) {
|
|
6847
6967
|
"use strict";
|
|
6848
6968
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6849
6969
|
exports.DEFAULT_AGGREGATION_TEMPORALITY_SELECTOR = exports.DEFAULT_AGGREGATION_SELECTOR = void 0;
|
|
@@ -6860,15 +6980,80 @@ var require_AggregationSelector = __commonJS({
|
|
|
6860
6980
|
}
|
|
6861
6981
|
});
|
|
6862
6982
|
|
|
6863
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
6983
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/semconv.js
|
|
6984
|
+
var require_semconv2 = __commonJS({
|
|
6985
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/semconv.js"(exports) {
|
|
6986
|
+
"use strict";
|
|
6987
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6988
|
+
exports.ATTR_ERROR_TYPE = exports.METRIC_OTEL_SDK_METRIC_READER_COLLECTION_DURATION = exports.OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER = exports.ATTR_OTEL_COMPONENT_TYPE = exports.ATTR_OTEL_COMPONENT_NAME = void 0;
|
|
6989
|
+
exports.ATTR_OTEL_COMPONENT_NAME = "otel.component.name";
|
|
6990
|
+
exports.ATTR_OTEL_COMPONENT_TYPE = "otel.component.type";
|
|
6991
|
+
exports.OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER = "periodic_metric_reader";
|
|
6992
|
+
exports.METRIC_OTEL_SDK_METRIC_READER_COLLECTION_DURATION = "otel.sdk.metric_reader.collection.duration";
|
|
6993
|
+
exports.ATTR_ERROR_TYPE = "error.type";
|
|
6994
|
+
}
|
|
6995
|
+
});
|
|
6996
|
+
|
|
6997
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/MetricReaderMetrics.js
|
|
6998
|
+
var require_MetricReaderMetrics = __commonJS({
|
|
6999
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/MetricReaderMetrics.js"(exports) {
|
|
7000
|
+
"use strict";
|
|
7001
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7002
|
+
exports.MetricReaderMetrics = void 0;
|
|
7003
|
+
var semconv_1 = require_semconv2();
|
|
7004
|
+
var componentCounter = /* @__PURE__ */ new Map();
|
|
7005
|
+
var MetricReaderMetrics = class {
|
|
7006
|
+
static {
|
|
7007
|
+
__name(this, "MetricReaderMetrics");
|
|
7008
|
+
}
|
|
7009
|
+
collectionDuration;
|
|
7010
|
+
standardAttrs;
|
|
7011
|
+
constructor(componentType, meter) {
|
|
7012
|
+
const counter = componentCounter.get(componentType) ?? 0;
|
|
7013
|
+
componentCounter.set(componentType, counter + 1);
|
|
7014
|
+
this.standardAttrs = {
|
|
7015
|
+
[semconv_1.ATTR_OTEL_COMPONENT_TYPE]: componentType,
|
|
7016
|
+
[semconv_1.ATTR_OTEL_COMPONENT_NAME]: `${componentType}/${counter}`
|
|
7017
|
+
};
|
|
7018
|
+
this.collectionDuration = meter.createHistogram(semconv_1.METRIC_OTEL_SDK_METRIC_READER_COLLECTION_DURATION, {
|
|
7019
|
+
unit: "s",
|
|
7020
|
+
description: "The duration of the collect operation of the metric reader.",
|
|
7021
|
+
advice: {
|
|
7022
|
+
explicitBucketBoundaries: []
|
|
7023
|
+
}
|
|
7024
|
+
});
|
|
7025
|
+
}
|
|
7026
|
+
recordCollection(durationSecs, error) {
|
|
7027
|
+
const attrs = error ? { ...this.standardAttrs, [semconv_1.ATTR_ERROR_TYPE]: error } : this.standardAttrs;
|
|
7028
|
+
this.collectionDuration.record(durationSecs, attrs);
|
|
7029
|
+
}
|
|
7030
|
+
};
|
|
7031
|
+
exports.MetricReaderMetrics = MetricReaderMetrics;
|
|
7032
|
+
}
|
|
7033
|
+
});
|
|
7034
|
+
|
|
7035
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/version.js
|
|
7036
|
+
var require_version2 = __commonJS({
|
|
7037
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/version.js"(exports) {
|
|
7038
|
+
"use strict";
|
|
7039
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7040
|
+
exports.VERSION = void 0;
|
|
7041
|
+
exports.VERSION = "2.8.0";
|
|
7042
|
+
}
|
|
7043
|
+
});
|
|
7044
|
+
|
|
7045
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/MetricReader.js
|
|
6864
7046
|
var require_MetricReader = __commonJS({
|
|
6865
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7047
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/MetricReader.js"(exports) {
|
|
6866
7048
|
"use strict";
|
|
6867
7049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6868
7050
|
exports.MetricReader = void 0;
|
|
6869
7051
|
var api = (init_esm(), __toCommonJS(esm_exports));
|
|
6870
7052
|
var utils_1 = require_utils2();
|
|
6871
7053
|
var AggregationSelector_1 = require_AggregationSelector();
|
|
7054
|
+
var MetricReaderMetrics_1 = require_MetricReaderMetrics();
|
|
7055
|
+
var version_1 = require_version2();
|
|
7056
|
+
var core_1 = require_src2();
|
|
6872
7057
|
var MetricReader = class {
|
|
6873
7058
|
static {
|
|
6874
7059
|
__name(this, "MetricReader");
|
|
@@ -6880,14 +7065,19 @@ var require_MetricReader = __commonJS({
|
|
|
6880
7065
|
_metricProducers;
|
|
6881
7066
|
// MetricProducer used by this instance which produces metrics from the SDK
|
|
6882
7067
|
_sdkMetricProducer;
|
|
7068
|
+
// Metrics about the MetricReader itself
|
|
7069
|
+
_selfObsMetrics;
|
|
6883
7070
|
_aggregationTemporalitySelector;
|
|
6884
7071
|
_aggregationSelector;
|
|
6885
7072
|
_cardinalitySelector;
|
|
7073
|
+
_otelComponentType;
|
|
6886
7074
|
constructor(options) {
|
|
6887
7075
|
this._aggregationSelector = options?.aggregationSelector ?? AggregationSelector_1.DEFAULT_AGGREGATION_SELECTOR;
|
|
6888
7076
|
this._aggregationTemporalitySelector = options?.aggregationTemporalitySelector ?? AggregationSelector_1.DEFAULT_AGGREGATION_TEMPORALITY_SELECTOR;
|
|
6889
7077
|
this._metricProducers = options?.metricProducers ?? [];
|
|
6890
7078
|
this._cardinalitySelector = options?.cardinalitySelector;
|
|
7079
|
+
this._otelComponentType = options?.otelComponentType ?? this.constructor.name;
|
|
7080
|
+
this._selfObsMetrics = new MetricReaderMetrics_1.MetricReaderMetrics(this._otelComponentType, api.createNoopMeter());
|
|
6891
7081
|
}
|
|
6892
7082
|
setMetricProducer(metricProducer) {
|
|
6893
7083
|
if (this._sdkMetricProducer) {
|
|
@@ -6896,6 +7086,10 @@ var require_MetricReader = __commonJS({
|
|
|
6896
7086
|
this._sdkMetricProducer = metricProducer;
|
|
6897
7087
|
this.onInitialized();
|
|
6898
7088
|
}
|
|
7089
|
+
_setSelfObsMeterProvider(meterProvider) {
|
|
7090
|
+
const meter = meterProvider.getMeter("@opentelemetry/sdk-metrics", version_1.VERSION);
|
|
7091
|
+
this._selfObsMetrics = new MetricReaderMetrics_1.MetricReaderMetrics(this._otelComponentType, meter);
|
|
7092
|
+
}
|
|
6899
7093
|
selectAggregation(instrumentType) {
|
|
6900
7094
|
return this._aggregationSelector(instrumentType);
|
|
6901
7095
|
}
|
|
@@ -6918,6 +7112,7 @@ var require_MetricReader = __commonJS({
|
|
|
6918
7112
|
if (this._shutdown) {
|
|
6919
7113
|
throw new Error("MetricReader is shutdown");
|
|
6920
7114
|
}
|
|
7115
|
+
const startTime = (0, core_1.hrTime)();
|
|
6921
7116
|
const [sdkCollectionResults, ...additionalCollectionResults] = await Promise.all([
|
|
6922
7117
|
this._sdkMetricProducer.collect({
|
|
6923
7118
|
timeoutMillis: options?.timeoutMillis
|
|
@@ -6926,7 +7121,10 @@ var require_MetricReader = __commonJS({
|
|
|
6926
7121
|
timeoutMillis: options?.timeoutMillis
|
|
6927
7122
|
}))
|
|
6928
7123
|
]);
|
|
7124
|
+
const endTime = (0, core_1.hrTime)();
|
|
6929
7125
|
const errors = sdkCollectionResults.errors.concat(additionalCollectionResults.flatMap((result) => result.errors));
|
|
7126
|
+
const collectDuration = (0, core_1.hrTimeToSeconds)((0, core_1.hrTimeDuration)(startTime, endTime));
|
|
7127
|
+
this._selfObsMetrics.recordCollection(collectDuration, errors.length > 0 ? errors[0].name ?? "collect_error" : void 0);
|
|
6930
7128
|
const resource = sdkCollectionResults.resourceMetrics.resource;
|
|
6931
7129
|
const scopeMetrics = sdkCollectionResults.resourceMetrics.scopeMetrics.concat(additionalCollectionResults.flatMap((result) => result.resourceMetrics.scopeMetrics));
|
|
6932
7130
|
return {
|
|
@@ -6965,9 +7163,9 @@ var require_MetricReader = __commonJS({
|
|
|
6965
7163
|
}
|
|
6966
7164
|
});
|
|
6967
7165
|
|
|
6968
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7166
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/PeriodicExportingMetricReader.js
|
|
6969
7167
|
var require_PeriodicExportingMetricReader = __commonJS({
|
|
6970
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7168
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/PeriodicExportingMetricReader.js"(exports) {
|
|
6971
7169
|
"use strict";
|
|
6972
7170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6973
7171
|
exports.PeriodicExportingMetricReader = void 0;
|
|
@@ -6976,6 +7174,7 @@ var require_PeriodicExportingMetricReader = __commonJS({
|
|
|
6976
7174
|
var MetricReader_1 = require_MetricReader();
|
|
6977
7175
|
var utils_1 = require_utils2();
|
|
6978
7176
|
var MetricData_1 = require_MetricData();
|
|
7177
|
+
var semconv_1 = require_semconv2();
|
|
6979
7178
|
var PeriodicExportingMetricReader3 = class extends MetricReader_1.MetricReader {
|
|
6980
7179
|
static {
|
|
6981
7180
|
__name(this, "PeriodicExportingMetricReader");
|
|
@@ -6990,6 +7189,7 @@ var require_PeriodicExportingMetricReader = __commonJS({
|
|
|
6990
7189
|
super({
|
|
6991
7190
|
aggregationSelector: exporter.selectAggregation?.bind(exporter),
|
|
6992
7191
|
aggregationTemporalitySelector: exporter.selectAggregationTemporality?.bind(exporter),
|
|
7192
|
+
otelComponentType: semconv_1.OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER,
|
|
6993
7193
|
metricProducers,
|
|
6994
7194
|
cardinalitySelector: /* @__PURE__ */ __name((instrumentType) => {
|
|
6995
7195
|
const limits = {
|
|
@@ -7092,9 +7292,9 @@ var require_PeriodicExportingMetricReader = __commonJS({
|
|
|
7092
7292
|
}
|
|
7093
7293
|
});
|
|
7094
7294
|
|
|
7095
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7295
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/InMemoryMetricExporter.js
|
|
7096
7296
|
var require_InMemoryMetricExporter = __commonJS({
|
|
7097
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7297
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/InMemoryMetricExporter.js"(exports) {
|
|
7098
7298
|
"use strict";
|
|
7099
7299
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7100
7300
|
exports.InMemoryMetricExporter = void 0;
|
|
@@ -7145,9 +7345,9 @@ var require_InMemoryMetricExporter = __commonJS({
|
|
|
7145
7345
|
}
|
|
7146
7346
|
});
|
|
7147
7347
|
|
|
7148
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7348
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/ConsoleMetricExporter.js
|
|
7149
7349
|
var require_ConsoleMetricExporter = __commonJS({
|
|
7150
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
7350
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/export/ConsoleMetricExporter.js"(exports) {
|
|
7151
7351
|
"use strict";
|
|
7152
7352
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7153
7353
|
exports.ConsoleMetricExporter = void 0;
|
|
@@ -7196,9 +7396,9 @@ var require_ConsoleMetricExporter = __commonJS({
|
|
|
7196
7396
|
}
|
|
7197
7397
|
});
|
|
7198
7398
|
|
|
7199
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7399
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/default-service-name.js
|
|
7200
7400
|
var require_default_service_name = __commonJS({
|
|
7201
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7401
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/default-service-name.js"(exports) {
|
|
7202
7402
|
"use strict";
|
|
7203
7403
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7204
7404
|
exports._clearDefaultServiceNameCache = exports.defaultServiceName = void 0;
|
|
@@ -7224,9 +7424,9 @@ var require_default_service_name = __commonJS({
|
|
|
7224
7424
|
}
|
|
7225
7425
|
});
|
|
7226
7426
|
|
|
7227
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7427
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/utils.js
|
|
7228
7428
|
var require_utils3 = __commonJS({
|
|
7229
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7429
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/utils.js"(exports) {
|
|
7230
7430
|
"use strict";
|
|
7231
7431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7232
7432
|
exports.isPromiseLike = void 0;
|
|
@@ -7237,9 +7437,9 @@ var require_utils3 = __commonJS({
|
|
|
7237
7437
|
}
|
|
7238
7438
|
});
|
|
7239
7439
|
|
|
7240
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7440
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/ResourceImpl.js
|
|
7241
7441
|
var require_ResourceImpl = __commonJS({
|
|
7242
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7442
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/ResourceImpl.js"(exports) {
|
|
7243
7443
|
"use strict";
|
|
7244
7444
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7245
7445
|
exports.defaultResource = exports.emptyResource = exports.resourceFromDetectedResource = exports.resourceFromAttributes = void 0;
|
|
@@ -7391,9 +7591,9 @@ var require_ResourceImpl = __commonJS({
|
|
|
7391
7591
|
}
|
|
7392
7592
|
});
|
|
7393
7593
|
|
|
7394
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7594
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detect-resources.js
|
|
7395
7595
|
var require_detect_resources = __commonJS({
|
|
7396
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7596
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detect-resources.js"(exports) {
|
|
7397
7597
|
"use strict";
|
|
7398
7598
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7399
7599
|
exports.detectResources = void 0;
|
|
@@ -7416,9 +7616,9 @@ var require_detect_resources = __commonJS({
|
|
|
7416
7616
|
}
|
|
7417
7617
|
});
|
|
7418
7618
|
|
|
7419
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7619
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/EnvDetector.js
|
|
7420
7620
|
var require_EnvDetector = __commonJS({
|
|
7421
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7621
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/EnvDetector.js"(exports) {
|
|
7422
7622
|
"use strict";
|
|
7423
7623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7424
7624
|
exports.envDetector = void 0;
|
|
@@ -7497,7 +7697,7 @@ var require_EnvDetector = __commonJS({
|
|
|
7497
7697
|
decodedKey = decodeURIComponent(key);
|
|
7498
7698
|
decodedValue = decodeURIComponent(value);
|
|
7499
7699
|
} catch (e) {
|
|
7500
|
-
throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${rawAttribute}": ${e instanceof Error ? e.message : e}
|
|
7700
|
+
throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${rawAttribute}": ${e instanceof Error ? e.message : e}`, { cause: e });
|
|
7501
7701
|
}
|
|
7502
7702
|
if (decodedKey.length > this._MAX_LENGTH) {
|
|
7503
7703
|
throw new Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${decodedKey}".`);
|
|
@@ -7514,9 +7714,9 @@ var require_EnvDetector = __commonJS({
|
|
|
7514
7714
|
}
|
|
7515
7715
|
});
|
|
7516
7716
|
|
|
7517
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7518
|
-
var
|
|
7519
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7717
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/semconv.js
|
|
7718
|
+
var require_semconv3 = __commonJS({
|
|
7719
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/semconv.js"(exports) {
|
|
7520
7720
|
"use strict";
|
|
7521
7721
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7522
7722
|
exports.ATTR_WEBENGINE_VERSION = exports.ATTR_WEBENGINE_NAME = exports.ATTR_WEBENGINE_DESCRIPTION = exports.ATTR_SERVICE_NAMESPACE = exports.ATTR_SERVICE_INSTANCE_ID = exports.ATTR_PROCESS_RUNTIME_VERSION = exports.ATTR_PROCESS_RUNTIME_NAME = exports.ATTR_PROCESS_RUNTIME_DESCRIPTION = exports.ATTR_PROCESS_PID = exports.ATTR_PROCESS_OWNER = exports.ATTR_PROCESS_EXECUTABLE_PATH = exports.ATTR_PROCESS_EXECUTABLE_NAME = exports.ATTR_PROCESS_COMMAND_ARGS = exports.ATTR_PROCESS_COMMAND = exports.ATTR_OS_VERSION = exports.ATTR_OS_TYPE = exports.ATTR_K8S_POD_NAME = exports.ATTR_K8S_NAMESPACE_NAME = exports.ATTR_K8S_DEPLOYMENT_NAME = exports.ATTR_K8S_CLUSTER_NAME = exports.ATTR_HOST_TYPE = exports.ATTR_HOST_NAME = exports.ATTR_HOST_IMAGE_VERSION = exports.ATTR_HOST_IMAGE_NAME = exports.ATTR_HOST_IMAGE_ID = exports.ATTR_HOST_ID = exports.ATTR_HOST_ARCH = exports.ATTR_CONTAINER_NAME = exports.ATTR_CONTAINER_IMAGE_TAGS = exports.ATTR_CONTAINER_IMAGE_NAME = exports.ATTR_CONTAINER_ID = exports.ATTR_CLOUD_REGION = exports.ATTR_CLOUD_PROVIDER = exports.ATTR_CLOUD_AVAILABILITY_ZONE = exports.ATTR_CLOUD_ACCOUNT_ID = void 0;
|
|
@@ -7558,31 +7758,31 @@ var require_semconv2 = __commonJS({
|
|
|
7558
7758
|
}
|
|
7559
7759
|
});
|
|
7560
7760
|
|
|
7561
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7761
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/machine-id/getMachineId.js
|
|
7562
7762
|
var require_getMachineId = __commonJS({
|
|
7563
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7763
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/machine-id/getMachineId.js"(exports) {
|
|
7564
7764
|
"use strict";
|
|
7565
7765
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7566
7766
|
exports.getMachineId = void 0;
|
|
7567
|
-
var
|
|
7767
|
+
var process7 = __require("process");
|
|
7568
7768
|
var getMachineIdImpl;
|
|
7569
7769
|
async function getMachineId() {
|
|
7570
7770
|
if (!getMachineIdImpl) {
|
|
7571
|
-
switch (
|
|
7771
|
+
switch (process7.platform) {
|
|
7572
7772
|
case "darwin":
|
|
7573
|
-
getMachineIdImpl = (await import("./getMachineId-darwin-
|
|
7773
|
+
getMachineIdImpl = (await import("./getMachineId-darwin-TZRDBSRG.js")).getMachineId;
|
|
7574
7774
|
break;
|
|
7575
7775
|
case "linux":
|
|
7576
|
-
getMachineIdImpl = (await import("./getMachineId-linux-
|
|
7776
|
+
getMachineIdImpl = (await import("./getMachineId-linux-YECSJ5QX.js")).getMachineId;
|
|
7577
7777
|
break;
|
|
7578
7778
|
case "freebsd":
|
|
7579
|
-
getMachineIdImpl = (await import("./getMachineId-bsd-
|
|
7779
|
+
getMachineIdImpl = (await import("./getMachineId-bsd-2JWPEZN3.js")).getMachineId;
|
|
7580
7780
|
break;
|
|
7581
7781
|
case "win32":
|
|
7582
|
-
getMachineIdImpl = (await import("./getMachineId-win-
|
|
7782
|
+
getMachineIdImpl = (await import("./getMachineId-win-E7SOBEMA.js")).getMachineId;
|
|
7583
7783
|
break;
|
|
7584
7784
|
default:
|
|
7585
|
-
getMachineIdImpl = (await import("./getMachineId-unsupported-
|
|
7785
|
+
getMachineIdImpl = (await import("./getMachineId-unsupported-SS47XNGG.js")).getMachineId;
|
|
7586
7786
|
break;
|
|
7587
7787
|
}
|
|
7588
7788
|
}
|
|
@@ -7593,9 +7793,9 @@ var require_getMachineId = __commonJS({
|
|
|
7593
7793
|
}
|
|
7594
7794
|
});
|
|
7595
7795
|
|
|
7596
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7796
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/utils.js
|
|
7597
7797
|
var require_utils4 = __commonJS({
|
|
7598
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7798
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/utils.js"(exports) {
|
|
7599
7799
|
"use strict";
|
|
7600
7800
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7601
7801
|
exports.normalizeType = exports.normalizeArch = void 0;
|
|
@@ -7626,13 +7826,13 @@ var require_utils4 = __commonJS({
|
|
|
7626
7826
|
}
|
|
7627
7827
|
});
|
|
7628
7828
|
|
|
7629
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7829
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/HostDetector.js
|
|
7630
7830
|
var require_HostDetector = __commonJS({
|
|
7631
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7831
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/HostDetector.js"(exports) {
|
|
7632
7832
|
"use strict";
|
|
7633
7833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7634
7834
|
exports.hostDetector = void 0;
|
|
7635
|
-
var semconv_1 =
|
|
7835
|
+
var semconv_1 = require_semconv3();
|
|
7636
7836
|
var os_1 = __require("os");
|
|
7637
7837
|
var getMachineId_1 = require_getMachineId();
|
|
7638
7838
|
var utils_1 = require_utils4();
|
|
@@ -7653,13 +7853,13 @@ var require_HostDetector = __commonJS({
|
|
|
7653
7853
|
}
|
|
7654
7854
|
});
|
|
7655
7855
|
|
|
7656
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7856
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/OSDetector.js
|
|
7657
7857
|
var require_OSDetector = __commonJS({
|
|
7658
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7858
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/OSDetector.js"(exports) {
|
|
7659
7859
|
"use strict";
|
|
7660
7860
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7661
7861
|
exports.osDetector = void 0;
|
|
7662
|
-
var semconv_1 =
|
|
7862
|
+
var semconv_1 = require_semconv3();
|
|
7663
7863
|
var os_1 = __require("os");
|
|
7664
7864
|
var utils_1 = require_utils4();
|
|
7665
7865
|
var OSDetector = class {
|
|
@@ -7678,14 +7878,14 @@ var require_OSDetector = __commonJS({
|
|
|
7678
7878
|
}
|
|
7679
7879
|
});
|
|
7680
7880
|
|
|
7681
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7881
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/ProcessDetector.js
|
|
7682
7882
|
var require_ProcessDetector = __commonJS({
|
|
7683
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7883
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/ProcessDetector.js"(exports) {
|
|
7684
7884
|
"use strict";
|
|
7685
7885
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7686
7886
|
exports.processDetector = void 0;
|
|
7687
7887
|
var api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
7688
|
-
var semconv_1 =
|
|
7888
|
+
var semconv_1 = require_semconv3();
|
|
7689
7889
|
var os5 = __require("os");
|
|
7690
7890
|
var ProcessDetector = class {
|
|
7691
7891
|
static {
|
|
@@ -7721,13 +7921,13 @@ var require_ProcessDetector = __commonJS({
|
|
|
7721
7921
|
}
|
|
7722
7922
|
});
|
|
7723
7923
|
|
|
7724
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7924
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/ServiceInstanceIdDetector.js
|
|
7725
7925
|
var require_ServiceInstanceIdDetector = __commonJS({
|
|
7726
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7926
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/ServiceInstanceIdDetector.js"(exports) {
|
|
7727
7927
|
"use strict";
|
|
7728
7928
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7729
7929
|
exports.serviceInstanceIdDetector = void 0;
|
|
7730
|
-
var semconv_1 =
|
|
7930
|
+
var semconv_1 = require_semconv3();
|
|
7731
7931
|
var crypto_1 = __require("crypto");
|
|
7732
7932
|
var ServiceInstanceIdDetector = class {
|
|
7733
7933
|
static {
|
|
@@ -7745,9 +7945,9 @@ var require_ServiceInstanceIdDetector = __commonJS({
|
|
|
7745
7945
|
}
|
|
7746
7946
|
});
|
|
7747
7947
|
|
|
7748
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7948
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/index.js
|
|
7749
7949
|
var require_node3 = __commonJS({
|
|
7750
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7950
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/node/index.js"(exports) {
|
|
7751
7951
|
"use strict";
|
|
7752
7952
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7753
7953
|
exports.serviceInstanceIdDetector = exports.processDetector = exports.osDetector = exports.hostDetector = void 0;
|
|
@@ -7770,9 +7970,9 @@ var require_node3 = __commonJS({
|
|
|
7770
7970
|
}
|
|
7771
7971
|
});
|
|
7772
7972
|
|
|
7773
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7973
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/index.js
|
|
7774
7974
|
var require_platform2 = __commonJS({
|
|
7775
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7975
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/platform/index.js"(exports) {
|
|
7776
7976
|
"use strict";
|
|
7777
7977
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7778
7978
|
exports.serviceInstanceIdDetector = exports.processDetector = exports.osDetector = exports.hostDetector = void 0;
|
|
@@ -7792,9 +7992,9 @@ var require_platform2 = __commonJS({
|
|
|
7792
7992
|
}
|
|
7793
7993
|
});
|
|
7794
7994
|
|
|
7795
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7995
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/NoopDetector.js
|
|
7796
7996
|
var require_NoopDetector = __commonJS({
|
|
7797
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
7997
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/NoopDetector.js"(exports) {
|
|
7798
7998
|
"use strict";
|
|
7799
7999
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7800
8000
|
exports.noopDetector = exports.NoopDetector = void 0;
|
|
@@ -7813,9 +8013,9 @@ var require_NoopDetector = __commonJS({
|
|
|
7813
8013
|
}
|
|
7814
8014
|
});
|
|
7815
8015
|
|
|
7816
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
8016
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/index.js
|
|
7817
8017
|
var require_detectors = __commonJS({
|
|
7818
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
8018
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/detectors/index.js"(exports) {
|
|
7819
8019
|
"use strict";
|
|
7820
8020
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7821
8021
|
exports.noopDetector = exports.serviceInstanceIdDetector = exports.processDetector = exports.osDetector = exports.hostDetector = exports.envDetector = void 0;
|
|
@@ -7843,9 +8043,9 @@ var require_detectors = __commonJS({
|
|
|
7843
8043
|
}
|
|
7844
8044
|
});
|
|
7845
8045
|
|
|
7846
|
-
// ../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
8046
|
+
// ../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/index.js
|
|
7847
8047
|
var require_src3 = __commonJS({
|
|
7848
|
-
"../../node_modules/.store/@opentelemetry-resources-virtual-
|
|
8048
|
+
"../../node_modules/.store/@opentelemetry-resources-virtual-857716a3e2/package/build/src/index.js"(exports) {
|
|
7849
8049
|
"use strict";
|
|
7850
8050
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7851
8051
|
exports.defaultServiceName = exports.emptyResource = exports.defaultResource = exports.resourceFromAttributes = exports.serviceInstanceIdDetector = exports.processDetector = exports.osDetector = exports.hostDetector = exports.envDetector = exports.detectResources = void 0;
|
|
@@ -7886,9 +8086,9 @@ var require_src3 = __commonJS({
|
|
|
7886
8086
|
}
|
|
7887
8087
|
});
|
|
7888
8088
|
|
|
7889
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8089
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/ViewRegistry.js
|
|
7890
8090
|
var require_ViewRegistry = __commonJS({
|
|
7891
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8091
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/ViewRegistry.js"(exports) {
|
|
7892
8092
|
"use strict";
|
|
7893
8093
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7894
8094
|
exports.ViewRegistry = void 0;
|
|
@@ -7917,9 +8117,9 @@ var require_ViewRegistry = __commonJS({
|
|
|
7917
8117
|
}
|
|
7918
8118
|
});
|
|
7919
8119
|
|
|
7920
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8120
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/InstrumentDescriptor.js
|
|
7921
8121
|
var require_InstrumentDescriptor = __commonJS({
|
|
7922
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8122
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/InstrumentDescriptor.js"(exports) {
|
|
7923
8123
|
"use strict";
|
|
7924
8124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7925
8125
|
exports.isValidName = exports.isDescriptorCompatibleWith = exports.createInstrumentDescriptorWithView = exports.createInstrumentDescriptor = void 0;
|
|
@@ -7966,9 +8166,9 @@ var require_InstrumentDescriptor = __commonJS({
|
|
|
7966
8166
|
}
|
|
7967
8167
|
});
|
|
7968
8168
|
|
|
7969
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8169
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/Instruments.js
|
|
7970
8170
|
var require_Instruments = __commonJS({
|
|
7971
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8171
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/Instruments.js"(exports) {
|
|
7972
8172
|
"use strict";
|
|
7973
8173
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7974
8174
|
exports.isObservableInstrument = exports.ObservableUpDownCounterInstrument = exports.ObservableGaugeInstrument = exports.ObservableCounterInstrument = exports.ObservableInstrument = exports.HistogramInstrument = exports.GaugeInstrument = exports.CounterInstrument = exports.UpDownCounterInstrument = exports.SyncInstrument = void 0;
|
|
@@ -8110,9 +8310,9 @@ var require_Instruments = __commonJS({
|
|
|
8110
8310
|
}
|
|
8111
8311
|
});
|
|
8112
8312
|
|
|
8113
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8313
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/Meter.js
|
|
8114
8314
|
var require_Meter = __commonJS({
|
|
8115
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8315
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/Meter.js"(exports) {
|
|
8116
8316
|
"use strict";
|
|
8117
8317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8118
8318
|
exports.Meter = void 0;
|
|
@@ -8200,9 +8400,9 @@ var require_Meter = __commonJS({
|
|
|
8200
8400
|
}
|
|
8201
8401
|
});
|
|
8202
8402
|
|
|
8203
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8403
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MetricStorage.js
|
|
8204
8404
|
var require_MetricStorage = __commonJS({
|
|
8205
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8405
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MetricStorage.js"(exports) {
|
|
8206
8406
|
"use strict";
|
|
8207
8407
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8208
8408
|
exports.MetricStorage = void 0;
|
|
@@ -8231,9 +8431,9 @@ var require_MetricStorage = __commonJS({
|
|
|
8231
8431
|
}
|
|
8232
8432
|
});
|
|
8233
8433
|
|
|
8234
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8434
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/HashMap.js
|
|
8235
8435
|
var require_HashMap = __commonJS({
|
|
8236
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8436
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/HashMap.js"(exports) {
|
|
8237
8437
|
"use strict";
|
|
8238
8438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8239
8439
|
exports.AttributeHashMap = exports.HashMap = void 0;
|
|
@@ -8308,9 +8508,9 @@ var require_HashMap = __commonJS({
|
|
|
8308
8508
|
}
|
|
8309
8509
|
});
|
|
8310
8510
|
|
|
8311
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8511
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/DeltaMetricProcessor.js
|
|
8312
8512
|
var require_DeltaMetricProcessor = __commonJS({
|
|
8313
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8513
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/DeltaMetricProcessor.js"(exports) {
|
|
8314
8514
|
"use strict";
|
|
8315
8515
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8316
8516
|
exports.DeltaMetricProcessor = void 0;
|
|
@@ -8388,9 +8588,9 @@ var require_DeltaMetricProcessor = __commonJS({
|
|
|
8388
8588
|
}
|
|
8389
8589
|
});
|
|
8390
8590
|
|
|
8391
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8591
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/TemporalMetricProcessor.js
|
|
8392
8592
|
var require_TemporalMetricProcessor = __commonJS({
|
|
8393
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8593
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/TemporalMetricProcessor.js"(exports) {
|
|
8394
8594
|
"use strict";
|
|
8395
8595
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8396
8596
|
exports.TemporalMetricProcessor = void 0;
|
|
@@ -8512,9 +8712,9 @@ var require_TemporalMetricProcessor = __commonJS({
|
|
|
8512
8712
|
}
|
|
8513
8713
|
});
|
|
8514
8714
|
|
|
8515
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8715
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/AsyncMetricStorage.js
|
|
8516
8716
|
var require_AsyncMetricStorage = __commonJS({
|
|
8517
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8717
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/AsyncMetricStorage.js"(exports) {
|
|
8518
8718
|
"use strict";
|
|
8519
8719
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8520
8720
|
exports.AsyncMetricStorage = void 0;
|
|
@@ -8560,9 +8760,9 @@ var require_AsyncMetricStorage = __commonJS({
|
|
|
8560
8760
|
}
|
|
8561
8761
|
});
|
|
8562
8762
|
|
|
8563
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8763
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/RegistrationConflicts.js
|
|
8564
8764
|
var require_RegistrationConflicts = __commonJS({
|
|
8565
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8765
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/RegistrationConflicts.js"(exports) {
|
|
8566
8766
|
"use strict";
|
|
8567
8767
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8568
8768
|
exports.getConflictResolutionRecipe = exports.getDescriptionResolutionRecipe = exports.getTypeConflictResolutionRecipe = exports.getUnitConflictResolutionRecipe = exports.getValueTypeConflictResolutionRecipe = exports.getIncompatibilityDetails = void 0;
|
|
@@ -8642,9 +8842,9 @@ var require_RegistrationConflicts = __commonJS({
|
|
|
8642
8842
|
}
|
|
8643
8843
|
});
|
|
8644
8844
|
|
|
8645
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8845
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MetricStorageRegistry.js
|
|
8646
8846
|
var require_MetricStorageRegistry = __commonJS({
|
|
8647
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8847
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MetricStorageRegistry.js"(exports) {
|
|
8648
8848
|
"use strict";
|
|
8649
8849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8650
8850
|
exports.MetricStorageRegistry = void 0;
|
|
@@ -8734,9 +8934,9 @@ var require_MetricStorageRegistry = __commonJS({
|
|
|
8734
8934
|
}
|
|
8735
8935
|
});
|
|
8736
8936
|
|
|
8737
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8937
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MultiWritableMetricStorage.js
|
|
8738
8938
|
var require_MultiWritableMetricStorage = __commonJS({
|
|
8739
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8939
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MultiWritableMetricStorage.js"(exports) {
|
|
8740
8940
|
"use strict";
|
|
8741
8941
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8742
8942
|
exports.MultiMetricStorage = void 0;
|
|
@@ -8759,9 +8959,9 @@ var require_MultiWritableMetricStorage = __commonJS({
|
|
|
8759
8959
|
}
|
|
8760
8960
|
});
|
|
8761
8961
|
|
|
8762
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8962
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/ObservableResult.js
|
|
8763
8963
|
var require_ObservableResult = __commonJS({
|
|
8764
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
8964
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/ObservableResult.js"(exports) {
|
|
8765
8965
|
"use strict";
|
|
8766
8966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8767
8967
|
exports.BatchObservableResultImpl = exports.ObservableResultImpl = void 0;
|
|
@@ -8839,9 +9039,9 @@ var require_ObservableResult = __commonJS({
|
|
|
8839
9039
|
}
|
|
8840
9040
|
});
|
|
8841
9041
|
|
|
8842
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9042
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/ObservableRegistry.js
|
|
8843
9043
|
var require_ObservableRegistry = __commonJS({
|
|
8844
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9044
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/ObservableRegistry.js"(exports) {
|
|
8845
9045
|
"use strict";
|
|
8846
9046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8847
9047
|
exports.ObservableRegistry = void 0;
|
|
@@ -8949,9 +9149,9 @@ var require_ObservableRegistry = __commonJS({
|
|
|
8949
9149
|
}
|
|
8950
9150
|
});
|
|
8951
9151
|
|
|
8952
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9152
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/SyncMetricStorage.js
|
|
8953
9153
|
var require_SyncMetricStorage = __commonJS({
|
|
8954
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9154
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/SyncMetricStorage.js"(exports) {
|
|
8955
9155
|
"use strict";
|
|
8956
9156
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8957
9157
|
exports.SyncMetricStorage = void 0;
|
|
@@ -8992,9 +9192,9 @@ var require_SyncMetricStorage = __commonJS({
|
|
|
8992
9192
|
}
|
|
8993
9193
|
});
|
|
8994
9194
|
|
|
8995
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9195
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/AttributesProcessor.js
|
|
8996
9196
|
var require_AttributesProcessor = __commonJS({
|
|
8997
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9197
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/AttributesProcessor.js"(exports) {
|
|
8998
9198
|
"use strict";
|
|
8999
9199
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9000
9200
|
exports.createDenyListAttributesProcessor = exports.createAllowListAttributesProcessor = exports.createMultiAttributesProcessor = exports.createNoopAttributesProcessor = void 0;
|
|
@@ -9082,9 +9282,9 @@ var require_AttributesProcessor = __commonJS({
|
|
|
9082
9282
|
}
|
|
9083
9283
|
});
|
|
9084
9284
|
|
|
9085
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9285
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MeterSharedState.js
|
|
9086
9286
|
var require_MeterSharedState = __commonJS({
|
|
9087
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9287
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MeterSharedState.js"(exports) {
|
|
9088
9288
|
"use strict";
|
|
9089
9289
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9090
9290
|
exports.MeterSharedState = void 0;
|
|
@@ -9186,9 +9386,9 @@ var require_MeterSharedState = __commonJS({
|
|
|
9186
9386
|
}
|
|
9187
9387
|
});
|
|
9188
9388
|
|
|
9189
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9389
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MeterProviderSharedState.js
|
|
9190
9390
|
var require_MeterProviderSharedState = __commonJS({
|
|
9191
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9391
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MeterProviderSharedState.js"(exports) {
|
|
9192
9392
|
"use strict";
|
|
9193
9393
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9194
9394
|
exports.MeterProviderSharedState = void 0;
|
|
@@ -9231,9 +9431,9 @@ var require_MeterProviderSharedState = __commonJS({
|
|
|
9231
9431
|
}
|
|
9232
9432
|
});
|
|
9233
9433
|
|
|
9234
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9434
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MetricCollector.js
|
|
9235
9435
|
var require_MetricCollector = __commonJS({
|
|
9236
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9436
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/state/MetricCollector.js"(exports) {
|
|
9237
9437
|
"use strict";
|
|
9238
9438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9239
9439
|
exports.MetricCollector = void 0;
|
|
@@ -9300,9 +9500,9 @@ var require_MetricCollector = __commonJS({
|
|
|
9300
9500
|
}
|
|
9301
9501
|
});
|
|
9302
9502
|
|
|
9303
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9503
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/Predicate.js
|
|
9304
9504
|
var require_Predicate = __commonJS({
|
|
9305
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9505
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/Predicate.js"(exports) {
|
|
9306
9506
|
"use strict";
|
|
9307
9507
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9308
9508
|
exports.ExactPredicate = exports.PatternPredicate = void 0;
|
|
@@ -9360,9 +9560,9 @@ var require_Predicate = __commonJS({
|
|
|
9360
9560
|
}
|
|
9361
9561
|
});
|
|
9362
9562
|
|
|
9363
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9563
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/InstrumentSelector.js
|
|
9364
9564
|
var require_InstrumentSelector = __commonJS({
|
|
9365
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9565
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/InstrumentSelector.js"(exports) {
|
|
9366
9566
|
"use strict";
|
|
9367
9567
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9368
9568
|
exports.InstrumentSelector = void 0;
|
|
@@ -9393,9 +9593,9 @@ var require_InstrumentSelector = __commonJS({
|
|
|
9393
9593
|
}
|
|
9394
9594
|
});
|
|
9395
9595
|
|
|
9396
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9596
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/MeterSelector.js
|
|
9397
9597
|
var require_MeterSelector = __commonJS({
|
|
9398
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9598
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/MeterSelector.js"(exports) {
|
|
9399
9599
|
"use strict";
|
|
9400
9600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9401
9601
|
exports.MeterSelector = void 0;
|
|
@@ -9429,9 +9629,9 @@ var require_MeterSelector = __commonJS({
|
|
|
9429
9629
|
}
|
|
9430
9630
|
});
|
|
9431
9631
|
|
|
9432
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9632
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/View.js
|
|
9433
9633
|
var require_View = __commonJS({
|
|
9434
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9634
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/view/View.js"(exports) {
|
|
9435
9635
|
"use strict";
|
|
9436
9636
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9437
9637
|
exports.View = void 0;
|
|
@@ -9547,14 +9747,15 @@ var require_View = __commonJS({
|
|
|
9547
9747
|
}
|
|
9548
9748
|
});
|
|
9549
9749
|
|
|
9550
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9750
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/MeterProvider.js
|
|
9551
9751
|
var require_MeterProvider = __commonJS({
|
|
9552
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9752
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/MeterProvider.js"(exports) {
|
|
9553
9753
|
"use strict";
|
|
9554
9754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9555
9755
|
exports.MeterProvider = void 0;
|
|
9556
9756
|
var api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
9557
9757
|
var resources_1 = require_src3();
|
|
9758
|
+
var MetricReader_1 = require_MetricReader();
|
|
9558
9759
|
var MeterProviderSharedState_1 = require_MeterProviderSharedState();
|
|
9559
9760
|
var MetricCollector_1 = require_MetricCollector();
|
|
9560
9761
|
var View_1 = require_View();
|
|
@@ -9576,6 +9777,9 @@ var require_MeterProvider = __commonJS({
|
|
|
9576
9777
|
const collector = new MetricCollector_1.MetricCollector(this._sharedState, metricReader);
|
|
9577
9778
|
metricReader.setMetricProducer(collector);
|
|
9578
9779
|
this._sharedState.metricCollectors.push(collector);
|
|
9780
|
+
if (options.sdkMetricsEnabled && metricReader instanceof MetricReader_1.MetricReader) {
|
|
9781
|
+
metricReader._setSelfObsMeterProvider(this);
|
|
9782
|
+
}
|
|
9579
9783
|
}
|
|
9580
9784
|
}
|
|
9581
9785
|
}
|
|
@@ -9628,9 +9832,9 @@ var require_MeterProvider = __commonJS({
|
|
|
9628
9832
|
}
|
|
9629
9833
|
});
|
|
9630
9834
|
|
|
9631
|
-
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9835
|
+
// ../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/index.js
|
|
9632
9836
|
var require_src4 = __commonJS({
|
|
9633
|
-
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-
|
|
9837
|
+
"../../node_modules/.store/@opentelemetry-sdk-metrics-virtual-32edb36c3c/package/build/src/index.js"(exports) {
|
|
9634
9838
|
"use strict";
|
|
9635
9839
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9636
9840
|
exports.TimeoutError = exports.createDenyListAttributesProcessor = exports.createAllowListAttributesProcessor = exports.AggregationType = exports.MeterProvider = exports.ConsoleMetricExporter = exports.InMemoryMetricExporter = exports.PeriodicExportingMetricReader = exports.MetricReader = exports.InstrumentType = exports.DataPointType = exports.AggregationTemporality = void 0;
|
|
@@ -9683,11 +9887,11 @@ var require_src4 = __commonJS({
|
|
|
9683
9887
|
}
|
|
9684
9888
|
});
|
|
9685
9889
|
|
|
9686
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
9890
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/httpSender.js
|
|
9687
9891
|
init_esm();
|
|
9688
9892
|
import url from "node:url";
|
|
9689
9893
|
|
|
9690
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9894
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/abort-controller/AbortError.js
|
|
9691
9895
|
var AbortError = class extends Error {
|
|
9692
9896
|
static {
|
|
9693
9897
|
__name(this, "AbortError");
|
|
@@ -9698,7 +9902,7 @@ var AbortError = class extends Error {
|
|
|
9698
9902
|
}
|
|
9699
9903
|
};
|
|
9700
9904
|
|
|
9701
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9905
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/logger/log.js
|
|
9702
9906
|
import { EOL } from "node:os";
|
|
9703
9907
|
import util from "node:util";
|
|
9704
9908
|
import process2 from "node:process";
|
|
@@ -9707,8 +9911,22 @@ function log(message, ...args) {
|
|
|
9707
9911
|
}
|
|
9708
9912
|
__name(log, "log");
|
|
9709
9913
|
|
|
9710
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9711
|
-
|
|
9914
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/env.js
|
|
9915
|
+
import process3 from "node:process";
|
|
9916
|
+
function getEnvironmentVariable(name) {
|
|
9917
|
+
return process3.env[name];
|
|
9918
|
+
}
|
|
9919
|
+
__name(getEnvironmentVariable, "getEnvironmentVariable");
|
|
9920
|
+
function emitNodeWarning(warning) {
|
|
9921
|
+
process3.emitWarning(warning);
|
|
9922
|
+
}
|
|
9923
|
+
__name(emitNodeWarning, "emitNodeWarning");
|
|
9924
|
+
var isDeno = typeof process3.versions.deno === "string" && process3.versions.deno.length > 0;
|
|
9925
|
+
var isBun = typeof process3.versions.bun === "string" && process3.versions.bun.length > 0;
|
|
9926
|
+
var isNodeLike = true;
|
|
9927
|
+
|
|
9928
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/logger/debug.js
|
|
9929
|
+
var debugEnvVariable = getEnvironmentVariable("DEBUG");
|
|
9712
9930
|
var enabledString;
|
|
9713
9931
|
var enabledNamespaces = [];
|
|
9714
9932
|
var skippedNamespaces = [];
|
|
@@ -9873,7 +10091,7 @@ function extend(namespace) {
|
|
|
9873
10091
|
__name(extend, "extend");
|
|
9874
10092
|
var debug_default = debugObj;
|
|
9875
10093
|
|
|
9876
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10094
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/logger/logger.js
|
|
9877
10095
|
var TYPESPEC_RUNTIME_LOG_LEVELS = ["verbose", "info", "warning", "error"];
|
|
9878
10096
|
var levelMap = {
|
|
9879
10097
|
verbose: 400,
|
|
@@ -9893,7 +10111,7 @@ function isTypeSpecRuntimeLogLevel(level) {
|
|
|
9893
10111
|
__name(isTypeSpecRuntimeLogLevel, "isTypeSpecRuntimeLogLevel");
|
|
9894
10112
|
function createLoggerContext(options) {
|
|
9895
10113
|
const registeredLoggers = /* @__PURE__ */ new Set();
|
|
9896
|
-
const logLevelFromEnv =
|
|
10114
|
+
const logLevelFromEnv = getEnvironmentVariable(options.logLevelEnvVarName);
|
|
9897
10115
|
let logLevel;
|
|
9898
10116
|
const clientLogger = debug_default(options.namespace);
|
|
9899
10117
|
clientLogger.log = (...args) => {
|
|
@@ -9970,11 +10188,15 @@ function createClientLogger(namespace) {
|
|
|
9970
10188
|
}
|
|
9971
10189
|
__name(createClientLogger, "createClientLogger");
|
|
9972
10190
|
|
|
9973
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10191
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/httpHeaders.js
|
|
9974
10192
|
function normalizeName(name) {
|
|
9975
10193
|
return name.toLowerCase();
|
|
9976
10194
|
}
|
|
9977
10195
|
__name(normalizeName, "normalizeName");
|
|
10196
|
+
function normalizeValue(value) {
|
|
10197
|
+
return String(value).trim().replace(/[\r\n]/g, "");
|
|
10198
|
+
}
|
|
10199
|
+
__name(normalizeValue, "normalizeValue");
|
|
9978
10200
|
function* headerIterator(map) {
|
|
9979
10201
|
for (const entry of map.values()) {
|
|
9980
10202
|
yield [entry.name, entry.value];
|
|
@@ -10001,7 +10223,7 @@ var HttpHeadersImpl = class {
|
|
|
10001
10223
|
* @param value - The value of the header to set.
|
|
10002
10224
|
*/
|
|
10003
10225
|
set(name, value) {
|
|
10004
|
-
this._headersMap.set(normalizeName(name), { name, value:
|
|
10226
|
+
this._headersMap.set(normalizeName(name), { name, value: normalizeValue(value) });
|
|
10005
10227
|
}
|
|
10006
10228
|
/**
|
|
10007
10229
|
* Get the header value for the provided header name, or undefined if no header exists in this
|
|
@@ -10059,13 +10281,13 @@ function createHttpHeaders(rawHeaders) {
|
|
|
10059
10281
|
}
|
|
10060
10282
|
__name(createHttpHeaders, "createHttpHeaders");
|
|
10061
10283
|
|
|
10062
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10284
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/uuidUtils.js
|
|
10063
10285
|
function randomUUID() {
|
|
10064
10286
|
return crypto.randomUUID();
|
|
10065
10287
|
}
|
|
10066
10288
|
__name(randomUUID, "randomUUID");
|
|
10067
10289
|
|
|
10068
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10290
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/pipelineRequest.js
|
|
10069
10291
|
var PipelineRequestImpl = class {
|
|
10070
10292
|
static {
|
|
10071
10293
|
__name(this, "PipelineRequestImpl");
|
|
@@ -10116,7 +10338,7 @@ function createPipelineRequest(options) {
|
|
|
10116
10338
|
}
|
|
10117
10339
|
__name(createPipelineRequest, "createPipelineRequest");
|
|
10118
10340
|
|
|
10119
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10341
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/pipeline.js
|
|
10120
10342
|
var ValidPhaseNames = /* @__PURE__ */ new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
|
|
10121
10343
|
var HttpPipeline = class _HttpPipeline {
|
|
10122
10344
|
static {
|
|
@@ -10305,13 +10527,13 @@ function createEmptyPipeline() {
|
|
|
10305
10527
|
}
|
|
10306
10528
|
__name(createEmptyPipeline, "createEmptyPipeline");
|
|
10307
10529
|
|
|
10308
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10530
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/object.js
|
|
10309
10531
|
function isObject(input) {
|
|
10310
10532
|
return typeof input === "object" && input !== null && !Array.isArray(input) && !(input instanceof RegExp) && !(input instanceof Date);
|
|
10311
10533
|
}
|
|
10312
10534
|
__name(isObject, "isObject");
|
|
10313
10535
|
|
|
10314
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10536
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/error.js
|
|
10315
10537
|
function isError(e) {
|
|
10316
10538
|
if (isObject(e)) {
|
|
10317
10539
|
const hasName = typeof e.name === "string";
|
|
@@ -10322,11 +10544,11 @@ function isError(e) {
|
|
|
10322
10544
|
}
|
|
10323
10545
|
__name(isError, "isError");
|
|
10324
10546
|
|
|
10325
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10547
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/inspect.js
|
|
10326
10548
|
import { inspect } from "node:util";
|
|
10327
10549
|
var custom = inspect.custom;
|
|
10328
10550
|
|
|
10329
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10551
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/sanitizer.js
|
|
10330
10552
|
var RedactedString = "REDACTED";
|
|
10331
10553
|
var defaultAllowedHeaderNames = [
|
|
10332
10554
|
"x-ms-client-request-id",
|
|
@@ -10465,7 +10687,7 @@ var Sanitizer = class {
|
|
|
10465
10687
|
}
|
|
10466
10688
|
};
|
|
10467
10689
|
|
|
10468
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10690
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/restError.js
|
|
10469
10691
|
var errorSanitizer = new Sanitizer();
|
|
10470
10692
|
var RestError = class _RestError extends Error {
|
|
10471
10693
|
static {
|
|
@@ -10537,7 +10759,7 @@ function isRestError(e) {
|
|
|
10537
10759
|
}
|
|
10538
10760
|
__name(isRestError, "isRestError");
|
|
10539
10761
|
|
|
10540
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10762
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/bytesEncoding.js
|
|
10541
10763
|
function uint8ArrayToString(bytes, format) {
|
|
10542
10764
|
return Buffer.from(bytes).toString(format);
|
|
10543
10765
|
}
|
|
@@ -10547,16 +10769,16 @@ function stringToUint8Array(value, format) {
|
|
|
10547
10769
|
}
|
|
10548
10770
|
__name(stringToUint8Array, "stringToUint8Array");
|
|
10549
10771
|
|
|
10550
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10772
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/nodeHttpClient.js
|
|
10551
10773
|
import http from "node:http";
|
|
10552
10774
|
import https from "node:https";
|
|
10553
10775
|
import zlib from "node:zlib";
|
|
10554
10776
|
import { Transform } from "node:stream";
|
|
10555
10777
|
|
|
10556
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10778
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/log.js
|
|
10557
10779
|
var logger = createClientLogger("ts-http-runtime");
|
|
10558
10780
|
|
|
10559
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10781
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/nodeHttpClient.js
|
|
10560
10782
|
var DEFAULT_TLS_SETTINGS = {};
|
|
10561
10783
|
function isReadableStream(body) {
|
|
10562
10784
|
return body && typeof body.pipe === "function";
|
|
@@ -10747,7 +10969,7 @@ var NodeHttpClient = class {
|
|
|
10747
10969
|
if (typeof body === "string" || Buffer.isBuffer(body)) {
|
|
10748
10970
|
req.end(body);
|
|
10749
10971
|
} else if (isArrayBuffer(body)) {
|
|
10750
|
-
req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer) : Buffer.from(body));
|
|
10972
|
+
req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : Buffer.from(body));
|
|
10751
10973
|
} else {
|
|
10752
10974
|
logger.error("Unrecognized body type", body);
|
|
10753
10975
|
reject(new RestError("Unrecognized body type"));
|
|
@@ -10863,13 +11085,13 @@ function createNodeHttpClient() {
|
|
|
10863
11085
|
}
|
|
10864
11086
|
__name(createNodeHttpClient, "createNodeHttpClient");
|
|
10865
11087
|
|
|
10866
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11088
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/defaultHttpClient.js
|
|
10867
11089
|
function createDefaultHttpClient() {
|
|
10868
11090
|
return createNodeHttpClient();
|
|
10869
11091
|
}
|
|
10870
11092
|
__name(createDefaultHttpClient, "createDefaultHttpClient");
|
|
10871
11093
|
|
|
10872
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11094
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/logPolicy.js
|
|
10873
11095
|
var logPolicyName = "logPolicy";
|
|
10874
11096
|
function logPolicy(options = {}) {
|
|
10875
11097
|
const logger4 = options.logger ?? logger.info;
|
|
@@ -10893,72 +11115,32 @@ function logPolicy(options = {}) {
|
|
|
10893
11115
|
}
|
|
10894
11116
|
__name(logPolicy, "logPolicy");
|
|
10895
11117
|
|
|
10896
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10897
|
-
var redirectPolicyName = "redirectPolicy";
|
|
10898
|
-
var allowedRedirect = ["GET", "HEAD"];
|
|
10899
|
-
function redirectPolicy(options = {}) {
|
|
10900
|
-
const { maxRetries = 20, allowCrossOriginRedirects = false } = options;
|
|
10901
|
-
return {
|
|
10902
|
-
name: redirectPolicyName,
|
|
10903
|
-
async sendRequest(request, next) {
|
|
10904
|
-
const response = await next(request);
|
|
10905
|
-
return handleRedirect(next, response, maxRetries, allowCrossOriginRedirects);
|
|
10906
|
-
}
|
|
10907
|
-
};
|
|
10908
|
-
}
|
|
10909
|
-
__name(redirectPolicy, "redirectPolicy");
|
|
10910
|
-
async function handleRedirect(next, response, maxRetries, allowCrossOriginRedirects, currentRetries = 0) {
|
|
10911
|
-
const { request, status, headers } = response;
|
|
10912
|
-
const locationHeader = headers.get("location");
|
|
10913
|
-
if (locationHeader && (status === 300 || status === 301 && allowedRedirect.includes(request.method) || status === 302 && allowedRedirect.includes(request.method) || status === 303 && request.method === "POST" || status === 307) && currentRetries < maxRetries) {
|
|
10914
|
-
const url2 = new URL(locationHeader, request.url);
|
|
10915
|
-
if (!allowCrossOriginRedirects) {
|
|
10916
|
-
const originalUrl = new URL(request.url);
|
|
10917
|
-
if (url2.origin !== originalUrl.origin) {
|
|
10918
|
-
logger.verbose(`Skipping cross-origin redirect from ${originalUrl.origin} to ${url2.origin}.`);
|
|
10919
|
-
return response;
|
|
10920
|
-
}
|
|
10921
|
-
}
|
|
10922
|
-
request.url = url2.toString();
|
|
10923
|
-
if (status === 303) {
|
|
10924
|
-
request.method = "GET";
|
|
10925
|
-
request.headers.delete("Content-Length");
|
|
10926
|
-
delete request.body;
|
|
10927
|
-
}
|
|
10928
|
-
request.headers.delete("Authorization");
|
|
10929
|
-
const res = await next(request);
|
|
10930
|
-
return handleRedirect(next, res, maxRetries, allowCrossOriginRedirects, currentRetries + 1);
|
|
10931
|
-
}
|
|
10932
|
-
return response;
|
|
10933
|
-
}
|
|
10934
|
-
__name(handleRedirect, "handleRedirect");
|
|
10935
|
-
|
|
10936
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.5-d16263195f/package/dist/esm/util/userAgentPlatform.js
|
|
11118
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/userAgentPlatform.js
|
|
10937
11119
|
import os from "node:os";
|
|
10938
|
-
import
|
|
11120
|
+
import process4 from "node:process";
|
|
10939
11121
|
function getHeaderName() {
|
|
10940
11122
|
return "User-Agent";
|
|
10941
11123
|
}
|
|
10942
11124
|
__name(getHeaderName, "getHeaderName");
|
|
10943
11125
|
async function setPlatformSpecificData(map) {
|
|
10944
|
-
if (
|
|
11126
|
+
if (process4 && process4.versions) {
|
|
10945
11127
|
const osInfo = `${os.type()} ${os.release()}; ${os.arch()}`;
|
|
10946
|
-
if (
|
|
10947
|
-
map.set("Bun", `${
|
|
10948
|
-
} else if (
|
|
10949
|
-
map.set("Deno", `${
|
|
10950
|
-
} else if (
|
|
10951
|
-
map.set("Node", `${
|
|
11128
|
+
if (process4.versions.bun) {
|
|
11129
|
+
map.set("Bun", `${process4.versions.bun} (${osInfo})`);
|
|
11130
|
+
} else if (process4.versions.deno) {
|
|
11131
|
+
map.set("Deno", `${process4.versions.deno} (${osInfo})`);
|
|
11132
|
+
} else if (process4.versions.node) {
|
|
11133
|
+
map.set("Node", `${process4.versions.node} (${osInfo})`);
|
|
10952
11134
|
}
|
|
10953
11135
|
}
|
|
10954
11136
|
}
|
|
10955
11137
|
__name(setPlatformSpecificData, "setPlatformSpecificData");
|
|
10956
11138
|
|
|
10957
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10958
|
-
var SDK_VERSION = "0.3.
|
|
11139
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/constants.js
|
|
11140
|
+
var SDK_VERSION = "0.3.6";
|
|
10959
11141
|
var DEFAULT_RETRY_POLICY_COUNT = 3;
|
|
10960
11142
|
|
|
10961
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11143
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/userAgent.js
|
|
10962
11144
|
function getUserAgentString(telemetryInfo) {
|
|
10963
11145
|
const parts = [];
|
|
10964
11146
|
for (const [key, value] of telemetryInfo) {
|
|
@@ -10982,7 +11164,7 @@ async function getUserAgentValue(prefix) {
|
|
|
10982
11164
|
}
|
|
10983
11165
|
__name(getUserAgentValue, "getUserAgentValue");
|
|
10984
11166
|
|
|
10985
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11167
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/userAgentPolicy.js
|
|
10986
11168
|
var UserAgentHeaderName = getUserAgentHeaderName();
|
|
10987
11169
|
var userAgentPolicyName = "userAgentPolicy";
|
|
10988
11170
|
function userAgentPolicy(options = {}) {
|
|
@@ -10999,22 +11181,7 @@ function userAgentPolicy(options = {}) {
|
|
|
10999
11181
|
}
|
|
11000
11182
|
__name(userAgentPolicy, "userAgentPolicy");
|
|
11001
11183
|
|
|
11002
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11003
|
-
var decompressResponsePolicyName = "decompressResponsePolicy";
|
|
11004
|
-
function decompressResponsePolicy() {
|
|
11005
|
-
return {
|
|
11006
|
-
name: decompressResponsePolicyName,
|
|
11007
|
-
async sendRequest(request, next) {
|
|
11008
|
-
if (request.method !== "HEAD") {
|
|
11009
|
-
request.headers.set("Accept-Encoding", "gzip,deflate");
|
|
11010
|
-
}
|
|
11011
|
-
return next(request);
|
|
11012
|
-
}
|
|
11013
|
-
};
|
|
11014
|
-
}
|
|
11015
|
-
__name(decompressResponsePolicy, "decompressResponsePolicy");
|
|
11016
|
-
|
|
11017
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.5-d16263195f/package/dist/esm/util/random.js
|
|
11184
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/random.js
|
|
11018
11185
|
function getRandomIntegerInclusive(min, max) {
|
|
11019
11186
|
min = Math.ceil(min);
|
|
11020
11187
|
max = Math.floor(max);
|
|
@@ -11023,7 +11190,7 @@ function getRandomIntegerInclusive(min, max) {
|
|
|
11023
11190
|
}
|
|
11024
11191
|
__name(getRandomIntegerInclusive, "getRandomIntegerInclusive");
|
|
11025
11192
|
|
|
11026
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11193
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/delay.js
|
|
11027
11194
|
function calculateRetryDelay(retryAttempt, config) {
|
|
11028
11195
|
const exponentialDelay = config.retryDelayInMs * Math.pow(2, retryAttempt);
|
|
11029
11196
|
const clampedDelay = Math.min(config.maxRetryDelayInMs, exponentialDelay);
|
|
@@ -11032,7 +11199,7 @@ function calculateRetryDelay(retryAttempt, config) {
|
|
|
11032
11199
|
}
|
|
11033
11200
|
__name(calculateRetryDelay, "calculateRetryDelay");
|
|
11034
11201
|
|
|
11035
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11202
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/helpers.js
|
|
11036
11203
|
var StandardAbortMessage = "The operation was aborted.";
|
|
11037
11204
|
function delay(delayInMs, value, options) {
|
|
11038
11205
|
return new Promise((resolve, reject) => {
|
|
@@ -11077,7 +11244,7 @@ function parseHeaderValueAsNumber(response, headerName) {
|
|
|
11077
11244
|
}
|
|
11078
11245
|
__name(parseHeaderValueAsNumber, "parseHeaderValueAsNumber");
|
|
11079
11246
|
|
|
11080
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11247
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
|
|
11081
11248
|
var RetryAfterHeader = "Retry-After";
|
|
11082
11249
|
var AllRetryAfterHeaders = ["retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader];
|
|
11083
11250
|
function getRetryAfterInMs(response) {
|
|
@@ -11122,7 +11289,7 @@ function throttlingRetryStrategy() {
|
|
|
11122
11289
|
}
|
|
11123
11290
|
__name(throttlingRetryStrategy, "throttlingRetryStrategy");
|
|
11124
11291
|
|
|
11125
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11292
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
|
|
11126
11293
|
var DEFAULT_CLIENT_RETRY_INTERVAL = 1e3;
|
|
11127
11294
|
var DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1e3 * 64;
|
|
11128
11295
|
function exponentialRetryStrategy(options = {}) {
|
|
@@ -11162,7 +11329,7 @@ function isSystemError(err) {
|
|
|
11162
11329
|
}
|
|
11163
11330
|
__name(isSystemError, "isSystemError");
|
|
11164
11331
|
|
|
11165
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11332
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/retryPolicy.js
|
|
11166
11333
|
var retryPolicyLogger = createClientLogger("ts-http-runtime retryPolicy");
|
|
11167
11334
|
var retryPolicyName = "retryPolicy";
|
|
11168
11335
|
function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }) {
|
|
@@ -11247,7 +11414,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
11247
11414
|
}
|
|
11248
11415
|
__name(retryPolicy, "retryPolicy");
|
|
11249
11416
|
|
|
11250
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11417
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/defaultRetryPolicy.js
|
|
11251
11418
|
var defaultRetryPolicyName = "defaultRetryPolicy";
|
|
11252
11419
|
function defaultRetryPolicy(options = {}) {
|
|
11253
11420
|
return {
|
|
@@ -11259,31 +11426,33 @@ function defaultRetryPolicy(options = {}) {
|
|
|
11259
11426
|
}
|
|
11260
11427
|
__name(defaultRetryPolicy, "defaultRetryPolicy");
|
|
11261
11428
|
|
|
11262
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11269
|
-
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
|
-
formDataMap[key] ??= [];
|
|
11276
|
-
formDataMap[key].push(value);
|
|
11429
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/formData.js
|
|
11430
|
+
function convertBodyToFormDataMap(body) {
|
|
11431
|
+
if (typeof FormData !== "undefined" && body instanceof FormData) {
|
|
11432
|
+
const formDataMap = {};
|
|
11433
|
+
for (const [key, value] of body.entries()) {
|
|
11434
|
+
const existing = formDataMap[key];
|
|
11435
|
+
if (Array.isArray(existing)) {
|
|
11436
|
+
existing.push(value);
|
|
11437
|
+
} else {
|
|
11438
|
+
formDataMap[key] = existing !== void 0 ? [existing, value] : [value];
|
|
11439
|
+
}
|
|
11440
|
+
}
|
|
11441
|
+
return formDataMap;
|
|
11277
11442
|
}
|
|
11278
|
-
return
|
|
11443
|
+
return void 0;
|
|
11279
11444
|
}
|
|
11280
|
-
__name(
|
|
11445
|
+
__name(convertBodyToFormDataMap, "convertBodyToFormDataMap");
|
|
11446
|
+
|
|
11447
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/formDataPolicy.js
|
|
11448
|
+
var formDataPolicyName = "formDataPolicy";
|
|
11281
11449
|
function formDataPolicy() {
|
|
11282
11450
|
return {
|
|
11283
11451
|
name: formDataPolicyName,
|
|
11284
11452
|
async sendRequest(request, next) {
|
|
11285
|
-
|
|
11286
|
-
|
|
11453
|
+
const converted = convertBodyToFormDataMap(request.body);
|
|
11454
|
+
if (converted) {
|
|
11455
|
+
request.formData = converted;
|
|
11287
11456
|
request.body = void 0;
|
|
11288
11457
|
}
|
|
11289
11458
|
if (request.formData) {
|
|
@@ -11348,7 +11517,37 @@ async function prepareFormData(formData, request) {
|
|
|
11348
11517
|
}
|
|
11349
11518
|
__name(prepareFormData, "prepareFormData");
|
|
11350
11519
|
|
|
11351
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11520
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/agentPolicy.js
|
|
11521
|
+
var agentPolicyName = "agentPolicy";
|
|
11522
|
+
function agentPolicy(agent) {
|
|
11523
|
+
return {
|
|
11524
|
+
name: agentPolicyName,
|
|
11525
|
+
sendRequest: /* @__PURE__ */ __name(async (req, next) => {
|
|
11526
|
+
if (!req.agent) {
|
|
11527
|
+
req.agent = agent;
|
|
11528
|
+
}
|
|
11529
|
+
return next(req);
|
|
11530
|
+
}, "sendRequest")
|
|
11531
|
+
};
|
|
11532
|
+
}
|
|
11533
|
+
__name(agentPolicy, "agentPolicy");
|
|
11534
|
+
|
|
11535
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/tlsPolicy.js
|
|
11536
|
+
var tlsPolicyName = "tlsPolicy";
|
|
11537
|
+
function tlsPolicy(tlsSettings) {
|
|
11538
|
+
return {
|
|
11539
|
+
name: tlsPolicyName,
|
|
11540
|
+
sendRequest: /* @__PURE__ */ __name(async (req, next) => {
|
|
11541
|
+
if (!req.tlsSettings) {
|
|
11542
|
+
req.tlsSettings = tlsSettings;
|
|
11543
|
+
}
|
|
11544
|
+
return next(req);
|
|
11545
|
+
}, "sendRequest")
|
|
11546
|
+
};
|
|
11547
|
+
}
|
|
11548
|
+
__name(tlsPolicy, "tlsPolicy");
|
|
11549
|
+
|
|
11550
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/proxyPolicy.js
|
|
11352
11551
|
var import_https_proxy_agent = __toESM(require_dist2(), 1);
|
|
11353
11552
|
var import_http_proxy_agent = __toESM(require_dist3(), 1);
|
|
11354
11553
|
var HTTPS_PROXY = "HTTPS_PROXY";
|
|
@@ -11479,47 +11678,89 @@ function proxyPolicy(proxySettings, options) {
|
|
|
11479
11678
|
}
|
|
11480
11679
|
__name(proxyPolicy, "proxyPolicy");
|
|
11481
11680
|
|
|
11482
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11483
|
-
var
|
|
11484
|
-
function
|
|
11681
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/decompressResponsePolicy.js
|
|
11682
|
+
var decompressResponsePolicyName = "decompressResponsePolicy";
|
|
11683
|
+
function decompressResponsePolicy() {
|
|
11485
11684
|
return {
|
|
11486
|
-
name:
|
|
11487
|
-
|
|
11488
|
-
if (
|
|
11489
|
-
|
|
11685
|
+
name: decompressResponsePolicyName,
|
|
11686
|
+
async sendRequest(request, next) {
|
|
11687
|
+
if (request.method !== "HEAD") {
|
|
11688
|
+
request.headers.set("Accept-Encoding", "gzip,deflate");
|
|
11490
11689
|
}
|
|
11491
|
-
return next(
|
|
11492
|
-
}
|
|
11690
|
+
return next(request);
|
|
11691
|
+
}
|
|
11493
11692
|
};
|
|
11494
11693
|
}
|
|
11495
|
-
__name(
|
|
11694
|
+
__name(decompressResponsePolicy, "decompressResponsePolicy");
|
|
11496
11695
|
|
|
11497
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11498
|
-
var
|
|
11499
|
-
|
|
11696
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/redirectPolicy.js
|
|
11697
|
+
var redirectPolicyName = "redirectPolicy";
|
|
11698
|
+
var allowedRedirect = ["GET", "HEAD"];
|
|
11699
|
+
function redirectPolicy(options = {}) {
|
|
11700
|
+
const { maxRetries = 20, allowCrossOriginRedirects = false } = options;
|
|
11500
11701
|
return {
|
|
11501
|
-
name:
|
|
11502
|
-
|
|
11503
|
-
|
|
11504
|
-
|
|
11505
|
-
|
|
11506
|
-
return next(req);
|
|
11507
|
-
}, "sendRequest")
|
|
11702
|
+
name: redirectPolicyName,
|
|
11703
|
+
async sendRequest(request, next) {
|
|
11704
|
+
const response = await next(request);
|
|
11705
|
+
return handleRedirect(next, response, maxRetries, allowCrossOriginRedirects);
|
|
11706
|
+
}
|
|
11508
11707
|
};
|
|
11509
11708
|
}
|
|
11510
|
-
__name(
|
|
11709
|
+
__name(redirectPolicy, "redirectPolicy");
|
|
11710
|
+
async function handleRedirect(next, response, maxRetries, allowCrossOriginRedirects, currentRetries = 0) {
|
|
11711
|
+
const { request, status, headers } = response;
|
|
11712
|
+
const locationHeader = headers.get("location");
|
|
11713
|
+
if (locationHeader && (status === 300 || status === 301 && allowedRedirect.includes(request.method) || status === 302 && allowedRedirect.includes(request.method) || status === 303 && request.method === "POST" || status === 307) && currentRetries < maxRetries) {
|
|
11714
|
+
const url2 = new URL(locationHeader, request.url);
|
|
11715
|
+
if (!allowCrossOriginRedirects) {
|
|
11716
|
+
const originalUrl = new URL(request.url);
|
|
11717
|
+
if (url2.origin !== originalUrl.origin) {
|
|
11718
|
+
logger.verbose(`Skipping cross-origin redirect from ${originalUrl.origin} to ${url2.origin}.`);
|
|
11719
|
+
return response;
|
|
11720
|
+
}
|
|
11721
|
+
}
|
|
11722
|
+
request.url = url2.toString();
|
|
11723
|
+
if (status === 303) {
|
|
11724
|
+
request.method = "GET";
|
|
11725
|
+
request.headers.delete("Content-Length");
|
|
11726
|
+
delete request.body;
|
|
11727
|
+
}
|
|
11728
|
+
request.headers.delete("Authorization");
|
|
11729
|
+
const res = await next(request);
|
|
11730
|
+
return handleRedirect(next, res, maxRetries, allowCrossOriginRedirects, currentRetries + 1);
|
|
11731
|
+
}
|
|
11732
|
+
return response;
|
|
11733
|
+
}
|
|
11734
|
+
__name(handleRedirect, "handleRedirect");
|
|
11511
11735
|
|
|
11512
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11736
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/platformPolicies.js
|
|
11737
|
+
function addPlatformPolicies(pipeline, options) {
|
|
11738
|
+
if (options.agent) {
|
|
11739
|
+
pipeline.addPolicy(agentPolicy(options.agent));
|
|
11740
|
+
}
|
|
11741
|
+
if (options.tlsOptions) {
|
|
11742
|
+
pipeline.addPolicy(tlsPolicy(options.tlsOptions));
|
|
11743
|
+
}
|
|
11744
|
+
pipeline.addPolicy(proxyPolicy(options.proxyOptions));
|
|
11745
|
+
pipeline.addPolicy(decompressResponsePolicy());
|
|
11746
|
+
pipeline.addPolicy(redirectPolicy(options.redirectOptions), { afterPhase: "Retry" });
|
|
11747
|
+
}
|
|
11748
|
+
__name(addPlatformPolicies, "addPlatformPolicies");
|
|
11749
|
+
|
|
11750
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/typeGuards-node.js
|
|
11751
|
+
import { Readable } from "stream";
|
|
11513
11752
|
function isNodeReadableStream(x) {
|
|
11514
|
-
return
|
|
11753
|
+
return x instanceof Readable;
|
|
11515
11754
|
}
|
|
11516
11755
|
__name(isNodeReadableStream, "isNodeReadableStream");
|
|
11517
11756
|
function isWebReadableStream(x) {
|
|
11518
|
-
return
|
|
11757
|
+
return x instanceof ReadableStream;
|
|
11519
11758
|
}
|
|
11520
11759
|
__name(isWebReadableStream, "isWebReadableStream");
|
|
11760
|
+
|
|
11761
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/typeGuards.js
|
|
11521
11762
|
function isBinaryBody(body) {
|
|
11522
|
-
return body !== void 0 && (body instanceof Uint8Array || isReadableStream2(body) || typeof body === "function" ||
|
|
11763
|
+
return body !== void 0 && (body instanceof Uint8Array || isReadableStream2(body) || typeof body === "function" || body instanceof Blob);
|
|
11523
11764
|
}
|
|
11524
11765
|
__name(isBinaryBody, "isBinaryBody");
|
|
11525
11766
|
function isReadableStream2(x) {
|
|
@@ -11527,12 +11768,12 @@ function isReadableStream2(x) {
|
|
|
11527
11768
|
}
|
|
11528
11769
|
__name(isReadableStream2, "isReadableStream");
|
|
11529
11770
|
function isBlob(x) {
|
|
11530
|
-
return
|
|
11771
|
+
return x instanceof Blob;
|
|
11531
11772
|
}
|
|
11532
11773
|
__name(isBlob, "isBlob");
|
|
11533
11774
|
|
|
11534
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11535
|
-
import { Readable } from "stream";
|
|
11775
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/util/concat.js
|
|
11776
|
+
import { Readable as Readable2 } from "stream";
|
|
11536
11777
|
async function* streamAsyncIterator() {
|
|
11537
11778
|
const reader = this.getReader();
|
|
11538
11779
|
try {
|
|
@@ -11560,7 +11801,7 @@ __name(makeAsyncIterable, "makeAsyncIterable");
|
|
|
11560
11801
|
function ensureNodeStream(stream) {
|
|
11561
11802
|
if (stream instanceof ReadableStream) {
|
|
11562
11803
|
makeAsyncIterable(stream);
|
|
11563
|
-
return
|
|
11804
|
+
return Readable2.fromWeb(stream);
|
|
11564
11805
|
} else {
|
|
11565
11806
|
return stream;
|
|
11566
11807
|
}
|
|
@@ -11568,7 +11809,7 @@ function ensureNodeStream(stream) {
|
|
|
11568
11809
|
__name(ensureNodeStream, "ensureNodeStream");
|
|
11569
11810
|
function toStream(source) {
|
|
11570
11811
|
if (source instanceof Uint8Array) {
|
|
11571
|
-
return
|
|
11812
|
+
return Readable2.from(Buffer.from(source));
|
|
11572
11813
|
} else if (isBlob(source)) {
|
|
11573
11814
|
return ensureNodeStream(source.stream());
|
|
11574
11815
|
} else {
|
|
@@ -11579,7 +11820,7 @@ __name(toStream, "toStream");
|
|
|
11579
11820
|
async function concat(sources) {
|
|
11580
11821
|
return function() {
|
|
11581
11822
|
const streams = sources.map((x) => typeof x === "function" ? x() : x).map(toStream);
|
|
11582
|
-
return
|
|
11823
|
+
return Readable2.from((async function* () {
|
|
11583
11824
|
for (const stream of streams) {
|
|
11584
11825
|
for await (const chunk of stream) {
|
|
11585
11826
|
yield chunk;
|
|
@@ -11590,7 +11831,7 @@ async function concat(sources) {
|
|
|
11590
11831
|
}
|
|
11591
11832
|
__name(concat, "concat");
|
|
11592
11833
|
|
|
11593
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11834
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/multipartPolicy.js
|
|
11594
11835
|
function generateBoundary() {
|
|
11595
11836
|
return `----AzSDKFormBoundary${randomUUID()}`;
|
|
11596
11837
|
}
|
|
@@ -11694,32 +11935,20 @@ function multipartPolicy() {
|
|
|
11694
11935
|
}
|
|
11695
11936
|
__name(multipartPolicy, "multipartPolicy");
|
|
11696
11937
|
|
|
11697
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11938
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/createPipelineFromOptions.js
|
|
11698
11939
|
function createPipelineFromOptions(options) {
|
|
11699
11940
|
const pipeline = createEmptyPipeline();
|
|
11700
|
-
|
|
11701
|
-
if (options.agent) {
|
|
11702
|
-
pipeline.addPolicy(agentPolicy(options.agent));
|
|
11703
|
-
}
|
|
11704
|
-
if (options.tlsOptions) {
|
|
11705
|
-
pipeline.addPolicy(tlsPolicy(options.tlsOptions));
|
|
11706
|
-
}
|
|
11707
|
-
pipeline.addPolicy(proxyPolicy(options.proxyOptions));
|
|
11708
|
-
pipeline.addPolicy(decompressResponsePolicy());
|
|
11709
|
-
}
|
|
11941
|
+
addPlatformPolicies(pipeline, options);
|
|
11710
11942
|
pipeline.addPolicy(formDataPolicy(), { beforePolicies: [multipartPolicyName] });
|
|
11711
11943
|
pipeline.addPolicy(userAgentPolicy(options.userAgentOptions));
|
|
11712
11944
|
pipeline.addPolicy(multipartPolicy(), { afterPhase: "Deserialize" });
|
|
11713
11945
|
pipeline.addPolicy(defaultRetryPolicy(options.retryOptions), { phase: "Retry" });
|
|
11714
|
-
if (isNodeLike) {
|
|
11715
|
-
pipeline.addPolicy(redirectPolicy(options.redirectOptions), { afterPhase: "Retry" });
|
|
11716
|
-
}
|
|
11717
11946
|
pipeline.addPolicy(logPolicy(options.loggingOptions), { afterPhase: "Sign" });
|
|
11718
11947
|
return pipeline;
|
|
11719
11948
|
}
|
|
11720
11949
|
__name(createPipelineFromOptions, "createPipelineFromOptions");
|
|
11721
11950
|
|
|
11722
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11951
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/apiVersionPolicy.js
|
|
11723
11952
|
var apiVersionPolicyName = "ApiVersionPolicy";
|
|
11724
11953
|
function apiVersionPolicy(options) {
|
|
11725
11954
|
return {
|
|
@@ -11735,7 +11964,7 @@ function apiVersionPolicy(options) {
|
|
|
11735
11964
|
}
|
|
11736
11965
|
__name(apiVersionPolicy, "apiVersionPolicy");
|
|
11737
11966
|
|
|
11738
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11967
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/auth/credentials.js
|
|
11739
11968
|
function isOAuth2TokenCredential(credential) {
|
|
11740
11969
|
return "getOAuth2Token" in credential;
|
|
11741
11970
|
}
|
|
@@ -11753,7 +11982,7 @@ function isApiKeyCredential(credential) {
|
|
|
11753
11982
|
}
|
|
11754
11983
|
__name(isApiKeyCredential, "isApiKeyCredential");
|
|
11755
11984
|
|
|
11756
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11985
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/auth/checkInsecureConnection.js
|
|
11757
11986
|
var insecureConnectionWarningEmmitted = false;
|
|
11758
11987
|
function allowInsecureConnection(request, options) {
|
|
11759
11988
|
if (options.allowInsecureConnection && request.allowInsecureConnection) {
|
|
@@ -11768,9 +11997,9 @@ __name(allowInsecureConnection, "allowInsecureConnection");
|
|
|
11768
11997
|
function emitInsecureConnectionWarning() {
|
|
11769
11998
|
const warning = "Sending token over insecure transport. Assume any token issued is compromised.";
|
|
11770
11999
|
logger.warning(warning);
|
|
11771
|
-
if (
|
|
12000
|
+
if (!insecureConnectionWarningEmmitted) {
|
|
11772
12001
|
insecureConnectionWarningEmmitted = true;
|
|
11773
|
-
|
|
12002
|
+
emitNodeWarning(warning);
|
|
11774
12003
|
}
|
|
11775
12004
|
}
|
|
11776
12005
|
__name(emitInsecureConnectionWarning, "emitInsecureConnectionWarning");
|
|
@@ -11785,7 +12014,7 @@ function ensureSecureConnection(request, options) {
|
|
|
11785
12014
|
}
|
|
11786
12015
|
__name(ensureSecureConnection, "ensureSecureConnection");
|
|
11787
12016
|
|
|
11788
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12017
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/auth/apiKeyAuthenticationPolicy.js
|
|
11789
12018
|
var apiKeyAuthenticationPolicyName = "apiKeyAuthenticationPolicy";
|
|
11790
12019
|
function apiKeyAuthenticationPolicy(options) {
|
|
11791
12020
|
return {
|
|
@@ -11806,7 +12035,7 @@ function apiKeyAuthenticationPolicy(options) {
|
|
|
11806
12035
|
}
|
|
11807
12036
|
__name(apiKeyAuthenticationPolicy, "apiKeyAuthenticationPolicy");
|
|
11808
12037
|
|
|
11809
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12038
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/auth/basicAuthenticationPolicy.js
|
|
11810
12039
|
var basicAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
11811
12040
|
function basicAuthenticationPolicy(options) {
|
|
11812
12041
|
return {
|
|
@@ -11826,7 +12055,7 @@ function basicAuthenticationPolicy(options) {
|
|
|
11826
12055
|
}
|
|
11827
12056
|
__name(basicAuthenticationPolicy, "basicAuthenticationPolicy");
|
|
11828
12057
|
|
|
11829
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12058
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/auth/bearerAuthenticationPolicy.js
|
|
11830
12059
|
var bearerAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
11831
12060
|
function bearerAuthenticationPolicy(options) {
|
|
11832
12061
|
return {
|
|
@@ -11847,7 +12076,7 @@ function bearerAuthenticationPolicy(options) {
|
|
|
11847
12076
|
}
|
|
11848
12077
|
__name(bearerAuthenticationPolicy, "bearerAuthenticationPolicy");
|
|
11849
12078
|
|
|
11850
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12079
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/policies/auth/oauth2AuthenticationPolicy.js
|
|
11851
12080
|
var oauth2AuthenticationPolicyName = "oauth2AuthenticationPolicy";
|
|
11852
12081
|
function oauth2AuthenticationPolicy(options) {
|
|
11853
12082
|
return {
|
|
@@ -11868,7 +12097,7 @@ function oauth2AuthenticationPolicy(options) {
|
|
|
11868
12097
|
}
|
|
11869
12098
|
__name(oauth2AuthenticationPolicy, "oauth2AuthenticationPolicy");
|
|
11870
12099
|
|
|
11871
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12100
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/clientHelpers.js
|
|
11872
12101
|
var cachedHttpClient;
|
|
11873
12102
|
function createDefaultPipeline(options = {}) {
|
|
11874
12103
|
const pipeline = createPipelineFromOptions(options);
|
|
@@ -11896,7 +12125,7 @@ function getCachedDefaultHttpsClient() {
|
|
|
11896
12125
|
}
|
|
11897
12126
|
__name(getCachedDefaultHttpsClient, "getCachedDefaultHttpsClient");
|
|
11898
12127
|
|
|
11899
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12128
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/multipart.js
|
|
11900
12129
|
function getHeaderValue(descriptor, headerName) {
|
|
11901
12130
|
if (descriptor.headers) {
|
|
11902
12131
|
const actualHeaderName = Object.keys(descriptor.headers).find((x) => x.toLowerCase() === headerName.toLowerCase());
|
|
@@ -12004,7 +12233,7 @@ function buildMultipartBody(parts) {
|
|
|
12004
12233
|
}
|
|
12005
12234
|
__name(buildMultipartBody, "buildMultipartBody");
|
|
12006
12235
|
|
|
12007
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12236
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/sendRequest.js
|
|
12008
12237
|
async function sendRequest(method, url2, pipeline, options = {}, customHttpClient) {
|
|
12009
12238
|
const httpClient = customHttpClient ?? getCachedDefaultHttpsClient();
|
|
12010
12239
|
const request = buildPipelineRequest(method, url2, options);
|
|
@@ -12075,20 +12304,23 @@ function buildPipelineRequest(method, url2, options = {}) {
|
|
|
12075
12304
|
"content-type": requestContentType
|
|
12076
12305
|
}
|
|
12077
12306
|
});
|
|
12078
|
-
|
|
12307
|
+
const { allowInsecureConnection: allowInsecureConnection2, abortSignal, onUploadProgress, onDownloadProgress, timeout, responseAsStream, url: _url, method: _method, body: _body, multipartBody: _multiBody, headers: _headers, ...rest } = options;
|
|
12308
|
+
const request = createPipelineRequest({
|
|
12079
12309
|
url: url2,
|
|
12080
12310
|
method,
|
|
12081
12311
|
body,
|
|
12082
12312
|
multipartBody,
|
|
12083
12313
|
headers,
|
|
12084
|
-
allowInsecureConnection:
|
|
12085
|
-
abortSignal
|
|
12086
|
-
onUploadProgress
|
|
12087
|
-
onDownloadProgress
|
|
12088
|
-
timeout
|
|
12314
|
+
allowInsecureConnection: allowInsecureConnection2,
|
|
12315
|
+
abortSignal,
|
|
12316
|
+
onUploadProgress,
|
|
12317
|
+
onDownloadProgress,
|
|
12318
|
+
timeout,
|
|
12089
12319
|
enableBrowserStreams: true,
|
|
12090
|
-
streamResponseStatusCodes:
|
|
12320
|
+
streamResponseStatusCodes: responseAsStream ? /* @__PURE__ */ new Set([Number.POSITIVE_INFINITY]) : void 0
|
|
12091
12321
|
});
|
|
12322
|
+
Object.assign(request, rest);
|
|
12323
|
+
return request;
|
|
12092
12324
|
}
|
|
12093
12325
|
__name(buildPipelineRequest, "buildPipelineRequest");
|
|
12094
12326
|
function getRequestBody(body, contentType = "") {
|
|
@@ -12108,7 +12340,9 @@ function getRequestBody(body, contentType = "") {
|
|
|
12108
12340
|
return { body };
|
|
12109
12341
|
}
|
|
12110
12342
|
if (ArrayBuffer.isView(body)) {
|
|
12111
|
-
return {
|
|
12343
|
+
return {
|
|
12344
|
+
body: body instanceof Uint8Array ? body : JSON.stringify(body)
|
|
12345
|
+
};
|
|
12112
12346
|
}
|
|
12113
12347
|
const firstType = contentType.split(";")[0];
|
|
12114
12348
|
switch (firstType) {
|
|
@@ -12158,7 +12392,7 @@ function createParseError(response, err) {
|
|
|
12158
12392
|
}
|
|
12159
12393
|
__name(createParseError, "createParseError");
|
|
12160
12394
|
|
|
12161
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12395
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/urlHelpers.js
|
|
12162
12396
|
function isQueryParameterWithOptions(x) {
|
|
12163
12397
|
if (typeof x !== "object" || x === null || !Object.hasOwn(x, "value")) {
|
|
12164
12398
|
return false;
|
|
@@ -12357,7 +12591,7 @@ function replaceAll(value, searchValue, replaceValue) {
|
|
|
12357
12591
|
}
|
|
12358
12592
|
__name(replaceAll, "replaceAll");
|
|
12359
12593
|
|
|
12360
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12594
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/getClient.js
|
|
12361
12595
|
function getClient(endpoint, clientOptions = {}) {
|
|
12362
12596
|
const pipeline = clientOptions.pipeline ?? createDefaultPipeline(clientOptions);
|
|
12363
12597
|
if (clientOptions.additionalPolicies?.length) {
|
|
@@ -12430,7 +12664,7 @@ function buildOperation(method, url2, pipeline, options, allowInsecureConnection
|
|
|
12430
12664
|
}
|
|
12431
12665
|
__name(buildOperation, "buildOperation");
|
|
12432
12666
|
|
|
12433
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12667
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/operationOptionHelpers.js
|
|
12434
12668
|
function operationOptionsToRequestParameters(options) {
|
|
12435
12669
|
return {
|
|
12436
12670
|
allowInsecureConnection: options.requestOptions?.allowInsecureConnection,
|
|
@@ -12445,7 +12679,7 @@ function operationOptionsToRequestParameters(options) {
|
|
|
12445
12679
|
}
|
|
12446
12680
|
__name(operationOptionsToRequestParameters, "operationOptionsToRequestParameters");
|
|
12447
12681
|
|
|
12448
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12682
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.6-68595c7790/package/dist/esm/client/restError.js
|
|
12449
12683
|
function createRestError(messageOrResponse, response) {
|
|
12450
12684
|
const resp = typeof messageOrResponse === "string" ? response : messageOrResponse;
|
|
12451
12685
|
const internalError = resp.body?.error ?? resp.body;
|
|
@@ -12458,11 +12692,12 @@ function createRestError(messageOrResponse, response) {
|
|
|
12458
12692
|
});
|
|
12459
12693
|
}
|
|
12460
12694
|
__name(createRestError, "createRestError");
|
|
12461
|
-
function toPipelineResponse(
|
|
12695
|
+
function toPipelineResponse(errorResponse) {
|
|
12462
12696
|
return {
|
|
12463
|
-
headers: createHttpHeaders(
|
|
12464
|
-
request:
|
|
12465
|
-
status: statusCodeToNumber(
|
|
12697
|
+
headers: createHttpHeaders(errorResponse.headers),
|
|
12698
|
+
request: errorResponse.request,
|
|
12699
|
+
status: statusCodeToNumber(errorResponse.status) ?? -1,
|
|
12700
|
+
...typeof errorResponse.body === "string" ? { bodyAsText: errorResponse.body } : {}
|
|
12466
12701
|
};
|
|
12467
12702
|
}
|
|
12468
12703
|
__name(toPipelineResponse, "toPipelineResponse");
|
|
@@ -12472,7 +12707,7 @@ function statusCodeToNumber(statusCode) {
|
|
|
12472
12707
|
}
|
|
12473
12708
|
__name(statusCodeToNumber, "statusCodeToNumber");
|
|
12474
12709
|
|
|
12475
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12710
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/pipeline.js
|
|
12476
12711
|
function createEmptyPipeline2() {
|
|
12477
12712
|
return createEmptyPipeline();
|
|
12478
12713
|
}
|
|
@@ -12489,10 +12724,10 @@ function createClientLogger2(namespace) {
|
|
|
12489
12724
|
}
|
|
12490
12725
|
__name(createClientLogger2, "createClientLogger");
|
|
12491
12726
|
|
|
12492
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12727
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/log.js
|
|
12493
12728
|
var logger2 = createClientLogger2("core-rest-pipeline");
|
|
12494
12729
|
|
|
12495
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12730
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/logPolicy.js
|
|
12496
12731
|
function logPolicy2(options = {}) {
|
|
12497
12732
|
return logPolicy({
|
|
12498
12733
|
logger: logger2.info,
|
|
@@ -12501,39 +12736,38 @@ function logPolicy2(options = {}) {
|
|
|
12501
12736
|
}
|
|
12502
12737
|
__name(logPolicy2, "logPolicy");
|
|
12503
12738
|
|
|
12504
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12739
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/redirectPolicy.js
|
|
12505
12740
|
var redirectPolicyName2 = redirectPolicyName;
|
|
12506
12741
|
function redirectPolicy2(options = {}) {
|
|
12507
12742
|
return redirectPolicy(options);
|
|
12508
12743
|
}
|
|
12509
12744
|
__name(redirectPolicy2, "redirectPolicy");
|
|
12510
12745
|
|
|
12511
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12746
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/util/userAgentPlatform.js
|
|
12512
12747
|
import os2 from "node:os";
|
|
12513
|
-
import
|
|
12748
|
+
import process5 from "node:process";
|
|
12514
12749
|
function getHeaderName2() {
|
|
12515
12750
|
return "User-Agent";
|
|
12516
12751
|
}
|
|
12517
12752
|
__name(getHeaderName2, "getHeaderName");
|
|
12518
12753
|
async function setPlatformSpecificData2(map) {
|
|
12519
|
-
if (
|
|
12754
|
+
if (process5 && process5.versions) {
|
|
12520
12755
|
const osInfo = `${os2.type()} ${os2.release()}; ${os2.arch()}`;
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
map.set("Node", `${versions.node} (${osInfo})`);
|
|
12756
|
+
if (process5.versions.bun) {
|
|
12757
|
+
map.set("Bun", `${process5.versions.bun} (${osInfo})`);
|
|
12758
|
+
} else if (process5.versions.deno) {
|
|
12759
|
+
map.set("Deno", `${process5.versions.deno} (${osInfo})`);
|
|
12760
|
+
} else if (process5.versions.node) {
|
|
12761
|
+
map.set("Node", `${process5.versions.node} (${osInfo})`);
|
|
12528
12762
|
}
|
|
12529
12763
|
}
|
|
12530
12764
|
}
|
|
12531
12765
|
__name(setPlatformSpecificData2, "setPlatformSpecificData");
|
|
12532
12766
|
|
|
12533
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12534
|
-
var SDK_VERSION2 = "1.
|
|
12767
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/constants.js
|
|
12768
|
+
var SDK_VERSION2 = "1.24.0";
|
|
12535
12769
|
|
|
12536
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12770
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/util/userAgent.js
|
|
12537
12771
|
function getUserAgentString2(telemetryInfo) {
|
|
12538
12772
|
const parts = [];
|
|
12539
12773
|
for (const [key, value] of telemetryInfo) {
|
|
@@ -12557,7 +12791,7 @@ async function getUserAgentValue2(prefix) {
|
|
|
12557
12791
|
}
|
|
12558
12792
|
__name(getUserAgentValue2, "getUserAgentValue");
|
|
12559
12793
|
|
|
12560
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12794
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/userAgentPolicy.js
|
|
12561
12795
|
var UserAgentHeaderName2 = getUserAgentHeaderName2();
|
|
12562
12796
|
var userAgentPolicyName2 = "userAgentPolicy";
|
|
12563
12797
|
function userAgentPolicy2(options = {}) {
|
|
@@ -12574,6 +12808,59 @@ function userAgentPolicy2(options = {}) {
|
|
|
12574
12808
|
}
|
|
12575
12809
|
__name(userAgentPolicy2, "userAgentPolicy");
|
|
12576
12810
|
|
|
12811
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/util/file.js
|
|
12812
|
+
var rawContent = /* @__PURE__ */ Symbol("rawContent");
|
|
12813
|
+
function hasRawContent(x) {
|
|
12814
|
+
return typeof x[rawContent] === "function";
|
|
12815
|
+
}
|
|
12816
|
+
__name(hasRawContent, "hasRawContent");
|
|
12817
|
+
function getRawContent(blob) {
|
|
12818
|
+
if (hasRawContent(blob)) {
|
|
12819
|
+
return blob[rawContent]();
|
|
12820
|
+
} else {
|
|
12821
|
+
return blob;
|
|
12822
|
+
}
|
|
12823
|
+
}
|
|
12824
|
+
__name(getRawContent, "getRawContent");
|
|
12825
|
+
|
|
12826
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/multipartPolicy.js
|
|
12827
|
+
var multipartPolicyName2 = multipartPolicyName;
|
|
12828
|
+
function multipartPolicy2() {
|
|
12829
|
+
const tspPolicy = multipartPolicy();
|
|
12830
|
+
return {
|
|
12831
|
+
name: multipartPolicyName2,
|
|
12832
|
+
sendRequest: /* @__PURE__ */ __name(async (request, next) => {
|
|
12833
|
+
if (request.multipartBody) {
|
|
12834
|
+
for (const part of request.multipartBody.parts) {
|
|
12835
|
+
if (hasRawContent(part.body)) {
|
|
12836
|
+
part.body = getRawContent(part.body);
|
|
12837
|
+
}
|
|
12838
|
+
}
|
|
12839
|
+
}
|
|
12840
|
+
return tspPolicy.sendRequest(request, next);
|
|
12841
|
+
}, "sendRequest")
|
|
12842
|
+
};
|
|
12843
|
+
}
|
|
12844
|
+
__name(multipartPolicy2, "multipartPolicy");
|
|
12845
|
+
|
|
12846
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/decompressResponsePolicy.js
|
|
12847
|
+
function decompressResponsePolicy2() {
|
|
12848
|
+
return decompressResponsePolicy();
|
|
12849
|
+
}
|
|
12850
|
+
__name(decompressResponsePolicy2, "decompressResponsePolicy");
|
|
12851
|
+
|
|
12852
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/defaultRetryPolicy.js
|
|
12853
|
+
function defaultRetryPolicy2(options = {}) {
|
|
12854
|
+
return defaultRetryPolicy(options);
|
|
12855
|
+
}
|
|
12856
|
+
__name(defaultRetryPolicy2, "defaultRetryPolicy");
|
|
12857
|
+
|
|
12858
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/formDataPolicy.js
|
|
12859
|
+
function formDataPolicy2() {
|
|
12860
|
+
return formDataPolicy();
|
|
12861
|
+
}
|
|
12862
|
+
__name(formDataPolicy2, "formDataPolicy");
|
|
12863
|
+
|
|
12577
12864
|
// ../../node_modules/.store/@azure-abort-controller-npm-2.1.2-a36d73ebb9/package/dist/esm/AbortError.js
|
|
12578
12865
|
var AbortError2 = class extends Error {
|
|
12579
12866
|
static {
|
|
@@ -12694,66 +12981,13 @@ function stringToUint8Array2(value, format) {
|
|
|
12694
12981
|
}
|
|
12695
12982
|
__name(stringToUint8Array2, "stringToUint8Array");
|
|
12696
12983
|
|
|
12697
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12698
|
-
var rawContent = /* @__PURE__ */ Symbol("rawContent");
|
|
12699
|
-
function hasRawContent(x) {
|
|
12700
|
-
return typeof x[rawContent] === "function";
|
|
12701
|
-
}
|
|
12702
|
-
__name(hasRawContent, "hasRawContent");
|
|
12703
|
-
function getRawContent(blob) {
|
|
12704
|
-
if (hasRawContent(blob)) {
|
|
12705
|
-
return blob[rawContent]();
|
|
12706
|
-
} else {
|
|
12707
|
-
return blob;
|
|
12708
|
-
}
|
|
12709
|
-
}
|
|
12710
|
-
__name(getRawContent, "getRawContent");
|
|
12711
|
-
|
|
12712
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/multipartPolicy.js
|
|
12713
|
-
var multipartPolicyName2 = multipartPolicyName;
|
|
12714
|
-
function multipartPolicy2() {
|
|
12715
|
-
const tspPolicy = multipartPolicy();
|
|
12716
|
-
return {
|
|
12717
|
-
name: multipartPolicyName2,
|
|
12718
|
-
sendRequest: /* @__PURE__ */ __name(async (request, next) => {
|
|
12719
|
-
if (request.multipartBody) {
|
|
12720
|
-
for (const part of request.multipartBody.parts) {
|
|
12721
|
-
if (hasRawContent(part.body)) {
|
|
12722
|
-
part.body = getRawContent(part.body);
|
|
12723
|
-
}
|
|
12724
|
-
}
|
|
12725
|
-
}
|
|
12726
|
-
return tspPolicy.sendRequest(request, next);
|
|
12727
|
-
}, "sendRequest")
|
|
12728
|
-
};
|
|
12729
|
-
}
|
|
12730
|
-
__name(multipartPolicy2, "multipartPolicy");
|
|
12731
|
-
|
|
12732
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/decompressResponsePolicy.js
|
|
12733
|
-
function decompressResponsePolicy2() {
|
|
12734
|
-
return decompressResponsePolicy();
|
|
12735
|
-
}
|
|
12736
|
-
__name(decompressResponsePolicy2, "decompressResponsePolicy");
|
|
12737
|
-
|
|
12738
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/defaultRetryPolicy.js
|
|
12739
|
-
function defaultRetryPolicy2(options = {}) {
|
|
12740
|
-
return defaultRetryPolicy(options);
|
|
12741
|
-
}
|
|
12742
|
-
__name(defaultRetryPolicy2, "defaultRetryPolicy");
|
|
12743
|
-
|
|
12744
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/formDataPolicy.js
|
|
12745
|
-
function formDataPolicy2() {
|
|
12746
|
-
return formDataPolicy();
|
|
12747
|
-
}
|
|
12748
|
-
__name(formDataPolicy2, "formDataPolicy");
|
|
12749
|
-
|
|
12750
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/proxyPolicy.js
|
|
12984
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/proxyPolicy.js
|
|
12751
12985
|
function proxyPolicy2(proxySettings, options) {
|
|
12752
12986
|
return proxyPolicy(proxySettings, options);
|
|
12753
12987
|
}
|
|
12754
12988
|
__name(proxyPolicy2, "proxyPolicy");
|
|
12755
12989
|
|
|
12756
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12990
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/setClientRequestIdPolicy.js
|
|
12757
12991
|
var setClientRequestIdPolicyName = "setClientRequestIdPolicy";
|
|
12758
12992
|
function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") {
|
|
12759
12993
|
return {
|
|
@@ -12768,13 +13002,13 @@ function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id"
|
|
|
12768
13002
|
}
|
|
12769
13003
|
__name(setClientRequestIdPolicy, "setClientRequestIdPolicy");
|
|
12770
13004
|
|
|
12771
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13005
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/agentPolicy.js
|
|
12772
13006
|
function agentPolicy2(agent) {
|
|
12773
13007
|
return agentPolicy(agent);
|
|
12774
13008
|
}
|
|
12775
13009
|
__name(agentPolicy2, "agentPolicy");
|
|
12776
13010
|
|
|
12777
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13011
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/tlsPolicy.js
|
|
12778
13012
|
function tlsPolicy2(tlsSettings) {
|
|
12779
13013
|
return tlsPolicy(tlsSettings);
|
|
12780
13014
|
}
|
|
@@ -12929,13 +13163,13 @@ function createTracingClient(options) {
|
|
|
12929
13163
|
}
|
|
12930
13164
|
__name(createTracingClient, "createTracingClient");
|
|
12931
13165
|
|
|
12932
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13166
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/restError.js
|
|
12933
13167
|
function isRestError2(e) {
|
|
12934
13168
|
return isRestError(e);
|
|
12935
13169
|
}
|
|
12936
13170
|
__name(isRestError2, "isRestError");
|
|
12937
13171
|
|
|
12938
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13172
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/tracingPolicy.js
|
|
12939
13173
|
var tracingPolicyName = "tracingPolicy";
|
|
12940
13174
|
function tracingPolicy(options = {}) {
|
|
12941
13175
|
const userAgentPromise = getUserAgentValue2(options.userAgentPrefix);
|
|
@@ -13043,13 +13277,15 @@ function tryProcessResponse(span, response) {
|
|
|
13043
13277
|
}
|
|
13044
13278
|
__name(tryProcessResponse, "tryProcessResponse");
|
|
13045
13279
|
|
|
13046
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13280
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/util/wrapAbortSignal.js
|
|
13047
13281
|
function wrapAbortSignalLike(abortSignalLike) {
|
|
13048
13282
|
if (abortSignalLike instanceof AbortSignal) {
|
|
13049
13283
|
return { abortSignal: abortSignalLike };
|
|
13050
13284
|
}
|
|
13051
13285
|
if (abortSignalLike.aborted) {
|
|
13052
|
-
return {
|
|
13286
|
+
return {
|
|
13287
|
+
abortSignal: AbortSignal.abort("reason" in abortSignalLike ? abortSignalLike.reason : void 0)
|
|
13288
|
+
};
|
|
13053
13289
|
}
|
|
13054
13290
|
const controller = new AbortController();
|
|
13055
13291
|
let needsCleanup = true;
|
|
@@ -13061,7 +13297,7 @@ function wrapAbortSignalLike(abortSignalLike) {
|
|
|
13061
13297
|
}
|
|
13062
13298
|
__name(cleanup, "cleanup");
|
|
13063
13299
|
function listener() {
|
|
13064
|
-
controller.abort(abortSignalLike.reason);
|
|
13300
|
+
controller.abort("reason" in abortSignalLike ? abortSignalLike.reason : void 0);
|
|
13065
13301
|
cleanup();
|
|
13066
13302
|
}
|
|
13067
13303
|
__name(listener, "listener");
|
|
@@ -13070,7 +13306,7 @@ function wrapAbortSignalLike(abortSignalLike) {
|
|
|
13070
13306
|
}
|
|
13071
13307
|
__name(wrapAbortSignalLike, "wrapAbortSignalLike");
|
|
13072
13308
|
|
|
13073
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13309
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
|
|
13074
13310
|
var wrapAbortSignalLikePolicyName = "wrapAbortSignalLikePolicy";
|
|
13075
13311
|
function wrapAbortSignalLikePolicy() {
|
|
13076
13312
|
return {
|
|
@@ -13091,7 +13327,7 @@ function wrapAbortSignalLikePolicy() {
|
|
|
13091
13327
|
}
|
|
13092
13328
|
__name(wrapAbortSignalLikePolicy, "wrapAbortSignalLikePolicy");
|
|
13093
13329
|
|
|
13094
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13330
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/createPipelineFromOptions.js
|
|
13095
13331
|
function createPipelineFromOptions2(options) {
|
|
13096
13332
|
const pipeline = createEmptyPipeline2();
|
|
13097
13333
|
if (isNodeLike2) {
|
|
@@ -13121,7 +13357,7 @@ function createPipelineFromOptions2(options) {
|
|
|
13121
13357
|
}
|
|
13122
13358
|
__name(createPipelineFromOptions2, "createPipelineFromOptions");
|
|
13123
13359
|
|
|
13124
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13360
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/defaultHttpClient.js
|
|
13125
13361
|
function createDefaultHttpClient2() {
|
|
13126
13362
|
const client = createDefaultHttpClient();
|
|
13127
13363
|
return {
|
|
@@ -13138,16 +13374,16 @@ function createDefaultHttpClient2() {
|
|
|
13138
13374
|
}
|
|
13139
13375
|
__name(createDefaultHttpClient2, "createDefaultHttpClient");
|
|
13140
13376
|
|
|
13141
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13377
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/pipelineRequest.js
|
|
13142
13378
|
function createPipelineRequest2(options) {
|
|
13143
13379
|
return createPipelineRequest(options);
|
|
13144
13380
|
}
|
|
13145
13381
|
__name(createPipelineRequest2, "createPipelineRequest");
|
|
13146
13382
|
|
|
13147
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13383
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/retryPolicy.js
|
|
13148
13384
|
var retryPolicyLogger2 = createClientLogger2("core-rest-pipeline retryPolicy");
|
|
13149
13385
|
|
|
13150
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13386
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/util/tokenCycler.js
|
|
13151
13387
|
var DEFAULT_CYCLER_OPTIONS = {
|
|
13152
13388
|
forcedRefreshWindowInMs: 1e3,
|
|
13153
13389
|
// Force waiting for a refresh 1s before the token expires
|
|
@@ -13201,13 +13437,16 @@ function createTokenCycler(credential, tokenCyclerOptions) {
|
|
|
13201
13437
|
* window and not already refreshing)
|
|
13202
13438
|
*/
|
|
13203
13439
|
get shouldRefresh() {
|
|
13440
|
+
if (token === null) {
|
|
13441
|
+
return true;
|
|
13442
|
+
}
|
|
13204
13443
|
if (cycler.isRefreshing) {
|
|
13205
13444
|
return false;
|
|
13206
13445
|
}
|
|
13207
|
-
if (token
|
|
13446
|
+
if (token.refreshAfterTimestamp && token.refreshAfterTimestamp < Date.now()) {
|
|
13208
13447
|
return true;
|
|
13209
13448
|
}
|
|
13210
|
-
return
|
|
13449
|
+
return token.expiresOnTimestamp - options.refreshWindowInMs < Date.now();
|
|
13211
13450
|
},
|
|
13212
13451
|
/**
|
|
13213
13452
|
* Produces true if the cycler MUST refresh (null or nearly-expired
|
|
@@ -13258,7 +13497,7 @@ function createTokenCycler(credential, tokenCyclerOptions) {
|
|
|
13258
13497
|
}
|
|
13259
13498
|
__name(createTokenCycler, "createTokenCycler");
|
|
13260
13499
|
|
|
13261
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13500
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.24.0-325a628b8e/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
|
|
13262
13501
|
var bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy";
|
|
13263
13502
|
async function trySendRequest(request, next) {
|
|
13264
13503
|
try {
|
|
@@ -13374,7 +13613,7 @@ function bearerTokenAuthenticationPolicy(options) {
|
|
|
13374
13613
|
[response, error] = await trySendRequest(request, next);
|
|
13375
13614
|
}
|
|
13376
13615
|
if (isChallengeResponse(response)) {
|
|
13377
|
-
claims = getCaeChallengeClaims(response.headers.get("WWW-Authenticate"));
|
|
13616
|
+
claims = getCaeChallengeClaims(response.headers.get("WWW-Authenticate") ?? "");
|
|
13378
13617
|
if (claims) {
|
|
13379
13618
|
let parsedClaim;
|
|
13380
13619
|
try {
|
|
@@ -13433,10 +13672,10 @@ function getCaeChallengeClaims(challenges) {
|
|
|
13433
13672
|
}
|
|
13434
13673
|
__name(getCaeChallengeClaims, "getCaeChallengeClaims");
|
|
13435
13674
|
|
|
13436
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
13675
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/logger.js
|
|
13437
13676
|
var logger3 = createClientLogger2("monitor-opentelemetry-exporter");
|
|
13438
13677
|
|
|
13439
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.
|
|
13678
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.1-16cd2342c7/package/dist/esm/restError.js
|
|
13440
13679
|
function createRestError2(messageOrResponse, response) {
|
|
13441
13680
|
if (typeof messageOrResponse === "string") {
|
|
13442
13681
|
return createRestError(messageOrResponse, response);
|
|
@@ -13459,7 +13698,7 @@ function isTokenCredential(credential) {
|
|
|
13459
13698
|
}
|
|
13460
13699
|
__name(isTokenCredential, "isTokenCredential");
|
|
13461
13700
|
|
|
13462
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.
|
|
13701
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.1-16cd2342c7/package/dist/esm/apiVersionPolicy.js
|
|
13463
13702
|
var apiVersionPolicyName2 = "ApiVersionPolicy";
|
|
13464
13703
|
function apiVersionPolicy2(options) {
|
|
13465
13704
|
return {
|
|
@@ -13467,7 +13706,7 @@ function apiVersionPolicy2(options) {
|
|
|
13467
13706
|
sendRequest: /* @__PURE__ */ __name((req, next) => {
|
|
13468
13707
|
const url2 = new URL(req.url);
|
|
13469
13708
|
if (!url2.searchParams.get("api-version") && options.apiVersion) {
|
|
13470
|
-
req.url = `${req.url}${
|
|
13709
|
+
req.url = `${req.url}${url2.searchParams.size > 0 ? "&" : "?"}api-version=${options.apiVersion}`;
|
|
13471
13710
|
}
|
|
13472
13711
|
return next(req);
|
|
13473
13712
|
}, "sendRequest")
|
|
@@ -13475,12 +13714,12 @@ function apiVersionPolicy2(options) {
|
|
|
13475
13714
|
}
|
|
13476
13715
|
__name(apiVersionPolicy2, "apiVersionPolicy");
|
|
13477
13716
|
|
|
13478
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.
|
|
13717
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.1-16cd2342c7/package/dist/esm/keyCredentialAuthenticationPolicy.js
|
|
13479
13718
|
var keyCredentialAuthenticationPolicyName = "keyCredentialAuthenticationPolicy";
|
|
13480
13719
|
function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
13481
13720
|
return {
|
|
13482
13721
|
name: keyCredentialAuthenticationPolicyName,
|
|
13483
|
-
|
|
13722
|
+
sendRequest(request, next) {
|
|
13484
13723
|
request.headers.set(apiKeyHeaderName, credential.key);
|
|
13485
13724
|
return next(request);
|
|
13486
13725
|
}
|
|
@@ -13488,7 +13727,7 @@ function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
|
13488
13727
|
}
|
|
13489
13728
|
__name(keyCredentialAuthenticationPolicy, "keyCredentialAuthenticationPolicy");
|
|
13490
13729
|
|
|
13491
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.
|
|
13730
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.1-16cd2342c7/package/dist/esm/clientHelpers.js
|
|
13492
13731
|
function addCredentialPipelinePolicy(pipeline, endpoint, options = {}) {
|
|
13493
13732
|
const { credential, clientOptions } = options;
|
|
13494
13733
|
if (!credential) {
|
|
@@ -13517,17 +13756,21 @@ function createDefaultPipeline2(endpoint, credential, options = {}) {
|
|
|
13517
13756
|
}
|
|
13518
13757
|
__name(createDefaultPipeline2, "createDefaultPipeline");
|
|
13519
13758
|
function isKeyCredential2(credential) {
|
|
13520
|
-
return credential.key
|
|
13759
|
+
return typeof credential === "object" && credential !== null && "key" in credential && typeof credential.key === "string";
|
|
13521
13760
|
}
|
|
13522
13761
|
__name(isKeyCredential2, "isKeyCredential");
|
|
13523
13762
|
|
|
13524
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.
|
|
13763
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.1-16cd2342c7/package/dist/esm/operationOptionHelpers.js
|
|
13525
13764
|
function operationOptionsToRequestParameters2(options) {
|
|
13526
|
-
|
|
13765
|
+
const tspRequestParameters = operationOptionsToRequestParameters(options);
|
|
13766
|
+
return {
|
|
13767
|
+
...tspRequestParameters,
|
|
13768
|
+
tracingOptions: options.tracingOptions
|
|
13769
|
+
};
|
|
13527
13770
|
}
|
|
13528
13771
|
__name(operationOptionsToRequestParameters2, "operationOptionsToRequestParameters");
|
|
13529
13772
|
|
|
13530
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.
|
|
13773
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.6.1-16cd2342c7/package/dist/esm/getClient.js
|
|
13531
13774
|
function wrapRequestParameters(parameters) {
|
|
13532
13775
|
if (parameters.onResponse) {
|
|
13533
13776
|
return {
|
|
@@ -13594,7 +13837,7 @@ function isCredential(param) {
|
|
|
13594
13837
|
}
|
|
13595
13838
|
__name(isCredential, "isCredential");
|
|
13596
13839
|
|
|
13597
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
13840
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/api/applicationInsightsContext.js
|
|
13598
13841
|
function createApplicationInsights(credential, options = {}) {
|
|
13599
13842
|
const host = options.host ?? "https://dc.services.visualstudio.com";
|
|
13600
13843
|
const apiVersion = options.apiVersion ?? "v2.1";
|
|
@@ -13613,7 +13856,7 @@ function createApplicationInsights(credential, options = {}) {
|
|
|
13613
13856
|
}
|
|
13614
13857
|
__name(createApplicationInsights, "createApplicationInsights");
|
|
13615
13858
|
|
|
13616
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
13859
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/static-helpers/serialization/serialize-record.js
|
|
13617
13860
|
function serializeRecord(item, excludes, serializer) {
|
|
13618
13861
|
excludes = excludes ?? [];
|
|
13619
13862
|
const res = {};
|
|
@@ -13631,7 +13874,7 @@ function serializeRecord(item, excludes, serializer) {
|
|
|
13631
13874
|
}
|
|
13632
13875
|
__name(serializeRecord, "serializeRecord");
|
|
13633
13876
|
|
|
13634
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
13877
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/models/models.js
|
|
13635
13878
|
function telemetryItemSerializer(item) {
|
|
13636
13879
|
return {
|
|
13637
13880
|
ver: item["version"],
|
|
@@ -13941,7 +14184,7 @@ function telemetryItemArraySerializer(result) {
|
|
|
13941
14184
|
}
|
|
13942
14185
|
__name(telemetryItemArraySerializer, "telemetryItemArraySerializer");
|
|
13943
14186
|
|
|
13944
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14187
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/api/operations.js
|
|
13945
14188
|
function _trackSend(context4, body, options = { requestOptions: {} }) {
|
|
13946
14189
|
return context4.path("/track").post({
|
|
13947
14190
|
...operationOptionsToRequestParameters2(options),
|
|
@@ -13978,7 +14221,7 @@ async function track(context4, body, options = { requestOptions: {} }) {
|
|
|
13978
14221
|
}
|
|
13979
14222
|
__name(track, "track");
|
|
13980
14223
|
|
|
13981
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14224
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/applicationInsightsClient.js
|
|
13982
14225
|
var ApplicationInsightsClient = class {
|
|
13983
14226
|
static {
|
|
13984
14227
|
__name(this, "ApplicationInsightsClient");
|
|
@@ -14005,10 +14248,10 @@ var ApplicationInsightsClient = class {
|
|
|
14005
14248
|
}
|
|
14006
14249
|
};
|
|
14007
14250
|
|
|
14008
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14251
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/baseSender.js
|
|
14009
14252
|
init_esm();
|
|
14010
14253
|
|
|
14011
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14254
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/types.js
|
|
14012
14255
|
var NetworkStatsbeat = class {
|
|
14013
14256
|
static {
|
|
14014
14257
|
__name(this, "NetworkStatsbeat");
|
|
@@ -14052,10 +14295,10 @@ var CustomerSDKStats = class {
|
|
|
14052
14295
|
__name(this, "CustomerSDKStats");
|
|
14053
14296
|
}
|
|
14054
14297
|
totalItemSuccessCount;
|
|
14055
|
-
//
|
|
14298
|
+
// telemetryType -> dropCode -> dropReason -> success -> count
|
|
14056
14299
|
// success can be true/false for request/dependency telemetry, or null for other types
|
|
14057
14300
|
totalItemDropCount;
|
|
14058
|
-
// Nested Map structure:
|
|
14301
|
+
// Nested Map structure: telemetryType -> retryCode -> retryReason -> count
|
|
14059
14302
|
totalItemRetryCount;
|
|
14060
14303
|
constructor() {
|
|
14061
14304
|
this.totalItemSuccessCount = /* @__PURE__ */ new Map();
|
|
@@ -14174,24 +14417,24 @@ function isStatsbeatShutdownStatus(statusCode) {
|
|
|
14174
14417
|
}
|
|
14175
14418
|
__name(isStatsbeatShutdownStatus, "isStatsbeatShutdownStatus");
|
|
14176
14419
|
|
|
14177
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14420
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/persist/fileSystemPersist.js
|
|
14178
14421
|
init_esm();
|
|
14179
14422
|
import { tmpdir, userInfo } from "node:os";
|
|
14180
14423
|
import { basename, join as join2, dirname } from "node:path";
|
|
14181
14424
|
import { createHash } from "node:crypto";
|
|
14182
14425
|
|
|
14183
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14426
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/persist/fileAccessControl.js
|
|
14184
14427
|
init_esm();
|
|
14185
14428
|
import { existsSync } from "node:fs";
|
|
14186
14429
|
import { type as osType } from "node:os";
|
|
14187
14430
|
import { spawn, spawnSync } from "node:child_process";
|
|
14188
|
-
import
|
|
14431
|
+
import process6 from "node:process";
|
|
14189
14432
|
var FileAccessControl = class _FileAccessControl {
|
|
14190
14433
|
static {
|
|
14191
14434
|
__name(this, "FileAccessControl");
|
|
14192
14435
|
}
|
|
14193
|
-
static ICACLS_PATH = `${
|
|
14194
|
-
static POWERSHELL_PATH = `${
|
|
14436
|
+
static ICACLS_PATH = `${process6.env.SYSTEMDRIVE}/windows/system32/icacls.exe`;
|
|
14437
|
+
static POWERSHELL_PATH = `${process6.env.SYSTEMDRIVE}/windows/system32/windowspowershell/v1.0/powershell.exe`;
|
|
14195
14438
|
static ACLED_DIRECTORIES = {};
|
|
14196
14439
|
static ACL_IDENTITY = null;
|
|
14197
14440
|
static OS_FILE_PROTECTION_CHECKED = false;
|
|
@@ -14331,7 +14574,7 @@ var FileAccessControl = class _FileAccessControl {
|
|
|
14331
14574
|
}
|
|
14332
14575
|
};
|
|
14333
14576
|
|
|
14334
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14577
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/persist/fileSystemHelpers.js
|
|
14335
14578
|
init_esm();
|
|
14336
14579
|
import { join } from "node:path";
|
|
14337
14580
|
import { lstat, mkdir, readdir, stat } from "node:fs/promises";
|
|
@@ -14378,7 +14621,7 @@ var confirmDirExists = /* @__PURE__ */ __name(async (directory) => {
|
|
|
14378
14621
|
}
|
|
14379
14622
|
}, "confirmDirExists");
|
|
14380
14623
|
|
|
14381
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14624
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/persist/fileSystemPersist.js
|
|
14382
14625
|
import { constants as fsConstants } from "node:fs";
|
|
14383
14626
|
import { open, readdir as readdir2, readFile, stat as stat2, unlink } from "node:fs/promises";
|
|
14384
14627
|
var FileSystemPersist = class _FileSystemPersist {
|
|
@@ -14386,7 +14629,7 @@ var FileSystemPersist = class _FileSystemPersist {
|
|
|
14386
14629
|
__name(this, "FileSystemPersist");
|
|
14387
14630
|
}
|
|
14388
14631
|
_options;
|
|
14389
|
-
|
|
14632
|
+
_customerSDKStatsMetricsProvider;
|
|
14390
14633
|
static TEMPDIR_PREFIX = "opentelemetry-nodejs-";
|
|
14391
14634
|
static FILENAME_SUFFIX = ".ai.json";
|
|
14392
14635
|
fileRetemptionPeriod = 2 * 24 * 60 * 60 * 1e3;
|
|
@@ -14399,9 +14642,9 @@ var FileSystemPersist = class _FileSystemPersist {
|
|
|
14399
14642
|
_tempDirectory = "";
|
|
14400
14643
|
_fileCleanupTimer = null;
|
|
14401
14644
|
_instrumentationKey;
|
|
14402
|
-
constructor(instrumentationKey, _options,
|
|
14645
|
+
constructor(instrumentationKey, _options, _customerSDKStatsMetricsProvider) {
|
|
14403
14646
|
this._options = _options;
|
|
14404
|
-
this.
|
|
14647
|
+
this._customerSDKStatsMetricsProvider = _customerSDKStatsMetricsProvider;
|
|
14405
14648
|
this._instrumentationKey = instrumentationKey;
|
|
14406
14649
|
if (this._options?.disableOfflineStorage) {
|
|
14407
14650
|
this._enabled = false;
|
|
@@ -14498,7 +14741,7 @@ var FileSystemPersist = class _FileSystemPersist {
|
|
|
14498
14741
|
await confirmDirExists(this._tempDirectory);
|
|
14499
14742
|
} catch (error) {
|
|
14500
14743
|
if (error?.code === "EACCES" || error?.code === "EPERM") {
|
|
14501
|
-
this.
|
|
14744
|
+
this._customerSDKStatsMetricsProvider?.()?.countDroppedItems(envelopes, DropCode.CLIENT_READONLY);
|
|
14502
14745
|
diag.warn(`Permission denied while checking/creating directory: ${this._tempDirectory}`, error?.message);
|
|
14503
14746
|
} else {
|
|
14504
14747
|
diag.warn(`Error while checking/creating directory: `, error && error.message);
|
|
@@ -14508,7 +14751,7 @@ var FileSystemPersist = class _FileSystemPersist {
|
|
|
14508
14751
|
try {
|
|
14509
14752
|
const size = await getShallowDirectorySize(this._tempDirectory);
|
|
14510
14753
|
if (size > this.maxBytesOnDisk) {
|
|
14511
|
-
this.
|
|
14754
|
+
this._customerSDKStatsMetricsProvider?.()?.countDroppedItems(envelopes, DropCode.CLIENT_PERSISTENCE_CAPACITY);
|
|
14512
14755
|
diag.warn(`Not saving data due to max size limit being met. Directory size in bytes is: ${size}`);
|
|
14513
14756
|
return false;
|
|
14514
14757
|
}
|
|
@@ -14527,7 +14770,7 @@ var FileSystemPersist = class _FileSystemPersist {
|
|
|
14527
14770
|
await handle.close();
|
|
14528
14771
|
}
|
|
14529
14772
|
} catch (writeError) {
|
|
14530
|
-
this.
|
|
14773
|
+
this._customerSDKStatsMetricsProvider?.()?.countDroppedItems(envelopes, DropCode.CLIENT_EXCEPTION, writeError?.message, ExceptionType.STORAGE_EXCEPTION);
|
|
14531
14774
|
diag.warn(`Error writing file to persistent file storage`, writeError);
|
|
14532
14775
|
return false;
|
|
14533
14776
|
}
|
|
@@ -14609,18 +14852,18 @@ function getStorageDirectory(instrumentationKey, storageDirectory) {
|
|
|
14609
14852
|
}
|
|
14610
14853
|
__name(getStorageDirectory, "getStorageDirectory");
|
|
14611
14854
|
|
|
14612
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14855
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/baseSender.js
|
|
14613
14856
|
var import_core7 = __toESM(require_src2(), 1);
|
|
14614
14857
|
|
|
14615
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14858
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/networkStatsbeatMetrics.js
|
|
14616
14859
|
init_esm();
|
|
14617
14860
|
var import_sdk_metrics2 = __toESM(require_src4(), 1);
|
|
14618
14861
|
|
|
14619
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14862
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/constants/applicationinsights.js
|
|
14620
14863
|
var MS_LINKS = "_MS.links";
|
|
14621
14864
|
var ENQUEUED_TIME = "enqueuedTime";
|
|
14622
14865
|
var TIME_SINCE_ENQUEUED = "timeSinceEnqueued";
|
|
14623
|
-
var packageVersion = "1.0.0-beta.
|
|
14866
|
+
var packageVersion = "1.0.0-beta.43";
|
|
14624
14867
|
var DEFAULT_BREEZE_DATA_VERSION = 2;
|
|
14625
14868
|
var DependencyTypes;
|
|
14626
14869
|
(function(DependencyTypes2) {
|
|
@@ -14634,7 +14877,7 @@ var DependencyTypes;
|
|
|
14634
14877
|
var AzureMonitorSampleRate = "microsoft.sample_rate";
|
|
14635
14878
|
var MicrosoftClientIp = "microsoft.client.ip";
|
|
14636
14879
|
|
|
14637
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14880
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/statsbeatMetrics.js
|
|
14638
14881
|
init_esm();
|
|
14639
14882
|
import os3 from "node:os";
|
|
14640
14883
|
var StatsbeatMetrics = class {
|
|
@@ -14719,18 +14962,18 @@ var StatsbeatMetrics = class {
|
|
|
14719
14962
|
}
|
|
14720
14963
|
};
|
|
14721
14964
|
|
|
14722
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14965
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/statsbeatExporter.js
|
|
14723
14966
|
init_esm();
|
|
14724
14967
|
var import_core5 = __toESM(require_src2(), 1);
|
|
14725
14968
|
|
|
14726
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14969
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/metricUtils.js
|
|
14727
14970
|
var import_sdk_metrics = __toESM(require_src4(), 1);
|
|
14728
14971
|
|
|
14729
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14972
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/common.js
|
|
14730
14973
|
import os4 from "node:os";
|
|
14731
14974
|
init_esm2();
|
|
14732
14975
|
|
|
14733
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
14976
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/types.js
|
|
14734
14977
|
init_esm2();
|
|
14735
14978
|
var OTelPerformanceCounterNames;
|
|
14736
14979
|
(function(OTelPerformanceCounterNames2) {
|
|
@@ -14828,12 +15071,18 @@ var httpSemanticValues = [
|
|
|
14828
15071
|
experimentalOpenTelemetryValues.SYNTHETIC_TYPE
|
|
14829
15072
|
];
|
|
14830
15073
|
var internalMicrosoftAttributes = ["_MS.ProcessedByMetricExtractors"];
|
|
15074
|
+
var allowedMicrosoftAttributes = [
|
|
15075
|
+
"microsoft.gen_ai.main_agent.name",
|
|
15076
|
+
"microsoft.gen_ai.main_agent.id",
|
|
15077
|
+
"microsoft.gen_ai.main_agent.version",
|
|
15078
|
+
"microsoft.gen_ai.main_agent.conversation_id"
|
|
15079
|
+
];
|
|
14831
15080
|
|
|
14832
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15081
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/context/context.js
|
|
14833
15082
|
var import_core = __toESM(require_src2(), 1);
|
|
14834
15083
|
init_esm2();
|
|
14835
15084
|
|
|
14836
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15085
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/Declarations/Constants.js
|
|
14837
15086
|
var ServiceApiVersion;
|
|
14838
15087
|
(function(ServiceApiVersion2) {
|
|
14839
15088
|
ServiceApiVersion2["V2"] = "2020-09-15_Preview";
|
|
@@ -14841,6 +15090,16 @@ var ServiceApiVersion;
|
|
|
14841
15090
|
var DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com";
|
|
14842
15091
|
var DEFAULT_BREEZE_API_VERSION = ServiceApiVersion.V2;
|
|
14843
15092
|
var DEFAULT_LIVEMETRICS_ENDPOINT = "https://rt.services.visualstudio.com";
|
|
15093
|
+
var ALLOWED_REDIRECT_DOMAIN_SUFFIXES = [
|
|
15094
|
+
".livediagnostics.monitor.azure.com",
|
|
15095
|
+
".monitor.azure.com",
|
|
15096
|
+
".services.visualstudio.com",
|
|
15097
|
+
".applicationinsights.azure.com",
|
|
15098
|
+
".monitor.azure.us",
|
|
15099
|
+
".applicationinsights.azure.us",
|
|
15100
|
+
".monitor.azure.cn",
|
|
15101
|
+
".applicationinsights.azure.cn"
|
|
15102
|
+
];
|
|
14844
15103
|
var ENV_CONNECTION_STRING = "APPLICATIONINSIGHTS_CONNECTION_STRING";
|
|
14845
15104
|
var ENV_DISABLE_STATSBEAT = "APPLICATIONINSIGHTS_STATSBEAT_DISABLED";
|
|
14846
15105
|
var LEGACY_ENV_DISABLE_STATSBEAT = "APPLICATION_INSIGHTS_NO_STATSBEAT";
|
|
@@ -14912,7 +15171,7 @@ var PerformanceToQuickPulseCounter = {
|
|
|
14912
15171
|
[QuickPulseCounter.EXCEPTION_RATE]: QuickPulseCounter.EXCEPTION_RATE
|
|
14913
15172
|
};
|
|
14914
15173
|
|
|
14915
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15174
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/context/context.js
|
|
14916
15175
|
var instance = null;
|
|
14917
15176
|
var Context = class _Context {
|
|
14918
15177
|
static {
|
|
@@ -14956,26 +15215,26 @@ function getInstance() {
|
|
|
14956
15215
|
}
|
|
14957
15216
|
__name(getInstance, "getInstance");
|
|
14958
15217
|
|
|
14959
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15218
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/common.js
|
|
14960
15219
|
init_esm();
|
|
14961
15220
|
var import_core4 = __toESM(require_src2(), 1);
|
|
14962
15221
|
|
|
14963
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15222
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/spanUtils.js
|
|
14964
15223
|
var import_core3 = __toESM(require_src2(), 1);
|
|
14965
15224
|
init_esm();
|
|
14966
15225
|
init_esm2();
|
|
14967
15226
|
|
|
14968
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15227
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/eventhub.js
|
|
14969
15228
|
init_esm();
|
|
14970
15229
|
var import_core2 = __toESM(require_src2(), 1);
|
|
14971
15230
|
init_esm2();
|
|
14972
15231
|
|
|
14973
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15232
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/constants/span/azAttributes.js
|
|
14974
15233
|
var AzNamespace = "az.namespace";
|
|
14975
15234
|
var MicrosoftEventHub = "Microsoft.EventHub";
|
|
14976
15235
|
var MessageBusDestination = "message_bus.destination";
|
|
14977
15236
|
|
|
14978
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15237
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/eventhub.js
|
|
14979
15238
|
var getTimeSinceEnqueued = /* @__PURE__ */ __name((span) => {
|
|
14980
15239
|
let countEnqueueDiffs = 0;
|
|
14981
15240
|
let sumEnqueueDiffs = 0;
|
|
@@ -15013,7 +15272,8 @@ var parseEventHubSpan = /* @__PURE__ */ __name((span, baseData) => {
|
|
|
15013
15272
|
}
|
|
15014
15273
|
}, "parseEventHubSpan");
|
|
15015
15274
|
|
|
15016
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15275
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/breezeUtils.js
|
|
15276
|
+
var MAX_RETRY_AFTER_MS = 24 * 60 * 60 * 1e3;
|
|
15017
15277
|
function parseRetryAfterHeader(retryAfter) {
|
|
15018
15278
|
if (!retryAfter) {
|
|
15019
15279
|
return void 0;
|
|
@@ -15021,12 +15281,12 @@ function parseRetryAfterHeader(retryAfter) {
|
|
|
15021
15281
|
const trimmed = retryAfter.trim();
|
|
15022
15282
|
if (/^\d+$/.test(trimmed)) {
|
|
15023
15283
|
const delaySec = Number(trimmed);
|
|
15024
|
-
return delaySec > 0 ? delaySec * 1e3 : void 0;
|
|
15284
|
+
return delaySec > 0 ? Math.min(delaySec * 1e3, MAX_RETRY_AFTER_MS) : void 0;
|
|
15025
15285
|
}
|
|
15026
15286
|
const date = Date.parse(retryAfter);
|
|
15027
15287
|
if (!isNaN(date)) {
|
|
15028
15288
|
const delayMs = date - Date.now();
|
|
15029
|
-
return delayMs > 0 ? delayMs : void 0;
|
|
15289
|
+
return delayMs > 0 ? Math.min(delayMs, MAX_RETRY_AFTER_MS) : void 0;
|
|
15030
15290
|
}
|
|
15031
15291
|
return void 0;
|
|
15032
15292
|
}
|
|
@@ -15064,7 +15324,7 @@ function msToTimeSpan(totalms) {
|
|
|
15064
15324
|
}
|
|
15065
15325
|
__name(msToTimeSpan, "msToTimeSpan");
|
|
15066
15326
|
|
|
15067
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15327
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/spanUtils.js
|
|
15068
15328
|
function createTagsFromSpan(span) {
|
|
15069
15329
|
const tags = createTagsFromResource(span.resource);
|
|
15070
15330
|
tags[KnownContextTagKeys.AiOperationId] = span.spanContext().traceId;
|
|
@@ -15125,7 +15385,7 @@ function createPropertiesFromSpanAttributes(attributes) {
|
|
|
15125
15385
|
for (const key of Object.keys(attributes)) {
|
|
15126
15386
|
if (
|
|
15127
15387
|
// We need to not ignore the _MS.ProcessedByMetricExtractors key as it's used to identify standard metrics
|
|
15128
|
-
!(key.startsWith("_MS.") && !internalMicrosoftAttributes.includes(key) || key.startsWith("microsoft.") || legacySemanticValues.includes(key) || httpSemanticValues.includes(key) || key === KnownContextTagKeys.AiOperationName)
|
|
15388
|
+
!(key.startsWith("_MS.") && !internalMicrosoftAttributes.includes(key) || key.startsWith("microsoft.") && !allowedMicrosoftAttributes.includes(key) || legacySemanticValues.includes(key) || httpSemanticValues.includes(key) || key === KnownContextTagKeys.AiOperationName)
|
|
15129
15389
|
) {
|
|
15130
15390
|
properties[key] = serializeAttribute(attributes[key]);
|
|
15131
15391
|
}
|
|
@@ -15529,7 +15789,7 @@ function getNetPeerPort(attributes) {
|
|
|
15529
15789
|
}
|
|
15530
15790
|
__name(getNetPeerPort, "getNetPeerPort");
|
|
15531
15791
|
|
|
15532
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
15792
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/common.js
|
|
15533
15793
|
function hrTimeToDate(hrTime) {
|
|
15534
15794
|
return new Date((0, import_core4.hrTimeToNanoseconds)(hrTime) / 1e6);
|
|
15535
15795
|
}
|
|
@@ -15765,7 +16025,7 @@ function truncateCustomDimensions(properties) {
|
|
|
15765
16025
|
}
|
|
15766
16026
|
__name(truncateCustomDimensions, "truncateCustomDimensions");
|
|
15767
16027
|
|
|
15768
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16028
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/metricUtils.js
|
|
15769
16029
|
var breezePerformanceCountersMap = /* @__PURE__ */ new Map([
|
|
15770
16030
|
[OTelPerformanceCounterNames.PRIVATE_BYTES, BreezePerformanceCounterNames.PRIVATE_BYTES],
|
|
15771
16031
|
[OTelPerformanceCounterNames.AVAILABLE_BYTES, BreezePerformanceCounterNames.AVAILABLE_BYTES],
|
|
@@ -15886,10 +16146,10 @@ function getAttachType() {
|
|
|
15886
16146
|
}
|
|
15887
16147
|
__name(getAttachType, "getAttachType");
|
|
15888
16148
|
|
|
15889
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16149
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/base.js
|
|
15890
16150
|
init_esm();
|
|
15891
16151
|
|
|
15892
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16152
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/connectionStringParser.js
|
|
15893
16153
|
init_esm();
|
|
15894
16154
|
var ConnectionStringParser = class _ConnectionStringParser {
|
|
15895
16155
|
static {
|
|
@@ -15952,7 +16212,7 @@ var ConnectionStringParser = class _ConnectionStringParser {
|
|
|
15952
16212
|
}
|
|
15953
16213
|
};
|
|
15954
16214
|
|
|
15955
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16215
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/base.js
|
|
15956
16216
|
var AzureMonitorBaseExporter = class {
|
|
15957
16217
|
static {
|
|
15958
16218
|
__name(this, "AzureMonitorBaseExporter");
|
|
@@ -16012,7 +16272,7 @@ var AzureMonitorBaseExporter = class {
|
|
|
16012
16272
|
}
|
|
16013
16273
|
};
|
|
16014
16274
|
|
|
16015
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16275
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/statsbeatExporter.js
|
|
16016
16276
|
var AzureMonitorStatsbeatExporter = class extends AzureMonitorBaseExporter {
|
|
16017
16277
|
static {
|
|
16018
16278
|
__name(this, "AzureMonitorStatsbeatExporter");
|
|
@@ -16042,7 +16302,7 @@ var AzureMonitorStatsbeatExporter = class extends AzureMonitorBaseExporter {
|
|
|
16042
16302
|
*/
|
|
16043
16303
|
async _getSender() {
|
|
16044
16304
|
if (!this._sender) {
|
|
16045
|
-
const { HttpSender: HttpSender2 } = await import("./httpSender-
|
|
16305
|
+
const { HttpSender: HttpSender2 } = await import("./httpSender-KZ6RCGP7.js");
|
|
16046
16306
|
this._sender = new HttpSender2(this._senderOptions);
|
|
16047
16307
|
}
|
|
16048
16308
|
return this._sender;
|
|
@@ -16095,7 +16355,7 @@ var AzureMonitorStatsbeatExporter = class extends AzureMonitorBaseExporter {
|
|
|
16095
16355
|
}
|
|
16096
16356
|
};
|
|
16097
16357
|
|
|
16098
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16358
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/networkStatsbeatMetrics.js
|
|
16099
16359
|
var NetworkStatsbeatMetrics = class _NetworkStatsbeatMetrics extends StatsbeatMetrics {
|
|
16100
16360
|
static {
|
|
16101
16361
|
__name(this, "NetworkStatsbeatMetrics");
|
|
@@ -16416,7 +16676,7 @@ var NetworkStatsbeatMetrics = class _NetworkStatsbeatMetrics extends StatsbeatMe
|
|
|
16416
16676
|
}
|
|
16417
16677
|
};
|
|
16418
16678
|
|
|
16419
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16679
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/export/statsbeat/longIntervalStatsbeatMetrics.js
|
|
16420
16680
|
init_esm();
|
|
16421
16681
|
var import_core6 = __toESM(require_src2(), 1);
|
|
16422
16682
|
var import_sdk_metrics3 = __toESM(require_src4(), 1);
|
|
@@ -16562,8 +16822,11 @@ var LongIntervalStatsbeatMetrics = class _LongIntervalStatsbeatMetrics extends S
|
|
|
16562
16822
|
}
|
|
16563
16823
|
};
|
|
16564
16824
|
|
|
16565
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
16825
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/baseSender.js
|
|
16566
16826
|
var DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS = 6e4;
|
|
16827
|
+
var STARTUP_REPLAY_MAX_DELAY_MS = 6e4;
|
|
16828
|
+
var REPLAY_BATCH_BASE_DELAY_MS = 200;
|
|
16829
|
+
var REPLAY_BATCH_JITTER_MS = 200;
|
|
16567
16830
|
var BaseSender = class {
|
|
16568
16831
|
static {
|
|
16569
16832
|
__name(this, "BaseSender");
|
|
@@ -16572,6 +16835,7 @@ var BaseSender = class {
|
|
|
16572
16835
|
numConsecutiveRedirects;
|
|
16573
16836
|
retryTimer;
|
|
16574
16837
|
retryTimerDeadlineMs = 0;
|
|
16838
|
+
startupReplayTimer = null;
|
|
16575
16839
|
networkStatsbeatMetrics;
|
|
16576
16840
|
customerSDKStatsMetrics;
|
|
16577
16841
|
longIntervalStatsbeatMetrics;
|
|
@@ -16605,7 +16869,7 @@ var BaseSender = class {
|
|
|
16605
16869
|
}
|
|
16606
16870
|
}
|
|
16607
16871
|
if (!this.customerSDKStatsMetrics) {
|
|
16608
|
-
import("./customerSDKStats-
|
|
16872
|
+
import("./customerSDKStats-7HOB5ILS.js").then((module) => module.CustomerSDKStatsMetrics.getInstance({
|
|
16609
16873
|
instrumentationKey: options.instrumentationKey,
|
|
16610
16874
|
endpointUrl: options.endpointUrl,
|
|
16611
16875
|
disableOfflineStorage: this.disableOfflineStorage,
|
|
@@ -16619,11 +16883,11 @@ var BaseSender = class {
|
|
|
16619
16883
|
}
|
|
16620
16884
|
}
|
|
16621
16885
|
}
|
|
16622
|
-
this.persister = new FileSystemPersist(options.instrumentationKey, options.exporterOptions, this.customerSDKStatsMetrics);
|
|
16886
|
+
this.persister = new FileSystemPersist(options.instrumentationKey, options.exporterOptions, () => this.customerSDKStatsMetrics);
|
|
16623
16887
|
this.retryTimer = null;
|
|
16624
16888
|
this.isStatsbeatSender = options.isStatsbeatSender || false;
|
|
16625
16889
|
if (!this.disableOfflineStorage) {
|
|
16626
|
-
this.
|
|
16890
|
+
this.scheduleStartupReplay();
|
|
16627
16891
|
}
|
|
16628
16892
|
}
|
|
16629
16893
|
/**
|
|
@@ -16720,8 +16984,19 @@ var BaseSender = class {
|
|
|
16720
16984
|
if (this.numConsecutiveRedirects < 10) {
|
|
16721
16985
|
const location = this.getLocationFromHeaders(restError.response?.headers);
|
|
16722
16986
|
if (location) {
|
|
16723
|
-
this.handlePermanentRedirect(location);
|
|
16724
|
-
|
|
16987
|
+
const accepted = this.handlePermanentRedirect(location);
|
|
16988
|
+
if (accepted) {
|
|
16989
|
+
return this.exportEnvelopes(envelopes);
|
|
16990
|
+
}
|
|
16991
|
+
const refusalError = new Error("Refused cross-origin redirect");
|
|
16992
|
+
if (!this.isStatsbeatSender) {
|
|
16993
|
+
this.networkStatsbeatMetrics?.countException(refusalError);
|
|
16994
|
+
this.customerSDKStatsMetrics?.countDroppedItems(envelopes, DropCode.CLIENT_EXCEPTION, refusalError.message, ExceptionType.CLIENT_EXCEPTION);
|
|
16995
|
+
}
|
|
16996
|
+
return this.buildExportResult({
|
|
16997
|
+
code: import_core7.ExportResultCode.FAILED,
|
|
16998
|
+
error: refusalError
|
|
16999
|
+
});
|
|
16725
17000
|
}
|
|
16726
17001
|
} else {
|
|
16727
17002
|
const redirectError = new Error("Circular redirect");
|
|
@@ -16822,7 +17097,15 @@ var BaseSender = class {
|
|
|
16822
17097
|
try {
|
|
16823
17098
|
await this.persister.cleanExpiredFiles();
|
|
16824
17099
|
let envelopes = await this.persister.shift();
|
|
17100
|
+
let isFirstBatch = true;
|
|
16825
17101
|
while (envelopes) {
|
|
17102
|
+
if (!isFirstBatch) {
|
|
17103
|
+
const batchDelay = this.getReplayBatchDelayMs();
|
|
17104
|
+
if (batchDelay > 0) {
|
|
17105
|
+
await new Promise((resolve) => setTimeout(resolve, batchDelay));
|
|
17106
|
+
}
|
|
17107
|
+
}
|
|
17108
|
+
isFirstBatch = false;
|
|
16826
17109
|
const result = await this.exportEnvelopes(envelopes);
|
|
16827
17110
|
if (result.code === import_core7.ExportResultCode.FAILED) {
|
|
16828
17111
|
diag.warn(`Failed to send persisted file during startup, will retry later`);
|
|
@@ -16834,6 +17117,27 @@ var BaseSender = class {
|
|
|
16834
17117
|
diag.warn(`Failed to read persisted files during startup`, err);
|
|
16835
17118
|
}
|
|
16836
17119
|
}
|
|
17120
|
+
/**
|
|
17121
|
+
* Schedule startup replay of persisted files behind a randomized delay. The random
|
|
17122
|
+
* offset breaks fleet-wide synchronization so co-located replicas don't all replay
|
|
17123
|
+
* their backlog at the same instant after a shared outage or coordinated restart.
|
|
17124
|
+
*/
|
|
17125
|
+
scheduleStartupReplay() {
|
|
17126
|
+
const delay3 = this.getStartupReplayDelayMs();
|
|
17127
|
+
this.startupReplayTimer = setTimeout(() => {
|
|
17128
|
+
this.startupReplayTimer = null;
|
|
17129
|
+
this.sendAllPersistedFiles();
|
|
17130
|
+
}, delay3);
|
|
17131
|
+
this.startupReplayTimer.unref();
|
|
17132
|
+
}
|
|
17133
|
+
// Randomized 0..max startup offset so fleet restarts don't replay in lockstep
|
|
17134
|
+
getStartupReplayDelayMs() {
|
|
17135
|
+
return Math.floor(Math.random() * STARTUP_REPLAY_MAX_DELAY_MS);
|
|
17136
|
+
}
|
|
17137
|
+
// Base spacing plus random jitter applied between persisted files during replay
|
|
17138
|
+
getReplayBatchDelayMs() {
|
|
17139
|
+
return REPLAY_BATCH_BASE_DELAY_MS + Math.floor(Math.random() * REPLAY_BATCH_JITTER_MS);
|
|
17140
|
+
}
|
|
16837
17141
|
/**
|
|
16838
17142
|
* Parse a Breeze response and extract envelopes whose errors have retriable status codes.
|
|
16839
17143
|
*/
|
|
@@ -16887,7 +17191,44 @@ var BaseSender = class {
|
|
|
16887
17191
|
}
|
|
16888
17192
|
};
|
|
16889
17193
|
|
|
16890
|
-
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.
|
|
17194
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/utils/redirectUtils.js
|
|
17195
|
+
function normalizeHost(netloc) {
|
|
17196
|
+
const afterUserInfo = netloc.split("@").pop() ?? "";
|
|
17197
|
+
let host = afterUserInfo;
|
|
17198
|
+
if (host.startsWith("[")) {
|
|
17199
|
+
const end = host.indexOf("]");
|
|
17200
|
+
host = end >= 0 ? host.slice(0, end + 1) : host;
|
|
17201
|
+
} else {
|
|
17202
|
+
const colon = host.lastIndexOf(":");
|
|
17203
|
+
if (colon >= 0) {
|
|
17204
|
+
host = host.slice(0, colon);
|
|
17205
|
+
}
|
|
17206
|
+
}
|
|
17207
|
+
return host.toLowerCase().replace(/\.+$/, "");
|
|
17208
|
+
}
|
|
17209
|
+
__name(normalizeHost, "normalizeHost");
|
|
17210
|
+
function isSameRegisteredDomain(currentNetloc, redirectNetloc) {
|
|
17211
|
+
if (!currentNetloc || !redirectNetloc) {
|
|
17212
|
+
return false;
|
|
17213
|
+
}
|
|
17214
|
+
const currentHost = normalizeHost(currentNetloc);
|
|
17215
|
+
const redirectHost = normalizeHost(redirectNetloc);
|
|
17216
|
+
if (!currentHost || !redirectHost) {
|
|
17217
|
+
return false;
|
|
17218
|
+
}
|
|
17219
|
+
if (currentHost === redirectHost) {
|
|
17220
|
+
return true;
|
|
17221
|
+
}
|
|
17222
|
+
for (const suffix of ALLOWED_REDIRECT_DOMAIN_SUFFIXES) {
|
|
17223
|
+
if (currentHost.endsWith(suffix) && redirectHost.endsWith(suffix)) {
|
|
17224
|
+
return true;
|
|
17225
|
+
}
|
|
17226
|
+
}
|
|
17227
|
+
return false;
|
|
17228
|
+
}
|
|
17229
|
+
__name(isSameRegisteredDomain, "isSameRegisteredDomain");
|
|
17230
|
+
|
|
17231
|
+
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/platform/nodejs/httpSender.js
|
|
16891
17232
|
var applicationInsightsResource = "https://monitor.azure.com/.default";
|
|
16892
17233
|
var HttpSender = class extends BaseSender {
|
|
16893
17234
|
static {
|
|
@@ -16956,15 +17297,43 @@ var HttpSender = class extends BaseSender {
|
|
|
16956
17297
|
async shutdown() {
|
|
16957
17298
|
diag.info("HttpSender shutting down");
|
|
16958
17299
|
}
|
|
17300
|
+
/**
|
|
17301
|
+
* Apply a server-issued 307/308 redirect by re-pointing the underlying client at the new host.
|
|
17302
|
+
*
|
|
17303
|
+
* Returns `true` if the redirect was accepted and the client mutated; returns `false` (without
|
|
17304
|
+
* mutating any state) when the redirect would cross a trust boundary -- for example, when the
|
|
17305
|
+
* `Location` header points at a host outside the configured ingestion endpoint and outside the
|
|
17306
|
+
* known Azure Monitor ingestion domain suffixes. Refusing cross-origin redirects is required to
|
|
17307
|
+
* prevent an attacker-controlled `Location` from causing the bearer auth policy to attach a
|
|
17308
|
+
* freshly-signed AAD token (and the telemetry envelope) to a foreign host on the retried call.
|
|
17309
|
+
*/
|
|
16959
17310
|
handlePermanentRedirect(location) {
|
|
16960
|
-
if (location) {
|
|
16961
|
-
|
|
16962
|
-
if (locUrl && locUrl.host) {
|
|
16963
|
-
this.appInsightsClientOptions.host = "https://" + locUrl.host;
|
|
16964
|
-
const { credential, ...clientOptions } = this.appInsightsClientOptions;
|
|
16965
|
-
this.appInsightsClient = this.createClient(clientOptions);
|
|
16966
|
-
}
|
|
17311
|
+
if (!location) {
|
|
17312
|
+
return false;
|
|
16967
17313
|
}
|
|
17314
|
+
let locUrl;
|
|
17315
|
+
try {
|
|
17316
|
+
locUrl = new url.URL(location);
|
|
17317
|
+
} catch {
|
|
17318
|
+
return false;
|
|
17319
|
+
}
|
|
17320
|
+
if (!locUrl.host) {
|
|
17321
|
+
return false;
|
|
17322
|
+
}
|
|
17323
|
+
let currentHost = "";
|
|
17324
|
+
try {
|
|
17325
|
+
currentHost = new url.URL(this.appInsightsClientOptions.host ?? "").host;
|
|
17326
|
+
} catch {
|
|
17327
|
+
currentHost = "";
|
|
17328
|
+
}
|
|
17329
|
+
if (!isSameRegisteredDomain(currentHost, locUrl.host)) {
|
|
17330
|
+
diag.error(`Refusing cross-origin redirect to https://${locUrl.host}: target is neither the configured ingestion host nor under a known Azure Monitor ingestion domain.`);
|
|
17331
|
+
return false;
|
|
17332
|
+
}
|
|
17333
|
+
this.appInsightsClientOptions.host = "https://" + locUrl.host;
|
|
17334
|
+
const { credential, ...clientOptions } = this.appInsightsClientOptions;
|
|
17335
|
+
this.appInsightsClient = this.createClient(clientOptions);
|
|
17336
|
+
return true;
|
|
16968
17337
|
}
|
|
16969
17338
|
};
|
|
16970
17339
|
|