@sentry/opentelemetry 10.62.0 → 10.63.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/build/cjs/{resource-DuZKnQnC.js → asyncContextStrategy-CvLbRw2N.js} +95 -101
- package/build/cjs/asyncContextStrategy-CvLbRw2N.js.map +1 -0
- package/build/cjs/index.browser.js +31 -35
- package/build/cjs/index.browser.js.map +1 -1
- package/build/cjs/index.js +64 -38
- package/build/cjs/index.js.map +1 -1
- package/build/esm/{resource-DazDAxCp.js → asyncContextStrategy-DfM95hx5.js} +99 -105
- package/build/esm/asyncContextStrategy-DfM95hx5.js.map +1 -0
- package/build/esm/index.browser.js +1 -5
- package/build/esm/index.browser.js.map +1 -1
- package/build/esm/index.js +35 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/types/asyncContextStrategy.d.ts +4 -1
- package/build/types/asyncContextStrategy.d.ts.map +1 -1
- package/build/types/asyncLocalStorageContextManager.d.ts.map +1 -1
- package/build/types/exports.d.ts +0 -1
- package/build/types/exports.d.ts.map +1 -1
- package/build/types/index.browser.d.ts +1 -0
- package/build/types/index.browser.d.ts.map +1 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/nodeAsyncContextStrategy.d.ts +4 -0
- package/build/types/nodeAsyncContextStrategy.d.ts.map +1 -0
- package/build/types/utils/parseSpanDescription.d.ts.map +1 -1
- package/build/types/utils/suppressTracing.d.ts +2 -0
- package/build/types/utils/suppressTracing.d.ts.map +1 -1
- package/build/types-ts3.8/asyncContextStrategy.d.ts +4 -1
- package/build/types-ts3.8/exports.d.ts +0 -1
- package/build/types-ts3.8/index.browser.d.ts +1 -0
- package/build/types-ts3.8/index.d.ts +1 -0
- package/build/types-ts3.8/nodeAsyncContextStrategy.d.ts +4 -0
- package/build/types-ts3.8/utils/suppressTracing.d.ts +2 -0
- package/package.json +2 -2
- package/build/cjs/resource-DuZKnQnC.js.map +0 -1
- package/build/esm/resource-DazDAxCp.js.map +0 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type { TracingChannelBinding } from '@sentry/core';
|
|
1
2
|
/**
|
|
2
3
|
* Sets the async context strategy to use follow the OTEL context under the hood.
|
|
3
4
|
* We handle forking a hub inside of our custom OTEL Context Manager (./otelContextManager.ts)
|
|
4
5
|
*/
|
|
5
|
-
export declare function setOpenTelemetryContextAsyncContextStrategy(
|
|
6
|
+
export declare function setOpenTelemetryContextAsyncContextStrategy(options?: {
|
|
7
|
+
getTracingChannelBinding?: () => TracingChannelBinding | undefined;
|
|
8
|
+
}): void;
|
|
6
9
|
//# sourceMappingURL=asyncContextStrategy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncContextStrategy.d.ts","sourceRoot":"","sources":["../../src/asyncContextStrategy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asyncContextStrategy.d.ts","sourceRoot":"","sources":["../../src/asyncContextStrategy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAS,qBAAqB,EAA2C,MAAM,cAAc,CAAC;AAc1G;;;GAGG;AACH,wBAAgB,2CAA2C,CAAC,OAAO,CAAC,EAAE;IACpE,wBAAwB,CAAC,EAAE,MAAM,qBAAqB,GAAG,SAAS,CAAC;CACpE,GAAG,IAAI,CA8FP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncLocalStorageContextManager.d.ts","sourceRoot":"","sources":["../../src/asyncLocalStorageContextManager.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"asyncLocalStorageContextManager.d.ts","sourceRoot":"","sources":["../../src/asyncLocalStorageContextManager.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAehE;;;GAGG;AACH,qBAAa,qCAAsC,YAAW,cAAc;IAC1E,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAElE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAyB;IACvD,OAAO,CAAC,QAAQ,CAAS;;IAWlB,MAAM,IAAI,OAAO;IAIjB,IAAI,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,EACtE,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,CAAC,EACL,OAAO,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAC9B,GAAG,IAAI,EAAE,CAAC,GACT,UAAU,CAAC,CAAC,CAAC;IAMT,MAAM,IAAI,IAAI;IAId,OAAO,IAAI,IAAI;IAKf,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC;IAU9C;;;OAGG;IACI,0BAA0B,IAAI,uBAAuB;IAO5D,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,iBAAiB;IAgCzB,OAAO,CAAC,oBAAoB;IAa5B,OAAO,CAAC,wBAAwB;IAiBhC,OAAO,CAAC,iBAAiB;IA4BzB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,YAAY;CAGrB"}
|
package/build/types/exports.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export { getActiveSpan } from './utils/getActiveSpan';
|
|
|
12
12
|
export { startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace, getTraceContextForScope, } from './trace';
|
|
13
13
|
export { suppressTracing } from './utils/suppressTracing';
|
|
14
14
|
export { setupEventContextTrace } from './setupEventContextTrace';
|
|
15
|
-
export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy';
|
|
16
15
|
export { wrapContextManagerClass } from './contextManager';
|
|
17
16
|
export { SentryPropagator, shouldPropagateTraceForUrl } from './propagator';
|
|
18
17
|
export { SentrySpanProcessor } from './spanProcessor';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2CAA2C,EAAE,MAAM,sBAAsB,CAAC;AAEnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,WAAW,EACX,eAAe,EACf,aAAa,GACd,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,iCAAiC,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,uCAAuC,EAAE,MAAM,iDAAiD,CAAC;AAE1G,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EACL,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,uBAAuB,GACxB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../src/exports.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EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -2,6 +2,7 @@ export * from './exports';
|
|
|
2
2
|
export declare class SentryAsyncLocalStorageContextManager {
|
|
3
3
|
constructor();
|
|
4
4
|
}
|
|
5
|
+
export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy';
|
|
5
6
|
export type AsyncLocalStorageLookup = {
|
|
6
7
|
asyncLocalStorage: unknown;
|
|
7
8
|
contextSymbol: symbol;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../src/index.browser.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAC;AAG1B,qBAAa,qCAAqC;;CAOjD;
|
|
1
|
+
{"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../src/index.browser.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAC;AAG1B,qBAAa,qCAAqC;;CAOjD;AAGD,OAAO,EAAE,2CAA2C,EAAE,MAAM,wBAAwB,CAAC;AAErF,MAAM,MAAM,uBAAuB,GAAG;IACpC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
package/build/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './exports';
|
|
2
2
|
export { SentryAsyncLocalStorageContextManager } from './asyncLocalStorageContextManager';
|
|
3
3
|
export type { AsyncLocalStorageLookup } from './contextManager';
|
|
4
|
+
export { setNodeOpenTelemetryContextAsyncContextStrategy as setOpenTelemetryContextAsyncContextStrategy } from './nodeAsyncContextStrategy';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAG1B,OAAO,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAC1F,YAAY,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAG1B,OAAO,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAC1F,YAAY,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,OAAO,EAAE,+CAA+C,IAAI,2CAA2C,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeAsyncContextStrategy.d.ts","sourceRoot":"","sources":["../../src/nodeAsyncContextStrategy.ts"],"names":[],"mappings":"AAeA,wBAAgB,+CAA+C,CAAC,OAAO,CAAC,EAAE;IAAE,sBAAsB,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,CAMpH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseSpanDescription.d.ts","sourceRoot":"","sources":["../../../src/utils/parseSpanDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAe9C,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAWtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EA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AE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,EACpF,UAAU,EAAE,cAAc,GACzB,eAAe,CAgFjB;AAmBD,8BAA8B;AAC9B,wBAAgB,eAAe,CAC7B,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,QAAQ,GACb;IACD,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAiCA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,UAAU,EACtB,cAAc,GAAE,iBAA4B,GAC3C;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,CAYA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Scope } from '@sentry/core';
|
|
1
2
|
/** Suppress tracing in the given callback, ensuring no spans are generated inside of it. */
|
|
2
3
|
export declare function suppressTracing<T>(callback: () => T): T;
|
|
4
|
+
export declare function isTracingSuppressed(scope?: Scope): boolean;
|
|
3
5
|
//# sourceMappingURL=suppressTracing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressTracing.d.ts","sourceRoot":"","sources":["../../../src/utils/suppressTracing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"suppressTracing.d.ts","sourceRoot":"","sources":["../../../src/utils/suppressTracing.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAG1C,4FAA4F;AAC5F,wBAAgB,eAAe,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,CAGvD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAG1D"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { TracingChannelBinding } from '@sentry/core';
|
|
1
2
|
/**
|
|
2
3
|
* Sets the async context strategy to use follow the OTEL context under the hood.
|
|
3
4
|
* We handle forking a hub inside of our custom OTEL Context Manager (./otelContextManager.ts)
|
|
4
5
|
*/
|
|
5
|
-
export declare function setOpenTelemetryContextAsyncContextStrategy(
|
|
6
|
+
export declare function setOpenTelemetryContextAsyncContextStrategy(options?: {
|
|
7
|
+
getTracingChannelBinding?: () => TracingChannelBinding | undefined;
|
|
8
|
+
}): void;
|
|
6
9
|
//# sourceMappingURL=asyncContextStrategy.d.ts.map
|
|
@@ -12,7 +12,6 @@ export { getActiveSpan } from './utils/getActiveSpan';
|
|
|
12
12
|
export { startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace, getTraceContextForScope, } from './trace';
|
|
13
13
|
export { suppressTracing } from './utils/suppressTracing';
|
|
14
14
|
export { setupEventContextTrace } from './setupEventContextTrace';
|
|
15
|
-
export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy';
|
|
16
15
|
export { wrapContextManagerClass } from './contextManager';
|
|
17
16
|
export { SentryPropagator, shouldPropagateTraceForUrl } from './propagator';
|
|
18
17
|
export { SentrySpanProcessor } from './spanProcessor';
|
|
@@ -2,6 +2,7 @@ export * from './exports';
|
|
|
2
2
|
export declare class SentryAsyncLocalStorageContextManager {
|
|
3
3
|
constructor();
|
|
4
4
|
}
|
|
5
|
+
export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy';
|
|
5
6
|
export type AsyncLocalStorageLookup = {
|
|
6
7
|
asyncLocalStorage: unknown;
|
|
7
8
|
contextSymbol: symbol;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './exports';
|
|
2
2
|
export { SentryAsyncLocalStorageContextManager } from './asyncLocalStorageContextManager';
|
|
3
3
|
export { AsyncLocalStorageLookup } from './contextManager';
|
|
4
|
+
export { setNodeOpenTelemetryContextAsyncContextStrategy as setOpenTelemetryContextAsyncContextStrategy } from './nodeAsyncContextStrategy';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Scope } from '@sentry/core';
|
|
1
2
|
/** Suppress tracing in the given callback, ensuring no spans are generated inside of it. */
|
|
2
3
|
export declare function suppressTracing<T>(callback: () => T): T;
|
|
4
|
+
export declare function isTracingSuppressed(scope?: Scope): boolean;
|
|
3
5
|
//# sourceMappingURL=suppressTracing.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/opentelemetry",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.63.0",
|
|
4
4
|
"description": "Official Sentry utilities for OpenTelemetry",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/opentelemetry",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@sentry/conventions": "^0.12.0",
|
|
59
|
-
"@sentry/core": "10.
|
|
59
|
+
"@sentry/core": "10.63.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@opentelemetry/api": "^1.9.0",
|