|
| 1 | +export { SEMANTIC_ATTRIBUTE_SENTRY_GRAPHQL_OPERATION } from './semanticAttributes'; |
| 2 | + |
| 3 | +export { getRequestSpanData } from './utils/getRequestSpanData'; |
| 4 | + |
| 5 | +export type { OpenTelemetryClient } from './types'; |
| 6 | +export { wrapClientClass } from './custom/client'; |
| 7 | + |
| 8 | +export { getSpanKind } from './utils/getSpanKind'; |
| 9 | + |
| 10 | +export { getScopesFromContext } from './utils/contextData'; |
| 11 | + |
| 12 | +export { |
| 13 | + spanHasAttributes, |
| 14 | + spanHasEvents, |
| 15 | + spanHasKind, |
| 16 | + spanHasName, |
| 17 | + spanHasParentId, |
| 18 | + spanHasStatus, |
| 19 | +} from './utils/spanTypes'; |
| 20 | + |
| 21 | +// Re-export this for backwards compatibility (this used to be a different implementation) |
| 22 | +export { getDynamicSamplingContextFromSpan } from '@sentry/core'; |
| 23 | + |
| 24 | +export { isSentryRequestSpan } from './utils/isSentryRequest'; |
| 25 | + |
| 26 | +export { enhanceDscWithOpenTelemetryRootSpanName } from './utils/enhanceDscWithOpenTelemetryRootSpanName'; |
| 27 | + |
| 28 | +export { getActiveSpan } from './utils/getActiveSpan'; |
| 29 | +export { |
| 30 | + startSpan, |
| 31 | + startSpanManual, |
| 32 | + startInactiveSpan, |
| 33 | + withActiveSpan, |
| 34 | + continueTrace, |
| 35 | + getTraceContextForScope, |
| 36 | +} from './trace'; |
| 37 | + |
| 38 | +export { suppressTracing } from './utils/suppressTracing'; |
| 39 | + |
| 40 | +export { setupEventContextTrace } from './setupEventContextTrace'; |
| 41 | + |
| 42 | +export { setOpenTelemetryContextAsyncContextStrategy } from './asyncContextStrategy'; |
| 43 | +export { wrapContextManagerClass } from './contextManager'; |
| 44 | + |
| 45 | +export { SentryPropagator, shouldPropagateTraceForUrl } from './propagator'; |
| 46 | +export { SentrySpanProcessor } from './spanProcessor'; |
| 47 | +export { SentrySampler, wrapSamplingDecision } from './sampler'; |
| 48 | + |
| 49 | +export { openTelemetrySetupCheck } from './utils/setupCheck'; |
| 50 | + |
| 51 | +export { getSentryResource } from './resource'; |
| 52 | + |
| 53 | +export { withStreamedSpan } from '@sentry/core'; |
| 54 | + |
| 55 | +// Legacy |
| 56 | +export { getClient } from '@sentry/core'; |
0 commit comments