@sentry/opentelemetry
Advanced tools
Comparing version 8.0.0-alpha.9 to 8.0.0-beta.1
{ | ||
"name": "@sentry/opentelemetry", | ||
"version": "8.0.0-alpha.9", | ||
"version": "8.0.0-beta.1", | ||
"description": "Official Sentry utilities for OpenTelemetry", | ||
@@ -45,5 +45,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "8.0.0-alpha.9", | ||
"@sentry/types": "8.0.0-alpha.9", | ||
"@sentry/utils": "8.0.0-alpha.9" | ||
"@sentry/core": "8.0.0-beta.1", | ||
"@sentry/types": "8.0.0-beta.1", | ||
"@sentry/utils": "8.0.0-beta.1" | ||
}, | ||
@@ -50,0 +50,0 @@ "peerDependencies": { |
@@ -6,2 +6,3 @@ export declare const SENTRY_TRACE_HEADER = "sentry-trace"; | ||
export declare const SENTRY_TRACE_STATE_SAMPLED_NOT_RECORDING = "sentry.sampled_not_recording"; | ||
export declare const SENTRY_TRACE_STATE_URL = "sentry.url"; | ||
export declare const SENTRY_SCOPES_CONTEXT_KEY: symbol; | ||
@@ -8,0 +9,0 @@ export declare const SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY: symbol; |
@@ -1,6 +0,5 @@ | ||
import { getRequestSpanData } from './utils/getRequestSpanData'; | ||
export { getRequestSpanData } from './utils/getRequestSpanData'; | ||
export { OpenTelemetryClient } from './types'; | ||
export { wrapClientClass } from './custom/client'; | ||
export { getSpanKind } from './utils/getSpanKind'; | ||
export { getSpanScopes } from './utils/spanData'; | ||
export { getScopesFromContext } from './utils/contextData'; | ||
@@ -12,4 +11,5 @@ export { spanHasAttributes, spanHasEvents, spanHasKind, spanHasName, spanHasParentId, spanHasStatus, } from './utils/spanTypes'; | ||
export { startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace } from './trace'; | ||
export { suppressTracing } from './utils/suppressTracing'; | ||
export { setupGlobalHub } from './custom/hub'; | ||
export { getCurrentHub } from './custom/getCurrentHub'; | ||
export { getCurrentHubShim } from '@sentry/core'; | ||
export { setupEventContextTrace } from './setupEventContextTrace'; | ||
@@ -23,10 +23,2 @@ export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy'; | ||
export { getClient } from '@sentry/core'; | ||
/** | ||
* The following internal utils are not considered public API and are subject to change. | ||
* @hidden | ||
*/ | ||
declare const _INTERNAL: { | ||
readonly getRequestSpanData: typeof getRequestSpanData; | ||
}; | ||
export { _INTERNAL }; | ||
//# sourceMappingURL=index.d.ts.map |
import { Context } from '@opentelemetry/api'; | ||
import { SpanKind } from '@opentelemetry/api'; | ||
import { Sampler, SamplingResult } from '@opentelemetry/sdk-trace-base'; | ||
@@ -11,3 +12,3 @@ import { Client, SpanAttributes } from '@sentry/types'; | ||
/** @inheritDoc */ | ||
shouldSample(context: Context, traceId: string, spanName: string, _spanKind: unknown, spanAttributes: SpanAttributes, _links: unknown): SamplingResult; | ||
shouldSample(context: Context, traceId: string, spanName: string, spanKind: SpanKind, spanAttributes: SpanAttributes, _links: unknown): SamplingResult; | ||
/** Returns the sampler name or short description with the configuration. */ | ||
@@ -14,0 +15,0 @@ toString(): string; |
@@ -6,2 +6,3 @@ export declare const SENTRY_TRACE_HEADER = "sentry-trace"; | ||
export declare const SENTRY_TRACE_STATE_SAMPLED_NOT_RECORDING = "sentry.sampled_not_recording"; | ||
export declare const SENTRY_TRACE_STATE_URL = "sentry.url"; | ||
export declare const SENTRY_SCOPES_CONTEXT_KEY: symbol; | ||
@@ -8,0 +9,0 @@ export declare const SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY: symbol; |
@@ -1,6 +0,5 @@ | ||
import { getRequestSpanData } from './utils/getRequestSpanData'; | ||
export { getRequestSpanData } from './utils/getRequestSpanData'; | ||
export type { OpenTelemetryClient } from './types'; | ||
export { wrapClientClass } from './custom/client'; | ||
export { getSpanKind } from './utils/getSpanKind'; | ||
export { getSpanScopes } from './utils/spanData'; | ||
export { getScopesFromContext } from './utils/contextData'; | ||
@@ -12,4 +11,5 @@ export { spanHasAttributes, spanHasEvents, spanHasKind, spanHasName, spanHasParentId, spanHasStatus, } from './utils/spanTypes'; | ||
export { startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace } from './trace'; | ||
export { suppressTracing } from './utils/suppressTracing'; | ||
export { setupGlobalHub } from './custom/hub'; | ||
export { getCurrentHub } from './custom/getCurrentHub'; | ||
export { getCurrentHubShim } from '@sentry/core'; | ||
export { setupEventContextTrace } from './setupEventContextTrace'; | ||
@@ -23,10 +23,2 @@ export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy'; | ||
export { getClient } from '@sentry/core'; | ||
/** | ||
* The following internal utils are not considered public API and are subject to change. | ||
* @hidden | ||
*/ | ||
declare const _INTERNAL: { | ||
readonly getRequestSpanData: typeof getRequestSpanData; | ||
}; | ||
export { _INTERNAL }; | ||
//# sourceMappingURL=index.d.ts.map |
import type { Context } from '@opentelemetry/api'; | ||
import { SpanKind } from '@opentelemetry/api'; | ||
import type { Sampler, SamplingResult } from '@opentelemetry/sdk-trace-base'; | ||
@@ -11,3 +12,3 @@ import type { Client, SpanAttributes } from '@sentry/types'; | ||
/** @inheritDoc */ | ||
shouldSample(context: Context, traceId: string, spanName: string, _spanKind: unknown, spanAttributes: SpanAttributes, _links: unknown): SamplingResult; | ||
shouldSample(context: Context, traceId: string, spanName: string, spanKind: SpanKind, spanAttributes: SpanAttributes, _links: unknown): SamplingResult; | ||
/** Returns the sampler name or short description with the configuration. */ | ||
@@ -14,0 +15,0 @@ toString(): string; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
832254
98
4188
+ Added@sentry/core@8.0.0-beta.1(transitive)
+ Added@sentry/types@8.0.0-beta.1(transitive)
+ Added@sentry/utils@8.0.0-beta.1(transitive)
- Removed@sentry/core@8.0.0-alpha.9(transitive)
- Removed@sentry/types@8.0.0-alpha.9(transitive)
- Removed@sentry/utils@8.0.0-alpha.9(transitive)
Updated@sentry/core@8.0.0-beta.1
Updated@sentry/types@8.0.0-beta.1
Updated@sentry/utils@8.0.0-beta.1