@sentry/opentelemetry 8.36.0 → 8.37.1
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 +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.js +3 -3
- package/build/esm/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/types/types.d.ts +1 -1
- package/build/types/utils/isSentryRequest.d.ts +1 -1
- package/build/types-ts3.8/types.d.ts +1 -1
- package/build/types-ts3.8/utils/isSentryRequest.d.ts +1 -1
- package/package.json +5 -5
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"8.
|
|
1
|
+
{"type":"module","version":"8.37.1","sideEffects":false}
|
package/build/types/types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface OpenTelemetrySpanContext extends StartSpanOptions {
|
|
|
14
14
|
* so in these cases we type this as `AbstractSpan` which could be either a regular `Span` or a `ReadableSpan`.
|
|
15
15
|
* You'll have to make sure to check relevant fields before accessing them.
|
|
16
16
|
*
|
|
17
|
-
* Note that technically, the `Span` exported from `@
|
|
17
|
+
* Note that technically, the `Span` exported from `@opentelemetry/sdk-trace-base` matches this,
|
|
18
18
|
* but we cannot be 100% sure that we are actually getting such a span, so this type is more defensive.
|
|
19
19
|
*/
|
|
20
20
|
export type AbstractSpan = WriteableSpan | ReadableSpan | Span;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AbstractSpan } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
|
-
* @param otelSpan Checks
|
|
4
|
+
* @param otelSpan Checks whether a given OTEL Span is an http request to sentry.
|
|
5
5
|
* @returns boolean
|
|
6
6
|
*/
|
|
7
7
|
export declare function isSentryRequestSpan(span: AbstractSpan): boolean;
|
|
@@ -14,7 +14,7 @@ export interface OpenTelemetrySpanContext extends StartSpanOptions {
|
|
|
14
14
|
* so in these cases we type this as `AbstractSpan` which could be either a regular `Span` or a `ReadableSpan`.
|
|
15
15
|
* You'll have to make sure to check relevant fields before accessing them.
|
|
16
16
|
*
|
|
17
|
-
* Note that technically, the `Span` exported from `@
|
|
17
|
+
* Note that technically, the `Span` exported from `@opentelemetry/sdk-trace-base` matches this,
|
|
18
18
|
* but we cannot be 100% sure that we are actually getting such a span, so this type is more defensive.
|
|
19
19
|
*/
|
|
20
20
|
export type AbstractSpan = WriteableSpan | ReadableSpan | Span;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AbstractSpan } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
|
-
* @param otelSpan Checks
|
|
4
|
+
* @param otelSpan Checks whether a given OTEL Span is an http request to sentry.
|
|
5
5
|
* @returns boolean
|
|
6
6
|
*/
|
|
7
7
|
export declare function isSentryRequestSpan(span: AbstractSpan): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/opentelemetry",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.37.1",
|
|
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,14 +39,14 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sentry/core": "8.
|
|
43
|
-
"@sentry/types": "8.
|
|
44
|
-
"@sentry/utils": "8.
|
|
42
|
+
"@sentry/core": "8.37.1",
|
|
43
|
+
"@sentry/types": "8.37.1",
|
|
44
|
+
"@sentry/utils": "8.37.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@opentelemetry/api": "^1.9.0",
|
|
48
48
|
"@opentelemetry/core": "^1.25.1",
|
|
49
|
-
"@opentelemetry/instrumentation": "^0.
|
|
49
|
+
"@opentelemetry/instrumentation": "^0.54.0",
|
|
50
50
|
"@opentelemetry/sdk-trace-base": "^1.26.0",
|
|
51
51
|
"@opentelemetry/semantic-conventions": "^1.27.0"
|
|
52
52
|
},
|