@sentry/opentelemetry 8.11.0 → 8.12.0-beta.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/cjs/index.js +7 -5
- package/cjs/index.js.map +1 -1
- package/esm/index.js +7 -5
- package/esm/index.js.map +1 -1
- package/package.json +4 -4
- package/types/spanExporter.d.ts +4 -1
- package/types/spanExporter.d.ts.map +1 -1
- package/types/spanProcessor.d.ts +3 -1
- package/types/spanProcessor.d.ts.map +1 -1
- package/types-ts3.8/spanExporter.d.ts +4 -1
- package/types-ts3.8/spanProcessor.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/opentelemetry",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.0-beta.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",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@sentry/core": "8.
|
|
46
|
-
"@sentry/types": "8.
|
|
47
|
-
"@sentry/utils": "8.
|
|
45
|
+
"@sentry/core": "8.12.0-beta.0",
|
|
46
|
+
"@sentry/types": "8.12.0-beta.0",
|
|
47
|
+
"@sentry/utils": "8.12.0-beta.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@opentelemetry/api": "^1.9.0",
|
package/types/spanExporter.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
|
5
5
|
export declare class SentrySpanExporter {
|
|
6
6
|
private _flushTimeout;
|
|
7
7
|
private _finishedSpans;
|
|
8
|
-
|
|
8
|
+
private _timeout;
|
|
9
|
+
constructor(options?: {
|
|
10
|
+
timeout?: number;
|
|
11
|
+
});
|
|
9
12
|
/** Export a single span. */
|
|
10
13
|
export(span: ReadableSpan): void;
|
|
11
14
|
/** Try to flush any pending spans immediately. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spanExporter.d.ts","sourceRoot":"","sources":["../../src/spanExporter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"spanExporter.d.ts","sourceRoot":"","sources":["../../src/spanExporter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAmClE;;GAEG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,aAAa,CAA4C;IACjE,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAS;gBAEN,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;IAKjD,4BAA4B;IACrB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAoBvC,kDAAkD;IAC3C,KAAK,IAAI,IAAI;IAgBpB,0BAA0B;IACnB,KAAK,IAAI,IAAI;IAKpB,+BAA+B;IAC/B,OAAO,CAAC,aAAa;IAOrB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;CAazB"}
|
package/types/spanProcessor.d.ts
CHANGED
|
@@ -6,7 +6,9 @@ import type { ReadableSpan, Span, SpanProcessor as SpanProcessorInterface } from
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SentrySpanProcessor implements SpanProcessorInterface {
|
|
8
8
|
private _exporter;
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(options?: {
|
|
10
|
+
timeout?: number;
|
|
11
|
+
});
|
|
10
12
|
/**
|
|
11
13
|
* @inheritDoc
|
|
12
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spanProcessor.d.ts","sourceRoot":"","sources":["../../src/spanProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AA0DjH;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,sBAAsB;IAChE,OAAO,CAAC,SAAS,CAAqB;;
|
|
1
|
+
{"version":3,"file":"spanProcessor.d.ts","sourceRoot":"","sources":["../../src/spanProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AA0DjH;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,sBAAsB;IAChE,OAAO,CAAC,SAAS,CAAqB;gBAEnB,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;IAKjD;;OAEG;IACU,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIxC;;OAEG;IACU,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAItC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,GAAG,IAAI;IAIxD,kBAAkB;IACX,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,GAAG,IAAI;CAK9C"}
|
|
@@ -5,7 +5,10 @@ import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
|
5
5
|
export declare class SentrySpanExporter {
|
|
6
6
|
private _flushTimeout;
|
|
7
7
|
private _finishedSpans;
|
|
8
|
-
|
|
8
|
+
private _timeout;
|
|
9
|
+
constructor(options?: {
|
|
10
|
+
timeout?: number;
|
|
11
|
+
});
|
|
9
12
|
/** Export a single span. */
|
|
10
13
|
export(span: ReadableSpan): void;
|
|
11
14
|
/** Try to flush any pending spans immediately. */
|
|
@@ -6,7 +6,9 @@ import { ReadableSpan, Span, SpanProcessor as SpanProcessorInterface } from '@op
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SentrySpanProcessor implements SpanProcessorInterface {
|
|
8
8
|
private _exporter;
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(options?: {
|
|
10
|
+
timeout?: number;
|
|
11
|
+
});
|
|
10
12
|
/**
|
|
11
13
|
* @inheritDoc
|
|
12
14
|
*/
|