autotel 2.16.0 → 2.17.0
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/index.cjs +4 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +10 -2
package/dist/index.cjs
CHANGED
|
@@ -502,6 +502,10 @@ Object.defineProperty(exports, "setAutotelTracerProvider", {
|
|
|
502
502
|
enumerable: true,
|
|
503
503
|
get: function () { return chunkYREV3LGG_cjs.setAutotelTracerProvider; }
|
|
504
504
|
});
|
|
505
|
+
Object.defineProperty(exports, "ROOT_CONTEXT", {
|
|
506
|
+
enumerable: true,
|
|
507
|
+
get: function () { return api.ROOT_CONTEXT; }
|
|
508
|
+
});
|
|
505
509
|
Object.defineProperty(exports, "SpanKind", {
|
|
506
510
|
enumerable: true,
|
|
507
511
|
get: function () { return api.SpanKind; }
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AutotelConfig, i as init } from './init-BMiXSJNM.cjs';
|
|
2
2
|
import { Span, Context } from '@opentelemetry/api';
|
|
3
|
-
export { Context, Span, SpanContext, SpanKind, SpanStatusCode, Tracer, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
3
|
+
export { Context, ROOT_CONTEXT, Span, SpanContext, SpanKind, Link as SpanLink, SpanStatusCode, TextMapGetter, TextMapSetter, Tracer, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
4
4
|
import { SpanProcessor, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
export { FilteringSpanProcessor, FilteringSpanProcessorOptions, SpanFilterPredicate } from './filtering-span-processor.cjs';
|
|
6
6
|
export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizerConfig, SpanNameNormalizerFn, SpanNameNormalizerPreset, SpanNameNormalizingProcessor, SpanNameNormalizingProcessorOptions } from './span-name-normalizer.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AutotelConfig, i as init } from './init-ByRbNTRo.js';
|
|
2
2
|
import { Span, Context } from '@opentelemetry/api';
|
|
3
|
-
export { Context, Span, SpanContext, SpanKind, SpanStatusCode, Tracer, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
3
|
+
export { Context, ROOT_CONTEXT, Span, SpanContext, SpanKind, Link as SpanLink, SpanStatusCode, TextMapGetter, TextMapSetter, Tracer, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
4
4
|
import { SpanProcessor, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
export { FilteringSpanProcessor, FilteringSpanProcessorOptions, SpanFilterPredicate } from './filtering-span-processor.js';
|
|
6
6
|
export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizerConfig, SpanNameNormalizerFn, SpanNameNormalizerPreset, SpanNameNormalizingProcessor, SpanNameNormalizingProcessorOptions } from './span-name-normalizer.js';
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import './chunk-B33XPEKY.js';
|
|
|
32
32
|
import './chunk-J5QENANM.js';
|
|
33
33
|
export { getAutotelTracer, getAutotelTracerProvider, setAutotelTracerProvider } from './chunk-HA2WBOGQ.js';
|
|
34
34
|
import './chunk-DGUM43GV.js';
|
|
35
|
-
export { SpanKind, SpanStatusCode, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
35
|
+
export { ROOT_CONTEXT, SpanKind, SpanStatusCode, context, trace as otelTrace, propagation } from '@opentelemetry/api';
|
|
36
36
|
|
|
37
37
|
// src/shutdown.ts
|
|
38
38
|
async function flush(options) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -250,8 +250,16 @@ export {
|
|
|
250
250
|
|
|
251
251
|
// Re-export common OpenTelemetry types and utilities
|
|
252
252
|
// This allows plugins and apps to use OTel without needing separate @opentelemetry/api installation
|
|
253
|
-
export type {
|
|
254
|
-
|
|
253
|
+
export type {
|
|
254
|
+
Span,
|
|
255
|
+
SpanContext,
|
|
256
|
+
Tracer,
|
|
257
|
+
Context,
|
|
258
|
+
Link as SpanLink,
|
|
259
|
+
TextMapSetter,
|
|
260
|
+
TextMapGetter,
|
|
261
|
+
} from '@opentelemetry/api';
|
|
262
|
+
export { SpanKind, ROOT_CONTEXT } from '@opentelemetry/api';
|
|
255
263
|
// Note: trace exported from functional.ts, context/propagation/SpanStatusCode already exported above
|
|
256
264
|
|
|
257
265
|
// Export typed baggage helper
|