autotel 7.7.0 → 7.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db.cjs +1 -1
- package/dist/db.js +1 -1
- package/dist/{functional-Cnga_Lnv.js → functional-S9IJNlBn.js} +2 -1
- package/dist/{functional-CJI0HCVJ.cjs → functional-UIJ0CaTV.cjs} +2 -1
- package/dist/functional.cjs +1 -1
- package/dist/functional.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/messaging.cjs +1 -1
- package/dist/messaging.js +1 -1
- package/dist/semantic-helpers.cjs +1 -1
- package/dist/semantic-helpers.js +1 -1
- package/dist/testing.cjs +14 -0
- package/dist/testing.js +15 -1
- package/dist/webhook.cjs +1 -1
- package/dist/webhook.js +1 -1
- package/dist/workflow-distributed.cjs +1 -1
- package/dist/workflow-distributed.js +1 -1
- package/dist/workflow.cjs +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +419 -159
package/dist/db.cjs
CHANGED
|
@@ -171,7 +171,6 @@ function instrumentDatabase(client, options) {
|
|
|
171
171
|
const target = clientMembers(client);
|
|
172
172
|
if (target[INSTRUMENTED_SYMBOL]) return client;
|
|
173
173
|
const { dbSystem, dbName, methods, skipMethods = [], sanitizeQuery = true, slowQueryThresholdMs = 1e3 } = options;
|
|
174
|
-
const tracer = require_config.getConfig().tracer;
|
|
175
174
|
const methodsToInstrument = methods || extractDatabaseMethods(client);
|
|
176
175
|
const skipSet = new Set(skipMethods);
|
|
177
176
|
for (const methodName of methodsToInstrument) {
|
|
@@ -184,6 +183,7 @@ function instrumentDatabase(client, options) {
|
|
|
184
183
|
const operation = inferDbOperation(methodName);
|
|
185
184
|
const table = inferTableName(methodName);
|
|
186
185
|
const spanName = table ? `${dbSystem}.${operation} ${table}` : `${dbSystem}.${operation}`;
|
|
186
|
+
const { tracer } = require_config.getConfig();
|
|
187
187
|
return tracer.startActiveSpan(spanName, async (span) => {
|
|
188
188
|
const startTime = performance.now();
|
|
189
189
|
try {
|
package/dist/db.js
CHANGED
|
@@ -170,7 +170,6 @@ function instrumentDatabase(client, options) {
|
|
|
170
170
|
const target = clientMembers(client);
|
|
171
171
|
if (target[INSTRUMENTED_SYMBOL]) return client;
|
|
172
172
|
const { dbSystem, dbName, methods, skipMethods = [], sanitizeQuery = true, slowQueryThresholdMs = 1e3 } = options;
|
|
173
|
-
const tracer = getConfig().tracer;
|
|
174
173
|
const methodsToInstrument = methods || extractDatabaseMethods(client);
|
|
175
174
|
const skipSet = new Set(skipMethods);
|
|
176
175
|
for (const methodName of methodsToInstrument) {
|
|
@@ -183,6 +182,7 @@ function instrumentDatabase(client, options) {
|
|
|
183
182
|
const operation = inferDbOperation(methodName);
|
|
184
183
|
const table = inferTableName(methodName);
|
|
185
184
|
const spanName = table ? `${dbSystem}.${operation} ${table}` : `${dbSystem}.${operation}`;
|
|
185
|
+
const { tracer } = getConfig();
|
|
186
186
|
return tracer.startActiveSpan(spanName, async (span) => {
|
|
187
187
|
const startTime = performance.now();
|
|
188
188
|
try {
|
|
@@ -346,7 +346,7 @@ function runWithTraceContextStorage(fn) {
|
|
|
346
346
|
/** Used when neither the wrapper nor `init()` chose a sampler. */
|
|
347
347
|
const FALLBACK_SAMPLER = new AlwaysSampler();
|
|
348
348
|
function wrapWithTracingSync(fnFactory, options, variableName) {
|
|
349
|
-
const {
|
|
349
|
+
const { meter } = getConfig();
|
|
350
350
|
const resolveSampler = () => options.sampler ?? getConfiguredSampler() ?? FALLBACK_SAMPLER;
|
|
351
351
|
const spanName = getSpanName(options, fnFactory, variableName);
|
|
352
352
|
const callCounter = options.withMetrics ? meter.createCounter(`${spanName}.calls`, {
|
|
@@ -376,6 +376,7 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
|
|
|
376
376
|
const spanOptions = {};
|
|
377
377
|
if (options.startNewRoot) spanOptions.root = true;
|
|
378
378
|
if (options.spanKind !== void 0) spanOptions.kind = options.spanKind;
|
|
379
|
+
const { tracer } = getConfig();
|
|
379
380
|
return tracer.startActiveSpan(spanName, spanOptions, getActiveContextWithBaggage(), (span) => runInOperationContext(spanName, () => runWithTraceContextStorage(() => {
|
|
380
381
|
let shouldKeepSpan = true;
|
|
381
382
|
setSpanName(span, spanName);
|
|
@@ -349,7 +349,7 @@ function runWithTraceContextStorage(fn) {
|
|
|
349
349
|
/** Used when neither the wrapper nor `init()` chose a sampler. */
|
|
350
350
|
const FALLBACK_SAMPLER = new require_init.AlwaysSampler();
|
|
351
351
|
function wrapWithTracingSync(fnFactory, options, variableName) {
|
|
352
|
-
const {
|
|
352
|
+
const { meter } = require_config.getConfig();
|
|
353
353
|
const resolveSampler = () => options.sampler ?? require_init.getConfiguredSampler() ?? FALLBACK_SAMPLER;
|
|
354
354
|
const spanName = getSpanName(options, fnFactory, variableName);
|
|
355
355
|
const callCounter = options.withMetrics ? meter.createCounter(`${spanName}.calls`, {
|
|
@@ -379,6 +379,7 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
|
|
|
379
379
|
const spanOptions = {};
|
|
380
380
|
if (options.startNewRoot) spanOptions.root = true;
|
|
381
381
|
if (options.spanKind !== void 0) spanOptions.kind = options.spanKind;
|
|
382
|
+
const { tracer } = require_config.getConfig();
|
|
382
383
|
return tracer.startActiveSpan(spanName, spanOptions, require_init.getActiveContextWithBaggage(), (span) => require_init.runInOperationContext(spanName, () => runWithTraceContextStorage(() => {
|
|
383
384
|
let shouldKeepSpan = true;
|
|
384
385
|
require_trace_helpers.setSpanName(span, spanName);
|
package/dist/functional.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_functional = require('./functional-
|
|
2
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
3
3
|
|
|
4
4
|
exports.ctx = require_functional.ctx;
|
|
5
5
|
exports.getActiveTraceContext = require_functional.getActiveTraceContext;
|
package/dist/functional.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as span, c as withNewContext, i as requestCtx, l as withTracing, n as getActiveTraceContext, o as trace, r as instrument, s as withBaggage, t as ctx } from "./functional-
|
|
1
|
+
import { a as span, c as withNewContext, i as requestCtx, l as withTracing, n as getActiveTraceContext, o as trace, r as instrument, s as withBaggage, t as ctx } from "./functional-S9IJNlBn.js";
|
|
2
2
|
|
|
3
3
|
export { ctx, getActiveTraceContext, instrument, requestCtx, span, trace, withBaggage, withNewContext, withTracing };
|
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const require_span_name_normalizer = require('./span-name-normalizer.cjs');
|
|
|
9
9
|
const require_attribute_redacting_processor = require('./attribute-redacting-processor.cjs');
|
|
10
10
|
const require_canonical_log_line_processor = require('./canonical-log-line-processor-Bvgb1lE4.cjs');
|
|
11
11
|
const require_metric = require('./metric.cjs');
|
|
12
|
-
const require_functional = require('./functional-
|
|
12
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
13
13
|
const require_trace_helpers = require('./trace-helpers.cjs');
|
|
14
14
|
const require_stable_hash = require('./stable-hash-C9F6xjzx.cjs');
|
|
15
15
|
const require_correlated_events = require('./correlated-events-9RRdfyWR.cjs');
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizingProcessor }
|
|
|
7
7
|
import { AttributeRedactingProcessor, REDACTOR_PATTERNS, REDACTOR_PRESETS, builtinPatterns, createAttributeRedactor, createRedactedSpan, normalizeAttributeRedactorConfig } from "./attribute-redacting-processor.js";
|
|
8
8
|
import { n as formatDuration } from "./canonical-log-line-processor-BQ6NeZAk.js";
|
|
9
9
|
import { Metric, getMetrics, resetMetrics } from "./metric.js";
|
|
10
|
-
import { a as span, c as withNewContext, i as requestCtx, l as withTracing, n as getActiveTraceContext, o as trace$2, r as instrument, s as withBaggage, t as ctx } from "./functional-
|
|
10
|
+
import { a as span, c as withNewContext, i as requestCtx, l as withTracing, n as getActiveTraceContext, o as trace$2, r as instrument, s as withBaggage, t as ctx } from "./functional-S9IJNlBn.js";
|
|
11
11
|
import { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from "./trace-helpers.js";
|
|
12
12
|
import { t as hashJson } from "./stable-hash-AOUgw1DW.js";
|
|
13
13
|
import { t as emitCorrelatedEvent } from "./correlated-events-BfpH5uS-.js";
|
package/dist/messaging.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_values = require('./values-tm4bi0FF.cjs');
|
|
3
3
|
const require_init = require('./init-BYXDCfRL.cjs');
|
|
4
|
-
const require_functional = require('./functional-
|
|
4
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
5
5
|
const require_correlated_events = require('./correlated-events-9RRdfyWR.cjs');
|
|
6
6
|
const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
|
|
7
7
|
let _opentelemetry_api = require("@opentelemetry/api");
|
package/dist/messaging.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as readProperty, b as toAttributeValue, c as asScalar, g as nonEmptyString, h as isFunction, s as asRecord, v as resolveValue, y as splitNameOrOptions } from "./values-xBtdXtjA.js";
|
|
2
2
|
import { F as createLinkFromHeaders, L as extractLinksFromBatch } from "./init-Dyq6WtsO.js";
|
|
3
|
-
import { l as withTracing } from "./functional-
|
|
3
|
+
import { l as withTracing } from "./functional-S9IJNlBn.js";
|
|
4
4
|
import { t as emitCorrelatedEvent } from "./correlated-events-BfpH5uS-.js";
|
|
5
5
|
import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
|
|
6
6
|
import { SpanKind, context, propagation } from "@opentelemetry/api";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_values = require('./values-tm4bi0FF.cjs');
|
|
3
|
-
const require_functional = require('./functional-
|
|
3
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
4
4
|
const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
|
|
5
5
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
6
6
|
|
package/dist/semantic-helpers.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as toAttributeValue, g as nonEmptyString, s as asRecord } from "./values-xBtdXtjA.js";
|
|
2
|
-
import { l as withTracing } from "./functional-
|
|
2
|
+
import { l as withTracing } from "./functional-S9IJNlBn.js";
|
|
3
3
|
import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
|
|
4
4
|
import { SpanKind } from "@opentelemetry/api";
|
|
5
5
|
|
package/dist/testing.cjs
CHANGED
|
@@ -7,6 +7,7 @@ const require_test_span_collector = require('./test-span-collector.cjs');
|
|
|
7
7
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
8
8
|
let node_async_hooks = require("node:async_hooks");
|
|
9
9
|
node_async_hooks = require_rolldown_runtime.__toESM(node_async_hooks, 1);
|
|
10
|
+
let _opentelemetry_context_async_hooks = require("@opentelemetry/context-async-hooks");
|
|
10
11
|
|
|
11
12
|
//#region src/memory-exporter.ts
|
|
12
13
|
function toRecordedSpan(span) {
|
|
@@ -63,6 +64,18 @@ function createMemoryExporter() {
|
|
|
63
64
|
* ```
|
|
64
65
|
*/
|
|
65
66
|
/**
|
|
67
|
+
* `context.with()` propagates only through a registered context manager, and
|
|
68
|
+
* a test project that never calls `init()` has none: no active span, so the
|
|
69
|
+
* ambient `ctx` writes nowhere and spans have no parent. Register the class
|
|
70
|
+
* `init()` would register when a probe shows nothing propagates, so `bind()`
|
|
71
|
+
* on an EventEmitter works and a later `init()` changes nothing observable.
|
|
72
|
+
*/
|
|
73
|
+
function ensureContextManager() {
|
|
74
|
+
const probe = (0, _opentelemetry_api.createContextKey)("autotel.testing.probe");
|
|
75
|
+
if (_opentelemetry_api.context.with(_opentelemetry_api.ROOT_CONTEXT.setValue(probe, true), () => _opentelemetry_api.context.active().getValue(probe) === true)) return;
|
|
76
|
+
_opentelemetry_api.context.setGlobalContextManager(new _opentelemetry_context_async_hooks.AsyncLocalStorageContextManager().enable());
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
66
79
|
* Create an in-memory trace collector for testing
|
|
67
80
|
*
|
|
68
81
|
* IMPORTANT: This automatically configures the global tracer to record spans.
|
|
@@ -89,6 +102,7 @@ function createMemoryExporter() {
|
|
|
89
102
|
* ```
|
|
90
103
|
*/
|
|
91
104
|
function createTraceCollector() {
|
|
105
|
+
ensureContextManager();
|
|
92
106
|
const spans = [];
|
|
93
107
|
const activeMockSpanStorage = new node_async_hooks.AsyncLocalStorage();
|
|
94
108
|
let nextTraceId = 1;
|
package/dist/testing.js
CHANGED
|
@@ -2,8 +2,9 @@ import { l as asString, s as asRecord } from "./values-xBtdXtjA.js";
|
|
|
2
2
|
import { configure } from "./config.js";
|
|
3
3
|
import { assertEventTracked, assertOutcomeTracked, createEventCollector } from "./event-testing.js";
|
|
4
4
|
import { TestSpanCollector, serializeSpan } from "./test-span-collector.js";
|
|
5
|
-
import { SpanStatusCode, context, trace } from "@opentelemetry/api";
|
|
5
|
+
import { ROOT_CONTEXT, SpanStatusCode, context, createContextKey, trace } from "@opentelemetry/api";
|
|
6
6
|
import * as nodeAsyncHooks from "node:async_hooks";
|
|
7
|
+
import { AsyncLocalStorageContextManager } from "@opentelemetry/context-async-hooks";
|
|
7
8
|
|
|
8
9
|
//#region src/memory-exporter.ts
|
|
9
10
|
function toRecordedSpan(span) {
|
|
@@ -60,6 +61,18 @@ function createMemoryExporter() {
|
|
|
60
61
|
* ```
|
|
61
62
|
*/
|
|
62
63
|
/**
|
|
64
|
+
* `context.with()` propagates only through a registered context manager, and
|
|
65
|
+
* a test project that never calls `init()` has none: no active span, so the
|
|
66
|
+
* ambient `ctx` writes nowhere and spans have no parent. Register the class
|
|
67
|
+
* `init()` would register when a probe shows nothing propagates, so `bind()`
|
|
68
|
+
* on an EventEmitter works and a later `init()` changes nothing observable.
|
|
69
|
+
*/
|
|
70
|
+
function ensureContextManager() {
|
|
71
|
+
const probe = createContextKey("autotel.testing.probe");
|
|
72
|
+
if (context.with(ROOT_CONTEXT.setValue(probe, true), () => context.active().getValue(probe) === true)) return;
|
|
73
|
+
context.setGlobalContextManager(new AsyncLocalStorageContextManager().enable());
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
63
76
|
* Create an in-memory trace collector for testing
|
|
64
77
|
*
|
|
65
78
|
* IMPORTANT: This automatically configures the global tracer to record spans.
|
|
@@ -86,6 +99,7 @@ function createMemoryExporter() {
|
|
|
86
99
|
* ```
|
|
87
100
|
*/
|
|
88
101
|
function createTraceCollector() {
|
|
102
|
+
ensureContextManager();
|
|
89
103
|
const spans = [];
|
|
90
104
|
const activeMockSpanStorage = new nodeAsyncHooks.AsyncLocalStorage();
|
|
91
105
|
let nextTraceId = 1;
|
package/dist/webhook.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_structured_error = require('./structured-error-BAXhglRE.cjs');
|
|
3
|
-
const require_functional = require('./functional-
|
|
3
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
4
4
|
const require_correlated_events = require('./correlated-events-9RRdfyWR.cjs');
|
|
5
5
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
6
6
|
|
package/dist/webhook.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as recordStructuredError } from "./structured-error-Y9y-1Pae.js";
|
|
2
|
-
import { l as withTracing } from "./functional-
|
|
2
|
+
import { l as withTracing } from "./functional-S9IJNlBn.js";
|
|
3
3
|
import { t as emitCorrelatedEvent } from "./correlated-events-BfpH5uS-.js";
|
|
4
4
|
import { SpanKind, trace } from "@opentelemetry/api";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_values = require('./values-tm4bi0FF.cjs');
|
|
3
|
-
const require_functional = require('./functional-
|
|
3
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
4
4
|
const require_correlated_events = require('./correlated-events-9RRdfyWR.cjs');
|
|
5
5
|
const require_business_baggage = require('./business-baggage.cjs');
|
|
6
6
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as isFunction, x as toError } from "./values-xBtdXtjA.js";
|
|
2
|
-
import { l as withTracing } from "./functional-
|
|
2
|
+
import { l as withTracing } from "./functional-S9IJNlBn.js";
|
|
3
3
|
import { t as emitCorrelatedEvent } from "./correlated-events-BfpH5uS-.js";
|
|
4
4
|
import { createSafeBaggageSchema } from "./business-baggage.js";
|
|
5
5
|
import { SpanKind, context, propagation } from "@opentelemetry/api";
|
package/dist/workflow.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
|
|
3
3
|
const require_values = require('./values-tm4bi0FF.cjs');
|
|
4
|
-
const require_functional = require('./functional-
|
|
4
|
+
const require_functional = require('./functional-UIJ0CaTV.cjs');
|
|
5
5
|
const require_trace_helpers = require('./trace-helpers.cjs');
|
|
6
6
|
const require_correlated_events = require('./correlated-events-9RRdfyWR.cjs');
|
|
7
7
|
const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
|
package/dist/workflow.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as toAttributeValue, g as nonEmptyString, h as isFunction, l as asString, s as asRecord, x as toError } from "./values-xBtdXtjA.js";
|
|
2
|
-
import { l as withTracing } from "./functional-
|
|
2
|
+
import { l as withTracing } from "./functional-S9IJNlBn.js";
|
|
3
3
|
import { getActiveSpan } from "./trace-helpers.js";
|
|
4
4
|
import { t as emitCorrelatedEvent } from "./correlated-events-BfpH5uS-.js";
|
|
5
5
|
import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autotel",
|
|
3
|
-
"version": "7.7.
|
|
3
|
+
"version": "7.7.1",
|
|
4
4
|
"description": "Write Once, Observe Anywhere",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,267 +11,527 @@
|
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.cts",
|
|
20
|
+
"default": "./dist/index.cjs"
|
|
21
|
+
}
|
|
17
22
|
},
|
|
18
23
|
"./diagnostics": {
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
"import": {
|
|
25
|
+
"types": "./dist/diagnostics.d.ts",
|
|
26
|
+
"default": "./dist/diagnostics.js"
|
|
27
|
+
},
|
|
28
|
+
"require": {
|
|
29
|
+
"types": "./dist/diagnostics.d.cts",
|
|
30
|
+
"default": "./dist/diagnostics.cjs"
|
|
31
|
+
}
|
|
22
32
|
},
|
|
23
33
|
"./instrumentation": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
"import": {
|
|
35
|
+
"types": "./dist/instrumentation.d.ts",
|
|
36
|
+
"default": "./dist/instrumentation.js"
|
|
37
|
+
},
|
|
38
|
+
"require": {
|
|
39
|
+
"types": "./dist/instrumentation.d.cts",
|
|
40
|
+
"default": "./dist/instrumentation.cjs"
|
|
41
|
+
}
|
|
27
42
|
},
|
|
28
43
|
"./logger": {
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
"import": {
|
|
45
|
+
"types": "./dist/logger.d.ts",
|
|
46
|
+
"default": "./dist/logger.js"
|
|
47
|
+
},
|
|
48
|
+
"require": {
|
|
49
|
+
"types": "./dist/logger.d.cts",
|
|
50
|
+
"default": "./dist/logger.cjs"
|
|
51
|
+
}
|
|
32
52
|
},
|
|
33
53
|
"./sampling": {
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
54
|
+
"import": {
|
|
55
|
+
"types": "./dist/sampling.d.ts",
|
|
56
|
+
"default": "./dist/sampling.js"
|
|
57
|
+
},
|
|
58
|
+
"require": {
|
|
59
|
+
"types": "./dist/sampling.d.cts",
|
|
60
|
+
"default": "./dist/sampling.cjs"
|
|
61
|
+
}
|
|
37
62
|
},
|
|
38
63
|
"./analysis": {
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
64
|
+
"import": {
|
|
65
|
+
"types": "./dist/analysis.d.ts",
|
|
66
|
+
"default": "./dist/analysis.js"
|
|
67
|
+
},
|
|
68
|
+
"require": {
|
|
69
|
+
"types": "./dist/analysis.d.cts",
|
|
70
|
+
"default": "./dist/analysis.cjs"
|
|
71
|
+
}
|
|
42
72
|
},
|
|
43
73
|
"./event": {
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
74
|
+
"import": {
|
|
75
|
+
"types": "./dist/event.d.ts",
|
|
76
|
+
"default": "./dist/event.js"
|
|
77
|
+
},
|
|
78
|
+
"require": {
|
|
79
|
+
"types": "./dist/event.d.cts",
|
|
80
|
+
"default": "./dist/event.cjs"
|
|
81
|
+
}
|
|
47
82
|
},
|
|
48
83
|
"./event-subscriber": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
84
|
+
"import": {
|
|
85
|
+
"types": "./dist/event-subscriber.d.ts",
|
|
86
|
+
"default": "./dist/event-subscriber.js"
|
|
87
|
+
},
|
|
88
|
+
"require": {
|
|
89
|
+
"types": "./dist/event-subscriber.d.cts",
|
|
90
|
+
"default": "./dist/event-subscriber.cjs"
|
|
91
|
+
}
|
|
52
92
|
},
|
|
53
93
|
"./attributes": {
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
94
|
+
"import": {
|
|
95
|
+
"types": "./dist/attributes.d.ts",
|
|
96
|
+
"default": "./dist/attributes.js"
|
|
97
|
+
},
|
|
98
|
+
"require": {
|
|
99
|
+
"types": "./dist/attributes.d.cts",
|
|
100
|
+
"default": "./dist/attributes.cjs"
|
|
101
|
+
}
|
|
57
102
|
},
|
|
58
103
|
"./event-testing": {
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
104
|
+
"import": {
|
|
105
|
+
"types": "./dist/event-testing.d.ts",
|
|
106
|
+
"default": "./dist/event-testing.js"
|
|
107
|
+
},
|
|
108
|
+
"require": {
|
|
109
|
+
"types": "./dist/event-testing.d.cts",
|
|
110
|
+
"default": "./dist/event-testing.cjs"
|
|
111
|
+
}
|
|
62
112
|
},
|
|
63
113
|
"./metric": {
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
114
|
+
"import": {
|
|
115
|
+
"types": "./dist/metric.d.ts",
|
|
116
|
+
"default": "./dist/metric.js"
|
|
117
|
+
},
|
|
118
|
+
"require": {
|
|
119
|
+
"types": "./dist/metric.d.cts",
|
|
120
|
+
"default": "./dist/metric.cjs"
|
|
121
|
+
}
|
|
67
122
|
},
|
|
68
123
|
"./slo": {
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
124
|
+
"import": {
|
|
125
|
+
"types": "./dist/slo.d.ts",
|
|
126
|
+
"default": "./dist/slo.js"
|
|
127
|
+
},
|
|
128
|
+
"require": {
|
|
129
|
+
"types": "./dist/slo.d.cts",
|
|
130
|
+
"default": "./dist/slo.cjs"
|
|
131
|
+
}
|
|
72
132
|
},
|
|
73
133
|
"./metric-testing": {
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
134
|
+
"import": {
|
|
135
|
+
"types": "./dist/metric-testing.d.ts",
|
|
136
|
+
"default": "./dist/metric-testing.js"
|
|
137
|
+
},
|
|
138
|
+
"require": {
|
|
139
|
+
"types": "./dist/metric-testing.d.cts",
|
|
140
|
+
"default": "./dist/metric-testing.cjs"
|
|
141
|
+
}
|
|
77
142
|
},
|
|
78
143
|
"./metric-helpers": {
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
144
|
+
"import": {
|
|
145
|
+
"types": "./dist/metric-helpers.d.ts",
|
|
146
|
+
"default": "./dist/metric-helpers.js"
|
|
147
|
+
},
|
|
148
|
+
"require": {
|
|
149
|
+
"types": "./dist/metric-helpers.d.cts",
|
|
150
|
+
"default": "./dist/metric-helpers.cjs"
|
|
151
|
+
}
|
|
82
152
|
},
|
|
83
153
|
"./testing": {
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
154
|
+
"import": {
|
|
155
|
+
"types": "./dist/testing.d.ts",
|
|
156
|
+
"default": "./dist/testing.js"
|
|
157
|
+
},
|
|
158
|
+
"require": {
|
|
159
|
+
"types": "./dist/testing.d.cts",
|
|
160
|
+
"default": "./dist/testing.cjs"
|
|
161
|
+
}
|
|
87
162
|
},
|
|
88
163
|
"./exporters": {
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
164
|
+
"import": {
|
|
165
|
+
"types": "./dist/exporters.d.ts",
|
|
166
|
+
"default": "./dist/exporters.js"
|
|
167
|
+
},
|
|
168
|
+
"require": {
|
|
169
|
+
"types": "./dist/exporters.d.cts",
|
|
170
|
+
"default": "./dist/exporters.cjs"
|
|
171
|
+
}
|
|
92
172
|
},
|
|
93
173
|
"./processors": {
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
174
|
+
"import": {
|
|
175
|
+
"types": "./dist/processors.d.ts",
|
|
176
|
+
"default": "./dist/processors.js"
|
|
177
|
+
},
|
|
178
|
+
"require": {
|
|
179
|
+
"types": "./dist/processors.d.cts",
|
|
180
|
+
"default": "./dist/processors.cjs"
|
|
181
|
+
}
|
|
97
182
|
},
|
|
98
183
|
"./config": {
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
184
|
+
"import": {
|
|
185
|
+
"types": "./dist/config.d.ts",
|
|
186
|
+
"default": "./dist/config.js"
|
|
187
|
+
},
|
|
188
|
+
"require": {
|
|
189
|
+
"types": "./dist/config.d.cts",
|
|
190
|
+
"default": "./dist/config.cjs"
|
|
191
|
+
}
|
|
102
192
|
},
|
|
103
193
|
"./tail-sampling-processor": {
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
194
|
+
"import": {
|
|
195
|
+
"types": "./dist/tail-sampling-processor.d.ts",
|
|
196
|
+
"default": "./dist/tail-sampling-processor.js"
|
|
197
|
+
},
|
|
198
|
+
"require": {
|
|
199
|
+
"types": "./dist/tail-sampling-processor.d.cts",
|
|
200
|
+
"default": "./dist/tail-sampling-processor.cjs"
|
|
201
|
+
}
|
|
107
202
|
},
|
|
108
203
|
"./filtering-span-processor": {
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
204
|
+
"import": {
|
|
205
|
+
"types": "./dist/filtering-span-processor.d.ts",
|
|
206
|
+
"default": "./dist/filtering-span-processor.js"
|
|
207
|
+
},
|
|
208
|
+
"require": {
|
|
209
|
+
"types": "./dist/filtering-span-processor.d.cts",
|
|
210
|
+
"default": "./dist/filtering-span-processor.cjs"
|
|
211
|
+
}
|
|
112
212
|
},
|
|
113
213
|
"./policy": {
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
214
|
+
"import": {
|
|
215
|
+
"types": "./dist/policy.d.ts",
|
|
216
|
+
"default": "./dist/policy.js"
|
|
217
|
+
},
|
|
218
|
+
"require": {
|
|
219
|
+
"types": "./dist/policy.d.cts",
|
|
220
|
+
"default": "./dist/policy.cjs"
|
|
221
|
+
}
|
|
117
222
|
},
|
|
118
223
|
"./span-name-normalizer": {
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
224
|
+
"import": {
|
|
225
|
+
"types": "./dist/span-name-normalizer.d.ts",
|
|
226
|
+
"default": "./dist/span-name-normalizer.js"
|
|
227
|
+
},
|
|
228
|
+
"require": {
|
|
229
|
+
"types": "./dist/span-name-normalizer.d.cts",
|
|
230
|
+
"default": "./dist/span-name-normalizer.cjs"
|
|
231
|
+
}
|
|
122
232
|
},
|
|
123
233
|
"./attribute-redacting-processor": {
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
234
|
+
"import": {
|
|
235
|
+
"types": "./dist/attribute-redacting-processor.d.ts",
|
|
236
|
+
"default": "./dist/attribute-redacting-processor.js"
|
|
237
|
+
},
|
|
238
|
+
"require": {
|
|
239
|
+
"types": "./dist/attribute-redacting-processor.d.cts",
|
|
240
|
+
"default": "./dist/attribute-redacting-processor.cjs"
|
|
241
|
+
}
|
|
127
242
|
},
|
|
128
243
|
"./exception-fingerprint": {
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
244
|
+
"import": {
|
|
245
|
+
"types": "./dist/exception-fingerprint.d.ts",
|
|
246
|
+
"default": "./dist/exception-fingerprint.js"
|
|
247
|
+
},
|
|
248
|
+
"require": {
|
|
249
|
+
"types": "./dist/exception-fingerprint.d.cts",
|
|
250
|
+
"default": "./dist/exception-fingerprint.cjs"
|
|
251
|
+
}
|
|
132
252
|
},
|
|
133
253
|
"./functional": {
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
254
|
+
"import": {
|
|
255
|
+
"types": "./dist/functional.d.ts",
|
|
256
|
+
"default": "./dist/functional.js"
|
|
257
|
+
},
|
|
258
|
+
"require": {
|
|
259
|
+
"types": "./dist/functional.d.cts",
|
|
260
|
+
"default": "./dist/functional.cjs"
|
|
261
|
+
}
|
|
137
262
|
},
|
|
138
263
|
"./http": {
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
264
|
+
"import": {
|
|
265
|
+
"types": "./dist/http.d.ts",
|
|
266
|
+
"default": "./dist/http.js"
|
|
267
|
+
},
|
|
268
|
+
"require": {
|
|
269
|
+
"types": "./dist/http.d.cts",
|
|
270
|
+
"default": "./dist/http.cjs"
|
|
271
|
+
}
|
|
142
272
|
},
|
|
143
273
|
"./db": {
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
274
|
+
"import": {
|
|
275
|
+
"types": "./dist/db.d.ts",
|
|
276
|
+
"default": "./dist/db.js"
|
|
277
|
+
},
|
|
278
|
+
"require": {
|
|
279
|
+
"types": "./dist/db.d.cts",
|
|
280
|
+
"default": "./dist/db.cjs"
|
|
281
|
+
}
|
|
147
282
|
},
|
|
148
283
|
"./trace-helpers": {
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
284
|
+
"import": {
|
|
285
|
+
"types": "./dist/trace-helpers.d.ts",
|
|
286
|
+
"default": "./dist/trace-helpers.js"
|
|
287
|
+
},
|
|
288
|
+
"require": {
|
|
289
|
+
"types": "./dist/trace-helpers.d.cts",
|
|
290
|
+
"default": "./dist/trace-helpers.cjs"
|
|
291
|
+
}
|
|
152
292
|
},
|
|
153
293
|
"./tracer-provider": {
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
294
|
+
"import": {
|
|
295
|
+
"types": "./dist/tracer-provider.d.ts",
|
|
296
|
+
"default": "./dist/tracer-provider.js"
|
|
297
|
+
},
|
|
298
|
+
"require": {
|
|
299
|
+
"types": "./dist/tracer-provider.d.cts",
|
|
300
|
+
"default": "./dist/tracer-provider.cjs"
|
|
301
|
+
}
|
|
157
302
|
},
|
|
158
303
|
"./semantic-helpers": {
|
|
159
|
-
"
|
|
160
|
-
|
|
161
|
-
|
|
304
|
+
"import": {
|
|
305
|
+
"types": "./dist/semantic-helpers.d.ts",
|
|
306
|
+
"default": "./dist/semantic-helpers.js"
|
|
307
|
+
},
|
|
308
|
+
"require": {
|
|
309
|
+
"types": "./dist/semantic-helpers.d.cts",
|
|
310
|
+
"default": "./dist/semantic-helpers.cjs"
|
|
311
|
+
}
|
|
162
312
|
},
|
|
163
313
|
"./decorators": {
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
314
|
+
"import": {
|
|
315
|
+
"types": "./dist/decorators.d.ts",
|
|
316
|
+
"default": "./dist/decorators.js"
|
|
317
|
+
},
|
|
318
|
+
"require": {
|
|
319
|
+
"types": "./dist/decorators.d.cts",
|
|
320
|
+
"default": "./dist/decorators.cjs"
|
|
321
|
+
}
|
|
167
322
|
},
|
|
168
323
|
"./register": {
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
324
|
+
"import": {
|
|
325
|
+
"types": "./dist/register.d.ts",
|
|
326
|
+
"default": "./dist/register.js"
|
|
327
|
+
},
|
|
328
|
+
"require": {
|
|
329
|
+
"types": "./dist/register.d.cts",
|
|
330
|
+
"default": "./dist/register.cjs"
|
|
331
|
+
}
|
|
172
332
|
},
|
|
173
333
|
"./auto": {
|
|
174
|
-
"
|
|
175
|
-
|
|
176
|
-
|
|
334
|
+
"import": {
|
|
335
|
+
"types": "./dist/auto.d.ts",
|
|
336
|
+
"default": "./dist/auto.js"
|
|
337
|
+
},
|
|
338
|
+
"require": {
|
|
339
|
+
"types": "./dist/auto.d.cts",
|
|
340
|
+
"default": "./dist/auto.cjs"
|
|
341
|
+
}
|
|
177
342
|
},
|
|
178
343
|
"./hook.mjs": {
|
|
179
344
|
"import": "./src/hook.mjs"
|
|
180
345
|
},
|
|
181
346
|
"./yaml": {
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
347
|
+
"import": {
|
|
348
|
+
"types": "./dist/yaml-config.d.ts",
|
|
349
|
+
"default": "./dist/yaml-config.js"
|
|
350
|
+
},
|
|
351
|
+
"require": {
|
|
352
|
+
"types": "./dist/yaml-config.d.cts",
|
|
353
|
+
"default": "./dist/yaml-config.cjs"
|
|
354
|
+
}
|
|
185
355
|
},
|
|
186
356
|
"./messaging": {
|
|
187
|
-
"
|
|
188
|
-
|
|
189
|
-
|
|
357
|
+
"import": {
|
|
358
|
+
"types": "./dist/messaging.d.ts",
|
|
359
|
+
"default": "./dist/messaging.js"
|
|
360
|
+
},
|
|
361
|
+
"require": {
|
|
362
|
+
"types": "./dist/messaging.d.cts",
|
|
363
|
+
"default": "./dist/messaging.cjs"
|
|
364
|
+
}
|
|
190
365
|
},
|
|
191
366
|
"./messaging-testing": {
|
|
192
|
-
"
|
|
193
|
-
|
|
194
|
-
|
|
367
|
+
"import": {
|
|
368
|
+
"types": "./dist/messaging-testing.d.ts",
|
|
369
|
+
"default": "./dist/messaging-testing.js"
|
|
370
|
+
},
|
|
371
|
+
"require": {
|
|
372
|
+
"types": "./dist/messaging-testing.d.cts",
|
|
373
|
+
"default": "./dist/messaging-testing.cjs"
|
|
374
|
+
}
|
|
195
375
|
},
|
|
196
376
|
"./messaging/adapters": {
|
|
197
|
-
"
|
|
198
|
-
|
|
199
|
-
|
|
377
|
+
"import": {
|
|
378
|
+
"types": "./dist/messaging-adapters.d.ts",
|
|
379
|
+
"default": "./dist/messaging-adapters.js"
|
|
380
|
+
},
|
|
381
|
+
"require": {
|
|
382
|
+
"types": "./dist/messaging-adapters.d.cts",
|
|
383
|
+
"default": "./dist/messaging-adapters.cjs"
|
|
384
|
+
}
|
|
200
385
|
},
|
|
201
386
|
"./business-baggage": {
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
387
|
+
"import": {
|
|
388
|
+
"types": "./dist/business-baggage.d.ts",
|
|
389
|
+
"default": "./dist/business-baggage.js"
|
|
390
|
+
},
|
|
391
|
+
"require": {
|
|
392
|
+
"types": "./dist/business-baggage.d.cts",
|
|
393
|
+
"default": "./dist/business-baggage.cjs"
|
|
394
|
+
}
|
|
205
395
|
},
|
|
206
396
|
"./workflow": {
|
|
207
|
-
"
|
|
208
|
-
|
|
209
|
-
|
|
397
|
+
"import": {
|
|
398
|
+
"types": "./dist/workflow.d.ts",
|
|
399
|
+
"default": "./dist/workflow.js"
|
|
400
|
+
},
|
|
401
|
+
"require": {
|
|
402
|
+
"types": "./dist/workflow.d.cts",
|
|
403
|
+
"default": "./dist/workflow.cjs"
|
|
404
|
+
}
|
|
210
405
|
},
|
|
211
406
|
"./webhook": {
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
407
|
+
"import": {
|
|
408
|
+
"types": "./dist/webhook.d.ts",
|
|
409
|
+
"default": "./dist/webhook.js"
|
|
410
|
+
},
|
|
411
|
+
"require": {
|
|
412
|
+
"types": "./dist/webhook.d.cts",
|
|
413
|
+
"default": "./dist/webhook.cjs"
|
|
414
|
+
}
|
|
215
415
|
},
|
|
216
416
|
"./workflow-distributed": {
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
417
|
+
"import": {
|
|
418
|
+
"types": "./dist/workflow-distributed.d.ts",
|
|
419
|
+
"default": "./dist/workflow-distributed.js"
|
|
420
|
+
},
|
|
421
|
+
"require": {
|
|
422
|
+
"types": "./dist/workflow-distributed.d.cts",
|
|
423
|
+
"default": "./dist/workflow-distributed.cjs"
|
|
424
|
+
}
|
|
220
425
|
},
|
|
221
426
|
"./semantic-conventions": {
|
|
222
|
-
"
|
|
223
|
-
|
|
224
|
-
|
|
427
|
+
"import": {
|
|
428
|
+
"types": "./dist/semantic-conventions.d.ts",
|
|
429
|
+
"default": "./dist/semantic-conventions.js"
|
|
430
|
+
},
|
|
431
|
+
"require": {
|
|
432
|
+
"types": "./dist/semantic-conventions.d.cts",
|
|
433
|
+
"default": "./dist/semantic-conventions.cjs"
|
|
434
|
+
}
|
|
225
435
|
},
|
|
226
436
|
"./correlation-id": {
|
|
227
|
-
"
|
|
228
|
-
|
|
229
|
-
|
|
437
|
+
"import": {
|
|
438
|
+
"types": "./dist/correlation-id.d.ts",
|
|
439
|
+
"default": "./dist/correlation-id.js"
|
|
440
|
+
},
|
|
441
|
+
"require": {
|
|
442
|
+
"types": "./dist/correlation-id.d.cts",
|
|
443
|
+
"default": "./dist/correlation-id.cjs"
|
|
444
|
+
}
|
|
230
445
|
},
|
|
231
446
|
"./security-schema": {
|
|
232
|
-
"
|
|
233
|
-
|
|
234
|
-
|
|
447
|
+
"import": {
|
|
448
|
+
"types": "./dist/security-schema.d.ts",
|
|
449
|
+
"default": "./dist/security-schema.js"
|
|
450
|
+
},
|
|
451
|
+
"require": {
|
|
452
|
+
"types": "./dist/security-schema.d.cts",
|
|
453
|
+
"default": "./dist/security-schema.cjs"
|
|
454
|
+
}
|
|
235
455
|
},
|
|
236
456
|
"./validate": {
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
|
|
457
|
+
"import": {
|
|
458
|
+
"types": "./dist/validate.d.ts",
|
|
459
|
+
"default": "./dist/validate.js"
|
|
460
|
+
},
|
|
461
|
+
"require": {
|
|
462
|
+
"types": "./dist/validate.d.cts",
|
|
463
|
+
"default": "./dist/validate.cjs"
|
|
464
|
+
}
|
|
240
465
|
},
|
|
241
466
|
"./validation-attributes": {
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
|
|
467
|
+
"import": {
|
|
468
|
+
"types": "./dist/validation-attributes.d.ts",
|
|
469
|
+
"default": "./dist/validation-attributes.js"
|
|
470
|
+
},
|
|
471
|
+
"require": {
|
|
472
|
+
"types": "./dist/validation-attributes.d.cts",
|
|
473
|
+
"default": "./dist/validation-attributes.cjs"
|
|
474
|
+
}
|
|
245
475
|
},
|
|
246
476
|
"./test-span-collector": {
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
|
|
477
|
+
"import": {
|
|
478
|
+
"types": "./dist/test-span-collector.d.ts",
|
|
479
|
+
"default": "./dist/test-span-collector.js"
|
|
480
|
+
},
|
|
481
|
+
"require": {
|
|
482
|
+
"types": "./dist/test-span-collector.d.cts",
|
|
483
|
+
"default": "./dist/test-span-collector.cjs"
|
|
484
|
+
}
|
|
250
485
|
},
|
|
251
486
|
"./parse-error": {
|
|
252
|
-
"
|
|
253
|
-
|
|
254
|
-
|
|
487
|
+
"import": {
|
|
488
|
+
"types": "./dist/parse-error.d.ts",
|
|
489
|
+
"default": "./dist/parse-error.js"
|
|
490
|
+
},
|
|
491
|
+
"require": {
|
|
492
|
+
"types": "./dist/parse-error.d.cts",
|
|
493
|
+
"default": "./dist/parse-error.cjs"
|
|
494
|
+
}
|
|
255
495
|
},
|
|
256
496
|
"./drain-pipeline": {
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
497
|
+
"import": {
|
|
498
|
+
"types": "./dist/drain-pipeline.d.ts",
|
|
499
|
+
"default": "./dist/drain-pipeline.js"
|
|
500
|
+
},
|
|
501
|
+
"require": {
|
|
502
|
+
"types": "./dist/drain-pipeline.d.cts",
|
|
503
|
+
"default": "./dist/drain-pipeline.cjs"
|
|
504
|
+
}
|
|
260
505
|
},
|
|
261
506
|
"./feature-flags": {
|
|
262
|
-
"
|
|
263
|
-
|
|
264
|
-
|
|
507
|
+
"import": {
|
|
508
|
+
"types": "./dist/feature-flags.d.ts",
|
|
509
|
+
"default": "./dist/feature-flags.js"
|
|
510
|
+
},
|
|
511
|
+
"require": {
|
|
512
|
+
"types": "./dist/feature-flags.d.cts",
|
|
513
|
+
"default": "./dist/feature-flags.cjs"
|
|
514
|
+
}
|
|
265
515
|
},
|
|
266
516
|
"./evidence": {
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
|
|
517
|
+
"import": {
|
|
518
|
+
"types": "./dist/evidence.d.ts",
|
|
519
|
+
"default": "./dist/evidence.js"
|
|
520
|
+
},
|
|
521
|
+
"require": {
|
|
522
|
+
"types": "./dist/evidence.d.cts",
|
|
523
|
+
"default": "./dist/evidence.cjs"
|
|
524
|
+
}
|
|
270
525
|
},
|
|
271
526
|
"./enrichers": {
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
|
|
527
|
+
"import": {
|
|
528
|
+
"types": "./dist/enrichers.d.ts",
|
|
529
|
+
"default": "./dist/enrichers.js"
|
|
530
|
+
},
|
|
531
|
+
"require": {
|
|
532
|
+
"types": "./dist/enrichers.d.cts",
|
|
533
|
+
"default": "./dist/enrichers.cjs"
|
|
534
|
+
}
|
|
275
535
|
}
|
|
276
536
|
},
|
|
277
537
|
"files": [
|
|
@@ -302,6 +562,7 @@
|
|
|
302
562
|
"dependencies": {
|
|
303
563
|
"@opentelemetry/api": "^1.9.1",
|
|
304
564
|
"@opentelemetry/api-logs": "^0.222.0",
|
|
565
|
+
"@opentelemetry/context-async-hooks": "^2.11.0",
|
|
305
566
|
"@opentelemetry/exporter-logs-otlp-http": "^0.222.0",
|
|
306
567
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.222.0",
|
|
307
568
|
"@opentelemetry/exporter-trace-otlp-http": "^0.222.0",
|
|
@@ -382,7 +643,6 @@
|
|
|
382
643
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
383
644
|
"@edge-runtime/vm": "^5.0.0",
|
|
384
645
|
"@opentelemetry/auto-instrumentations-node": "^0.80.0",
|
|
385
|
-
"@opentelemetry/context-async-hooks": "^2.11.0",
|
|
386
646
|
"@opentelemetry/exporter-logs-otlp-grpc": "^0.222.0",
|
|
387
647
|
"@opentelemetry/exporter-logs-otlp-proto": "^0.222.0",
|
|
388
648
|
"@opentelemetry/exporter-metrics-otlp-grpc": "^0.222.0",
|
|
@@ -439,7 +699,7 @@
|
|
|
439
699
|
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
440
700
|
"test:all": "pnpm test && pnpm test:integration",
|
|
441
701
|
"check-format": "prettier --check ./src",
|
|
442
|
-
"check-exports": "attw --pack . --ignore-rules
|
|
702
|
+
"check-exports": "attw --pack . --ignore-rules no-resolution",
|
|
443
703
|
"clean": "rimraf dist",
|
|
444
704
|
"quality": "pnpm type-check && pnpm test && pnpm lint && pnpm format:check && pnpm build && pnpm check-exports"
|
|
445
705
|
}
|