Socket
Socket
Sign inDemoInstall

@sentry/opentelemetry

Package Overview
Dependencies
Maintainers
11
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/opentelemetry - npm Package Compare versions

Comparing version 8.0.0-alpha.9 to 8.0.0-beta.1

types-ts3.8/utils/suppressTracing.d.ts

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc