|
1 | 1 | import * as diagnosticsChannel from 'node:diagnostics_channel'; |
2 | 2 | import type { IntegrationFn, Span } from '@sentry/core'; |
3 | 3 | import { defineIntegration, getActiveSpan, waitForTracingChannelBinding } from '@sentry/core'; |
4 | | -import { subscribeMongooseDiagnosticChannels } from '../mongoose/mongoose-dc-subscriber'; |
5 | | -import type { MongooseLegacyCollection } from '../mongoose/mongoose-legacy-span'; |
6 | | -import { startMongooseLegacySpan } from '../mongoose/mongoose-legacy-span'; |
7 | | -import { CHANNELS } from '../orchestrion/channels'; |
8 | | -import { MONGOOSE_CONTEXT_CAPTURE_CHANNELS } from '../orchestrion/config/mongoose'; |
9 | | -import type { SentryTracingChannel } from '../tracing-channel'; |
10 | | -import { bindTracingChannelToSpan } from '../tracing-channel'; |
11 | | -import { mongooseModuleNames } from '../orchestrion/config/mongoose'; |
12 | | -import { invokeOrchestrionInstrumentation } from '../orchestrion/instrumentation'; |
| 4 | +import { subscribeMongooseDiagnosticChannels } from './mongoose-dc-subscriber'; |
| 5 | +import type { MongooseLegacyCollection } from './mongoose-legacy-span'; |
| 6 | +import { startMongooseLegacySpan } from './mongoose-legacy-span'; |
| 7 | +import { CHANNELS } from '../../orchestrion/channels'; |
| 8 | +import { MONGOOSE_CONTEXT_CAPTURE_CHANNELS } from '../../orchestrion/config/mongoose'; |
| 9 | +import type { SentryTracingChannel } from '../../tracing-channel'; |
| 10 | +import { bindTracingChannelToSpan } from '../../tracing-channel'; |
| 11 | +import { mongooseModuleNames } from '../../orchestrion/config/mongoose'; |
| 12 | +import { invokeOrchestrionInstrumentation } from '../../orchestrion/instrumentation'; |
13 | 13 |
|
14 | 14 | const INTEGRATION_NAME = 'Mongoose' as const; |
15 | 15 |
|
|
0 commit comments