@opentelemetry/sdk-trace-base
Advanced tools
Comparing version 1.25.1 to 1.26.0
@@ -34,2 +34,3 @@ /* | ||
export function loadDefaultConfig() { | ||
var _env = getEnv(); | ||
return { | ||
@@ -39,12 +40,12 @@ sampler: buildSamplerFromEnv(env), | ||
generalLimits: { | ||
attributeValueLengthLimit: getEnv().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: getEnv().OTEL_ATTRIBUTE_COUNT_LIMIT, | ||
attributeValueLengthLimit: _env.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: _env.OTEL_ATTRIBUTE_COUNT_LIMIT, | ||
}, | ||
spanLimits: { | ||
attributeValueLengthLimit: getEnv().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, | ||
linkCountLimit: getEnv().OTEL_SPAN_LINK_COUNT_LIMIT, | ||
eventCountLimit: getEnv().OTEL_SPAN_EVENT_COUNT_LIMIT, | ||
attributePerEventCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, | ||
attributePerLinkCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, | ||
attributeValueLengthLimit: _env.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: _env.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, | ||
linkCountLimit: _env.OTEL_SPAN_LINK_COUNT_LIMIT, | ||
eventCountLimit: _env.OTEL_SPAN_EVENT_COUNT_LIMIT, | ||
attributePerEventCountLimit: _env.OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, | ||
attributePerLinkCountLimit: _env.OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, | ||
}, | ||
@@ -51,0 +52,0 @@ }; |
@@ -7,2 +7,4 @@ import { SpanExporter } from './SpanExporter'; | ||
* console. This class can be used for diagnostic purposes. | ||
* | ||
* NOTE: This {@link SpanExporter} is intended for diagnostics use only, output rendered to the console may change at any time. | ||
*/ | ||
@@ -9,0 +11,0 @@ export declare class ConsoleSpanExporter implements SpanExporter { |
@@ -31,2 +31,4 @@ /* | ||
* console. This class can be used for diagnostic purposes. | ||
* | ||
* NOTE: This {@link SpanExporter} is intended for diagnostics use only, output rendered to the console may change at any time. | ||
*/ | ||
@@ -68,2 +70,3 @@ /* eslint-disable no-console */ | ||
}, | ||
instrumentationScope: span.instrumentationLibrary, | ||
traceId: span.spanContext().traceId, | ||
@@ -70,0 +73,0 @@ parentId: span.parentSpanId, |
@@ -1,20 +0,20 @@ | ||
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/InMemorySpanExporter'; | ||
export * from './export/ReadableSpan'; | ||
export * from './export/SimpleSpanProcessor'; | ||
export * from './export/SpanExporter'; | ||
export * from './export/NoopSpanProcessor'; | ||
export * from './sampler/AlwaysOffSampler'; | ||
export * from './sampler/AlwaysOnSampler'; | ||
export * from './sampler/ParentBasedSampler'; | ||
export * from './sampler/TraceIdRatioBasedSampler'; | ||
export * from './Sampler'; | ||
export * from './Span'; | ||
export * from './SpanProcessor'; | ||
export * from './TimedEvent'; | ||
export * from './types'; | ||
export * from './IdGenerator'; | ||
export { Tracer } from './Tracer'; | ||
export { BasicTracerProvider, EXPORTER_FACTORY, ForceFlushState, PROPAGATOR_FACTORY, } from './BasicTracerProvider'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './platform'; | ||
export { ConsoleSpanExporter } from './export/ConsoleSpanExporter'; | ||
export { InMemorySpanExporter } from './export/InMemorySpanExporter'; | ||
export { ReadableSpan } from './export/ReadableSpan'; | ||
export { SimpleSpanProcessor } from './export/SimpleSpanProcessor'; | ||
export { SpanExporter } from './export/SpanExporter'; | ||
export { NoopSpanProcessor } from './export/NoopSpanProcessor'; | ||
export { AlwaysOffSampler } from './sampler/AlwaysOffSampler'; | ||
export { AlwaysOnSampler } from './sampler/AlwaysOnSampler'; | ||
export { ParentBasedSampler } from './sampler/ParentBasedSampler'; | ||
export { TraceIdRatioBasedSampler } from './sampler/TraceIdRatioBasedSampler'; | ||
export { Sampler, SamplingDecision, SamplingResult } from './Sampler'; | ||
export { Span } from './Span'; | ||
export { SpanProcessor } from './SpanProcessor'; | ||
export { TimedEvent } from './TimedEvent'; | ||
export { BatchSpanProcessorBrowserConfig, BufferConfig, GeneralLimits, SDKRegistrationConfig, SpanLimits, TracerConfig, } from './types'; | ||
export { IdGenerator } from './IdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,21 +16,15 @@ /* | ||
*/ | ||
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/InMemorySpanExporter'; | ||
export * from './export/ReadableSpan'; | ||
export * from './export/SimpleSpanProcessor'; | ||
export * from './export/SpanExporter'; | ||
export * from './export/NoopSpanProcessor'; | ||
export * from './sampler/AlwaysOffSampler'; | ||
export * from './sampler/AlwaysOnSampler'; | ||
export * from './sampler/ParentBasedSampler'; | ||
export * from './sampler/TraceIdRatioBasedSampler'; | ||
export * from './Sampler'; | ||
export * from './Span'; | ||
export * from './SpanProcessor'; | ||
export * from './TimedEvent'; | ||
export * from './types'; | ||
export * from './IdGenerator'; | ||
export { Tracer } from './Tracer'; | ||
export { BasicTracerProvider, ForceFlushState, } from './BasicTracerProvider'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './platform'; | ||
export { ConsoleSpanExporter } from './export/ConsoleSpanExporter'; | ||
export { InMemorySpanExporter } from './export/InMemorySpanExporter'; | ||
export { SimpleSpanProcessor } from './export/SimpleSpanProcessor'; | ||
export { NoopSpanProcessor } from './export/NoopSpanProcessor'; | ||
export { AlwaysOffSampler } from './sampler/AlwaysOffSampler'; | ||
export { AlwaysOnSampler } from './sampler/AlwaysOnSampler'; | ||
export { ParentBasedSampler } from './sampler/ParentBasedSampler'; | ||
export { TraceIdRatioBasedSampler } from './sampler/TraceIdRatioBasedSampler'; | ||
export { SamplingDecision } from './Sampler'; | ||
export { Span } from './Span'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,4 +16,4 @@ /* | ||
*/ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './node'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './node'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,3 +16,3 @@ /* | ||
*/ | ||
export * from './node'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './node'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,4 +16,4 @@ /* | ||
*/ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.25.1"; | ||
export declare const VERSION = "1.26.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.25.1'; | ||
export var VERSION = '1.26.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -34,2 +34,3 @@ /* | ||
export function loadDefaultConfig() { | ||
const _env = getEnv(); | ||
return { | ||
@@ -39,12 +40,12 @@ sampler: buildSamplerFromEnv(env), | ||
generalLimits: { | ||
attributeValueLengthLimit: getEnv().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: getEnv().OTEL_ATTRIBUTE_COUNT_LIMIT, | ||
attributeValueLengthLimit: _env.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: _env.OTEL_ATTRIBUTE_COUNT_LIMIT, | ||
}, | ||
spanLimits: { | ||
attributeValueLengthLimit: getEnv().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, | ||
linkCountLimit: getEnv().OTEL_SPAN_LINK_COUNT_LIMIT, | ||
eventCountLimit: getEnv().OTEL_SPAN_EVENT_COUNT_LIMIT, | ||
attributePerEventCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, | ||
attributePerLinkCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, | ||
attributeValueLengthLimit: _env.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: _env.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, | ||
linkCountLimit: _env.OTEL_SPAN_LINK_COUNT_LIMIT, | ||
eventCountLimit: _env.OTEL_SPAN_EVENT_COUNT_LIMIT, | ||
attributePerEventCountLimit: _env.OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, | ||
attributePerLinkCountLimit: _env.OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, | ||
}, | ||
@@ -51,0 +52,0 @@ }; |
@@ -7,2 +7,4 @@ import { SpanExporter } from './SpanExporter'; | ||
* console. This class can be used for diagnostic purposes. | ||
* | ||
* NOTE: This {@link SpanExporter} is intended for diagnostics use only, output rendered to the console may change at any time. | ||
*/ | ||
@@ -9,0 +11,0 @@ export declare class ConsoleSpanExporter implements SpanExporter { |
@@ -20,2 +20,4 @@ /* | ||
* console. This class can be used for diagnostic purposes. | ||
* | ||
* NOTE: This {@link SpanExporter} is intended for diagnostics use only, output rendered to the console may change at any time. | ||
*/ | ||
@@ -55,2 +57,3 @@ /* eslint-disable no-console */ | ||
}, | ||
instrumentationScope: span.instrumentationLibrary, | ||
traceId: span.spanContext().traceId, | ||
@@ -57,0 +60,0 @@ parentId: span.parentSpanId, |
@@ -1,20 +0,20 @@ | ||
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/InMemorySpanExporter'; | ||
export * from './export/ReadableSpan'; | ||
export * from './export/SimpleSpanProcessor'; | ||
export * from './export/SpanExporter'; | ||
export * from './export/NoopSpanProcessor'; | ||
export * from './sampler/AlwaysOffSampler'; | ||
export * from './sampler/AlwaysOnSampler'; | ||
export * from './sampler/ParentBasedSampler'; | ||
export * from './sampler/TraceIdRatioBasedSampler'; | ||
export * from './Sampler'; | ||
export * from './Span'; | ||
export * from './SpanProcessor'; | ||
export * from './TimedEvent'; | ||
export * from './types'; | ||
export * from './IdGenerator'; | ||
export { Tracer } from './Tracer'; | ||
export { BasicTracerProvider, EXPORTER_FACTORY, ForceFlushState, PROPAGATOR_FACTORY, } from './BasicTracerProvider'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './platform'; | ||
export { ConsoleSpanExporter } from './export/ConsoleSpanExporter'; | ||
export { InMemorySpanExporter } from './export/InMemorySpanExporter'; | ||
export { ReadableSpan } from './export/ReadableSpan'; | ||
export { SimpleSpanProcessor } from './export/SimpleSpanProcessor'; | ||
export { SpanExporter } from './export/SpanExporter'; | ||
export { NoopSpanProcessor } from './export/NoopSpanProcessor'; | ||
export { AlwaysOffSampler } from './sampler/AlwaysOffSampler'; | ||
export { AlwaysOnSampler } from './sampler/AlwaysOnSampler'; | ||
export { ParentBasedSampler } from './sampler/ParentBasedSampler'; | ||
export { TraceIdRatioBasedSampler } from './sampler/TraceIdRatioBasedSampler'; | ||
export { Sampler, SamplingDecision, SamplingResult } from './Sampler'; | ||
export { Span } from './Span'; | ||
export { SpanProcessor } from './SpanProcessor'; | ||
export { TimedEvent } from './TimedEvent'; | ||
export { BatchSpanProcessorBrowserConfig, BufferConfig, GeneralLimits, SDKRegistrationConfig, SpanLimits, TracerConfig, } from './types'; | ||
export { IdGenerator } from './IdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,21 +16,15 @@ /* | ||
*/ | ||
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/InMemorySpanExporter'; | ||
export * from './export/ReadableSpan'; | ||
export * from './export/SimpleSpanProcessor'; | ||
export * from './export/SpanExporter'; | ||
export * from './export/NoopSpanProcessor'; | ||
export * from './sampler/AlwaysOffSampler'; | ||
export * from './sampler/AlwaysOnSampler'; | ||
export * from './sampler/ParentBasedSampler'; | ||
export * from './sampler/TraceIdRatioBasedSampler'; | ||
export * from './Sampler'; | ||
export * from './Span'; | ||
export * from './SpanProcessor'; | ||
export * from './TimedEvent'; | ||
export * from './types'; | ||
export * from './IdGenerator'; | ||
export { Tracer } from './Tracer'; | ||
export { BasicTracerProvider, ForceFlushState, } from './BasicTracerProvider'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './platform'; | ||
export { ConsoleSpanExporter } from './export/ConsoleSpanExporter'; | ||
export { InMemorySpanExporter } from './export/InMemorySpanExporter'; | ||
export { SimpleSpanProcessor } from './export/SimpleSpanProcessor'; | ||
export { NoopSpanProcessor } from './export/NoopSpanProcessor'; | ||
export { AlwaysOffSampler } from './sampler/AlwaysOffSampler'; | ||
export { AlwaysOnSampler } from './sampler/AlwaysOnSampler'; | ||
export { ParentBasedSampler } from './sampler/ParentBasedSampler'; | ||
export { TraceIdRatioBasedSampler } from './sampler/TraceIdRatioBasedSampler'; | ||
export { SamplingDecision } from './Sampler'; | ||
export { Span } from './Span'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,4 +16,4 @@ /* | ||
*/ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './node'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './node'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,3 +16,3 @@ /* | ||
*/ | ||
export * from './node'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './node'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,4 +16,4 @@ /* | ||
*/ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.25.1"; | ||
export declare const VERSION = "1.26.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '1.25.1'; | ||
export const VERSION = '1.26.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -37,2 +37,3 @@ "use strict"; | ||
function loadDefaultConfig() { | ||
const _env = (0, core_1.getEnv)(); | ||
return { | ||
@@ -42,12 +43,12 @@ sampler: buildSamplerFromEnv(env), | ||
generalLimits: { | ||
attributeValueLengthLimit: (0, core_1.getEnv)().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: (0, core_1.getEnv)().OTEL_ATTRIBUTE_COUNT_LIMIT, | ||
attributeValueLengthLimit: _env.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: _env.OTEL_ATTRIBUTE_COUNT_LIMIT, | ||
}, | ||
spanLimits: { | ||
attributeValueLengthLimit: (0, core_1.getEnv)().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: (0, core_1.getEnv)().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, | ||
linkCountLimit: (0, core_1.getEnv)().OTEL_SPAN_LINK_COUNT_LIMIT, | ||
eventCountLimit: (0, core_1.getEnv)().OTEL_SPAN_EVENT_COUNT_LIMIT, | ||
attributePerEventCountLimit: (0, core_1.getEnv)().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, | ||
attributePerLinkCountLimit: (0, core_1.getEnv)().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, | ||
attributeValueLengthLimit: _env.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, | ||
attributeCountLimit: _env.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, | ||
linkCountLimit: _env.OTEL_SPAN_LINK_COUNT_LIMIT, | ||
eventCountLimit: _env.OTEL_SPAN_EVENT_COUNT_LIMIT, | ||
attributePerEventCountLimit: _env.OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, | ||
attributePerLinkCountLimit: _env.OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, | ||
}, | ||
@@ -54,0 +55,0 @@ }; |
@@ -7,2 +7,4 @@ import { SpanExporter } from './SpanExporter'; | ||
* console. This class can be used for diagnostic purposes. | ||
* | ||
* NOTE: This {@link SpanExporter} is intended for diagnostics use only, output rendered to the console may change at any time. | ||
*/ | ||
@@ -9,0 +11,0 @@ export declare class ConsoleSpanExporter implements SpanExporter { |
@@ -23,2 +23,4 @@ "use strict"; | ||
* console. This class can be used for diagnostic purposes. | ||
* | ||
* NOTE: This {@link SpanExporter} is intended for diagnostics use only, output rendered to the console may change at any time. | ||
*/ | ||
@@ -58,2 +60,3 @@ /* eslint-disable no-console */ | ||
}, | ||
instrumentationScope: span.instrumentationLibrary, | ||
traceId: span.spanContext().traceId, | ||
@@ -60,0 +63,0 @@ parentId: span.parentSpanId, |
@@ -1,20 +0,20 @@ | ||
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/InMemorySpanExporter'; | ||
export * from './export/ReadableSpan'; | ||
export * from './export/SimpleSpanProcessor'; | ||
export * from './export/SpanExporter'; | ||
export * from './export/NoopSpanProcessor'; | ||
export * from './sampler/AlwaysOffSampler'; | ||
export * from './sampler/AlwaysOnSampler'; | ||
export * from './sampler/ParentBasedSampler'; | ||
export * from './sampler/TraceIdRatioBasedSampler'; | ||
export * from './Sampler'; | ||
export * from './Span'; | ||
export * from './SpanProcessor'; | ||
export * from './TimedEvent'; | ||
export * from './types'; | ||
export * from './IdGenerator'; | ||
export { Tracer } from './Tracer'; | ||
export { BasicTracerProvider, EXPORTER_FACTORY, ForceFlushState, PROPAGATOR_FACTORY, } from './BasicTracerProvider'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './platform'; | ||
export { ConsoleSpanExporter } from './export/ConsoleSpanExporter'; | ||
export { InMemorySpanExporter } from './export/InMemorySpanExporter'; | ||
export { ReadableSpan } from './export/ReadableSpan'; | ||
export { SimpleSpanProcessor } from './export/SimpleSpanProcessor'; | ||
export { SpanExporter } from './export/SpanExporter'; | ||
export { NoopSpanProcessor } from './export/NoopSpanProcessor'; | ||
export { AlwaysOffSampler } from './sampler/AlwaysOffSampler'; | ||
export { AlwaysOnSampler } from './sampler/AlwaysOnSampler'; | ||
export { ParentBasedSampler } from './sampler/ParentBasedSampler'; | ||
export { TraceIdRatioBasedSampler } from './sampler/TraceIdRatioBasedSampler'; | ||
export { Sampler, SamplingDecision, SamplingResult } from './Sampler'; | ||
export { Span } from './Span'; | ||
export { SpanProcessor } from './SpanProcessor'; | ||
export { TimedEvent } from './TimedEvent'; | ||
export { BatchSpanProcessorBrowserConfig, BufferConfig, GeneralLimits, SDKRegistrationConfig, SpanLimits, TracerConfig, } from './types'; | ||
export { IdGenerator } from './IdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,32 +17,32 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./Tracer"), exports); | ||
__exportStar(require("./BasicTracerProvider"), exports); | ||
__exportStar(require("./platform"), exports); | ||
__exportStar(require("./export/ConsoleSpanExporter"), exports); | ||
__exportStar(require("./export/InMemorySpanExporter"), exports); | ||
__exportStar(require("./export/ReadableSpan"), exports); | ||
__exportStar(require("./export/SimpleSpanProcessor"), exports); | ||
__exportStar(require("./export/SpanExporter"), exports); | ||
__exportStar(require("./export/NoopSpanProcessor"), exports); | ||
__exportStar(require("./sampler/AlwaysOffSampler"), exports); | ||
__exportStar(require("./sampler/AlwaysOnSampler"), exports); | ||
__exportStar(require("./sampler/ParentBasedSampler"), exports); | ||
__exportStar(require("./sampler/TraceIdRatioBasedSampler"), exports); | ||
__exportStar(require("./Sampler"), exports); | ||
__exportStar(require("./Span"), exports); | ||
__exportStar(require("./SpanProcessor"), exports); | ||
__exportStar(require("./TimedEvent"), exports); | ||
__exportStar(require("./types"), exports); | ||
__exportStar(require("./IdGenerator"), exports); | ||
exports.Span = exports.SamplingDecision = exports.TraceIdRatioBasedSampler = exports.ParentBasedSampler = exports.AlwaysOnSampler = exports.AlwaysOffSampler = exports.NoopSpanProcessor = exports.SimpleSpanProcessor = exports.InMemorySpanExporter = exports.ConsoleSpanExporter = exports.RandomIdGenerator = exports.BatchSpanProcessor = exports.ForceFlushState = exports.BasicTracerProvider = exports.Tracer = void 0; | ||
var Tracer_1 = require("./Tracer"); | ||
Object.defineProperty(exports, "Tracer", { enumerable: true, get: function () { return Tracer_1.Tracer; } }); | ||
var BasicTracerProvider_1 = require("./BasicTracerProvider"); | ||
Object.defineProperty(exports, "BasicTracerProvider", { enumerable: true, get: function () { return BasicTracerProvider_1.BasicTracerProvider; } }); | ||
Object.defineProperty(exports, "ForceFlushState", { enumerable: true, get: function () { return BasicTracerProvider_1.ForceFlushState; } }); | ||
var platform_1 = require("./platform"); | ||
Object.defineProperty(exports, "BatchSpanProcessor", { enumerable: true, get: function () { return platform_1.BatchSpanProcessor; } }); | ||
Object.defineProperty(exports, "RandomIdGenerator", { enumerable: true, get: function () { return platform_1.RandomIdGenerator; } }); | ||
var ConsoleSpanExporter_1 = require("./export/ConsoleSpanExporter"); | ||
Object.defineProperty(exports, "ConsoleSpanExporter", { enumerable: true, get: function () { return ConsoleSpanExporter_1.ConsoleSpanExporter; } }); | ||
var InMemorySpanExporter_1 = require("./export/InMemorySpanExporter"); | ||
Object.defineProperty(exports, "InMemorySpanExporter", { enumerable: true, get: function () { return InMemorySpanExporter_1.InMemorySpanExporter; } }); | ||
var SimpleSpanProcessor_1 = require("./export/SimpleSpanProcessor"); | ||
Object.defineProperty(exports, "SimpleSpanProcessor", { enumerable: true, get: function () { return SimpleSpanProcessor_1.SimpleSpanProcessor; } }); | ||
var NoopSpanProcessor_1 = require("./export/NoopSpanProcessor"); | ||
Object.defineProperty(exports, "NoopSpanProcessor", { enumerable: true, get: function () { return NoopSpanProcessor_1.NoopSpanProcessor; } }); | ||
var AlwaysOffSampler_1 = require("./sampler/AlwaysOffSampler"); | ||
Object.defineProperty(exports, "AlwaysOffSampler", { enumerable: true, get: function () { return AlwaysOffSampler_1.AlwaysOffSampler; } }); | ||
var AlwaysOnSampler_1 = require("./sampler/AlwaysOnSampler"); | ||
Object.defineProperty(exports, "AlwaysOnSampler", { enumerable: true, get: function () { return AlwaysOnSampler_1.AlwaysOnSampler; } }); | ||
var ParentBasedSampler_1 = require("./sampler/ParentBasedSampler"); | ||
Object.defineProperty(exports, "ParentBasedSampler", { enumerable: true, get: function () { return ParentBasedSampler_1.ParentBasedSampler; } }); | ||
var TraceIdRatioBasedSampler_1 = require("./sampler/TraceIdRatioBasedSampler"); | ||
Object.defineProperty(exports, "TraceIdRatioBasedSampler", { enumerable: true, get: function () { return TraceIdRatioBasedSampler_1.TraceIdRatioBasedSampler; } }); | ||
var Sampler_1 = require("./Sampler"); | ||
Object.defineProperty(exports, "SamplingDecision", { enumerable: true, get: function () { return Sampler_1.SamplingDecision; } }); | ||
var Span_1 = require("./Span"); | ||
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return Span_1.Span; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,15 +17,8 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./export/BatchSpanProcessor"), exports); | ||
__exportStar(require("./RandomIdGenerator"), exports); | ||
exports.RandomIdGenerator = exports.BatchSpanProcessor = void 0; | ||
var BatchSpanProcessor_1 = require("./export/BatchSpanProcessor"); | ||
Object.defineProperty(exports, "BatchSpanProcessor", { enumerable: true, get: function () { return BatchSpanProcessor_1.BatchSpanProcessor; } }); | ||
var RandomIdGenerator_1 = require("./RandomIdGenerator"); | ||
Object.defineProperty(exports, "RandomIdGenerator", { enumerable: true, get: function () { return RandomIdGenerator_1.RandomIdGenerator; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './node'; | ||
export { BatchSpanProcessor, RandomIdGenerator } from './node'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,14 +17,7 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./node"), exports); | ||
exports.RandomIdGenerator = exports.BatchSpanProcessor = void 0; | ||
var node_1 = require("./node"); | ||
Object.defineProperty(exports, "BatchSpanProcessor", { enumerable: true, get: function () { return node_1.BatchSpanProcessor; } }); | ||
Object.defineProperty(exports, "RandomIdGenerator", { enumerable: true, get: function () { return node_1.RandomIdGenerator; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './RandomIdGenerator'; | ||
export { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
export { RandomIdGenerator } from './RandomIdGenerator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,15 +17,8 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./export/BatchSpanProcessor"), exports); | ||
__exportStar(require("./RandomIdGenerator"), exports); | ||
exports.RandomIdGenerator = exports.BatchSpanProcessor = void 0; | ||
var BatchSpanProcessor_1 = require("./export/BatchSpanProcessor"); | ||
Object.defineProperty(exports, "BatchSpanProcessor", { enumerable: true, get: function () { return BatchSpanProcessor_1.BatchSpanProcessor; } }); | ||
var RandomIdGenerator_1 = require("./RandomIdGenerator"); | ||
Object.defineProperty(exports, "RandomIdGenerator", { enumerable: true, get: function () { return RandomIdGenerator_1.RandomIdGenerator; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.25.1"; | ||
export declare const VERSION = "1.26.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.25.1'; | ||
exports.VERSION = '1.26.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/sdk-trace-base", | ||
"version": "1.25.1", | ||
"version": "1.26.0", | ||
"description": "OpenTelemetry Tracing", | ||
@@ -20,3 +20,3 @@ "main": "build/src/index.js", | ||
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", | ||
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' --exclude 'test/browser/**/*.ts'", | ||
"test": "nyc mocha 'test/**/*.test.ts' --exclude 'test/browser/**/*.ts'", | ||
"test:browser": "karma start --single-run", | ||
@@ -71,10 +71,10 @@ "test:webworker": "karma start karma.worker.js --single-run", | ||
"@opentelemetry/api": ">=1.0.0 <1.10.0", | ||
"@types/mocha": "10.0.6", | ||
"@types/mocha": "10.0.7", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "17.0.3", | ||
"@types/webpack-env": "1.16.3", | ||
"babel-plugin-istanbul": "6.1.1", | ||
"babel-plugin-istanbul": "7.0.0", | ||
"codecov": "3.8.3", | ||
"cross-var": "1.1.0", | ||
"karma": "6.4.3", | ||
"karma": "6.4.4", | ||
"karma-chrome-launcher": "3.1.0", | ||
@@ -87,7 +87,6 @@ "karma-coverage": "2.2.1", | ||
"lerna": "6.6.2", | ||
"mocha": "10.2.0", | ||
"mocha": "10.7.3", | ||
"nyc": "15.1.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "9.5.1", | ||
"ts-mocha": "10.0.0", | ||
"typescript": "4.4.4", | ||
@@ -100,9 +99,9 @@ "webpack": "5.89.0" | ||
"dependencies": { | ||
"@opentelemetry/core": "1.25.1", | ||
"@opentelemetry/resources": "1.25.1", | ||
"@opentelemetry/semantic-conventions": "1.25.1" | ||
"@opentelemetry/core": "1.26.0", | ||
"@opentelemetry/resources": "1.26.0", | ||
"@opentelemetry/semantic-conventions": "1.27.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base", | ||
"sideEffects": false, | ||
"gitHead": "0608f405573901e54db01e44c533009cf28be262" | ||
"gitHead": "720bc8c70d47029cb6b41a34ffdc3d25cbaa2f80" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
782749
22
8347
+ Added@opentelemetry/core@1.26.0(transitive)
+ Added@opentelemetry/resources@1.26.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.27.0(transitive)
- Removed@opentelemetry/core@1.25.1(transitive)
- Removed@opentelemetry/resources@1.25.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.25.1(transitive)
Updated@opentelemetry/core@1.26.0