@sentry/opentelemetry 10.38.0 → 10.39.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/index.js +2 -32
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.js +3 -33
- package/build/esm/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/types/propagator.d.ts +2 -8
- package/build/types/propagator.d.ts.map +1 -1
- package/build/types-ts3.8/propagator.d.ts +2 -8
- package/package.json +2 -2
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.39.0","sideEffects":false}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Context, TextMapGetter, TextMapSetter } from '@opentelemetry/api';
|
|
2
2
|
import { W3CBaggagePropagator } from '@opentelemetry/core';
|
|
3
|
-
import type { Client, continueTrace, DynamicSamplingContext,
|
|
4
|
-
import { LRUMap } from '@sentry/core';
|
|
3
|
+
import type { Client, continueTrace, DynamicSamplingContext, Scope } from '@sentry/core';
|
|
5
4
|
/**
|
|
6
5
|
* Injects and extracts `sentry-trace` and `baggage` headers from carriers.
|
|
7
6
|
*/
|
|
@@ -22,12 +21,7 @@ export declare class SentryPropagator extends W3CBaggagePropagator {
|
|
|
22
21
|
*/
|
|
23
22
|
fields(): string[];
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
* Check if a given URL should be propagated to or not.
|
|
27
|
-
* If no url is defined, or no trace propagation targets are defined, this will always return `true`.
|
|
28
|
-
* You can also optionally provide a decision map, to cache decisions and avoid repeated regex lookups.
|
|
29
|
-
*/
|
|
30
|
-
export declare function shouldPropagateTraceForUrl(url: string | undefined, tracePropagationTargets: Options['tracePropagationTargets'], decisionMap?: LRUMap<string, boolean>): boolean;
|
|
24
|
+
export { shouldPropagateTraceForUrl } from '@sentry/core';
|
|
31
25
|
/**
|
|
32
26
|
* Get propagation injection data for the given context.
|
|
33
27
|
* The additional options can be passed to override the scope and client that is otherwise derived from the context.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propagator.d.ts","sourceRoot":"","sources":["../../src/propagator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,OAAO,EAAqB,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE5G,OAAO,EAAuB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"propagator.d.ts","sourceRoot":"","sources":["../../src/propagator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,OAAO,EAAqB,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE5G,OAAO,EAAuB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AA0BzF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,oBAAoB;IACxD,8FAA8F;IAC9F,OAAO,CAAC,qBAAqB,CAA0B;;IAUvD;;OAEG;IACI,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,GAAG,IAAI;IAoD9E;;OAEG;IACI,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,GAAG,OAAO;IAelF;;OAEG;IACI,MAAM,IAAI,MAAM,EAAE;CAG1B;AAGD,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAE1D;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,GAC/C;IACD,sBAAsB,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACpE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B,CA2CA;AA6BD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,EACzC,GAAG,EAAE,OAAO,EACZ,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,EAC5C,QAAQ,EAAE,MAAM,CAAC,GAChB,CAAC,CAIH"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Context, TextMapGetter, TextMapSetter } from '@opentelemetry/api';
|
|
2
2
|
import { W3CBaggagePropagator } from '@opentelemetry/core';
|
|
3
|
-
import { Client, continueTrace, DynamicSamplingContext,
|
|
4
|
-
import { LRUMap } from '@sentry/core';
|
|
3
|
+
import { Client, continueTrace, DynamicSamplingContext, Scope } from '@sentry/core';
|
|
5
4
|
/**
|
|
6
5
|
* Injects and extracts `sentry-trace` and `baggage` headers from carriers.
|
|
7
6
|
*/
|
|
@@ -22,12 +21,7 @@ export declare class SentryPropagator extends W3CBaggagePropagator {
|
|
|
22
21
|
*/
|
|
23
22
|
fields(): string[];
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
* Check if a given URL should be propagated to or not.
|
|
27
|
-
* If no url is defined, or no trace propagation targets are defined, this will always return `true`.
|
|
28
|
-
* You can also optionally provide a decision map, to cache decisions and avoid repeated regex lookups.
|
|
29
|
-
*/
|
|
30
|
-
export declare function shouldPropagateTraceForUrl(url: string | undefined, tracePropagationTargets: Options['tracePropagationTargets'], decisionMap?: LRUMap<string, boolean>): boolean;
|
|
24
|
+
export { shouldPropagateTraceForUrl } from '@sentry/core';
|
|
31
25
|
/**
|
|
32
26
|
* Get propagation injection data for the given context.
|
|
33
27
|
* The additional options can be passed to override the scope and client that is otherwise derived from the context.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/opentelemetry",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.39.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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sentry/core": "10.
|
|
42
|
+
"@sentry/core": "10.39.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@opentelemetry/api": "^1.9.0",
|