|
1 | | -import type { ClientOptions, Event, EventHint } from '@sentry/types'; |
| 1 | +import { getEventProcessor } from '@hyperdx/instrumentation-sentry-node'; |
| 2 | +import { Attributes, diag, Span, trace, Tracer } from '@opentelemetry/api'; |
2 | 3 | import { |
3 | 4 | dedupeIntegration, |
4 | 5 | functionToStringIntegration, |
5 | 6 | inboundFiltersIntegration, |
6 | 7 | prepareEvent, |
7 | 8 | } from '@sentry/core'; |
8 | | -import { Attributes, Span, Tracer, diag, trace } from '@opentelemetry/api'; |
9 | | -import { getEventProcessor } from '@hyperdx/instrumentation-sentry-node'; |
| 9 | +import type { ClientOptions, Event, EventHint } from '@sentry/types'; |
10 | 10 |
|
| 11 | +import { name as PKG_NAME, version as PKG_VERSION } from '../../package.json'; |
| 12 | +import { eventFromUnknownInput } from './eventbuilder'; |
11 | 13 | import { browserApiErrorsIntegration } from './integrations/browserapierrors'; |
12 | 14 | import { contextLinesIntegration } from './integrations/contextlines'; |
13 | | -import { defaultStackParser } from './stack-parsers'; |
14 | | -import { eventFromUnknownInput } from './eventbuilder'; |
15 | 15 | import { globalHandlersIntegration } from './integrations/globalhandlers'; |
16 | 16 | import { httpContextIntegration } from './integrations/httpcontext'; |
17 | 17 | import { hyperdxIntegration } from './integrations/hyperdx'; |
18 | 18 | import { linkedErrorsIntegration } from './integrations/linkederrors'; |
19 | | -import { name as PKG_NAME, version as PKG_VERSION } from '../../package.json'; |
| 19 | +import { defaultStackParser } from './stack-parsers'; |
20 | 20 |
|
21 | 21 | // TODO: does it make sense to have a default tracer here? |
22 | 22 | const defaultTracer = trace.getTracer(PKG_NAME, PKG_VERSION); |
|
0 commit comments