File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11export * from './exports' ;
22
33// Exports using diagnostics channels
4- export { mysql2Integration } from './mysql2' ;
54export { instrumentPrisma , prismaIntegration } from './prisma' ;
65export type { PrismaInstrumentationConfig , PrismaOptions } from './prisma' ;
76export { bindTracingChannelToSpan } from './tracing-channel' ;
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import {
88 startInactiveSpan ,
99 waitForTracingChannelBinding ,
1010} from '@sentry/core' ;
11- import { subscribeMysql2DiagnosticChannels } from '../mysql2 /mysql2-dc-subscriber' ;
12- import type { ChannelName } from '../orchestrion/channels' ;
13- import { CHANNELS } from '../orchestrion/channels' ;
14- import { bindTracingChannelToSpan } from '../tracing-channel' ;
15- import { mysql2ModuleNames } from '../orchestrion/config/mysql2' ;
16- import { invokeOrchestrionInstrumentation } from '../orchestrion/instrumentation' ;
11+ import { subscribeMysql2DiagnosticChannels } from './mysql2-dc-subscriber' ;
12+ import type { ChannelName } from '../../ orchestrion/channels' ;
13+ import { CHANNELS } from '../../ orchestrion/channels' ;
14+ import { bindTracingChannelToSpan } from '../../ tracing-channel' ;
15+ import { mysql2ModuleNames } from '../../ orchestrion/config/mysql2' ;
16+ import { invokeOrchestrionInstrumentation } from '../../ orchestrion/instrumentation' ;
1717import {
1818 DB_NAME ,
1919 DB_STATEMENT ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313 SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
1414 startInactiveSpan ,
1515} from '@sentry/core' ;
16- import { bindTracingChannelToSpan } from '../tracing-channel' ;
16+ import { bindTracingChannelToSpan } from '../../ tracing-channel' ;
1717
1818// Channel names published by mysql2 >= 3.20.0 (see mysql2 `lib/tracing.js`).
1919// Hardcoded so the subscriber does not have to import mysql2 — the channels
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {
2525 MYSQL2_DC_CHANNEL_QUERY ,
2626 type MySQL2TracingChannelFactory ,
2727 subscribeMysql2DiagnosticChannels ,
28- } from '../../src/mysql2/mysql2-dc-subscriber' ;
28+ } from '../../src/integrations/ mysql2/mysql2-dc-subscriber' ;
2929
3030interface TestStore {
3131 scope : Scope ;
You can’t perform that action at this time.
0 commit comments