Skip to content

Commit dd34dfb

Browse files
committed
fix formatting
1 parent 762ea16 commit dd34dfb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packages/core/src/utils/spanUtils.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
import { getAsyncContextStrategy } from '../asyncContext';
2+
import { getMainCarrier } from '../carrier';
3+
import { getCurrentScope } from '../currentScopes';
4+
import { getMetricSummaryJsonForSpan, updateMetricSummaryOnSpan } from '../metrics/metric-summary';
5+
import type { MetricType } from '../metrics/types';
6+
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../semanticAttributes';
7+
import type { SentrySpan } from '../tracing/sentrySpan';
8+
import { SPAN_STATUS_OK, SPAN_STATUS_UNSET } from '../tracing/spanstatus';
19
import type {
210
MeasurementUnit,
311
Primitive,
@@ -9,17 +17,9 @@ import type {
917
SpanTimeInput,
1018
TraceContext,
1119
} from '../types-hoist';
12-
import { getAsyncContextStrategy } from '../asyncContext';
13-
import { getMainCarrier } from '../carrier';
14-
import { getCurrentScope } from '../currentScopes';
15-
import { getMetricSummaryJsonForSpan, updateMetricSummaryOnSpan } from '../metrics/metric-summary';
16-
import type { MetricType } from '../metrics/types';
17-
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../semanticAttributes';
18-
import type { SentrySpan } from '../tracing/sentrySpan';
19-
import { SPAN_STATUS_OK, SPAN_STATUS_UNSET } from '../tracing/spanstatus';
20-
import { generateSpanId } from '../utils-hoist/propagationContext';
2120
import { consoleSandbox } from '../utils-hoist/logger';
2221
import { addNonEnumerableProperty, dropUndefinedKeys } from '../utils-hoist/object';
22+
import { generateSpanId } from '../utils-hoist/propagationContext';
2323
import { timestampInSeconds } from '../utils-hoist/time';
2424
import { generateSentryTraceHeader } from '../utils-hoist/tracing';
2525
import { _getSpanForScope } from './spanOnScope';

packages/nextjs/src/common/wrapGenerationFunctionWithSentry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
withIsolationScope,
1717
withScope,
1818
} from '@sentry/core';
19-
import { propagationContextFromHeaders, uuid4, winterCGHeadersToDict } from '@sentry/core';
19+
import { propagationContextFromHeaders, winterCGHeadersToDict } from '@sentry/core';
2020
import type { RequestEventData, WebFetchHeaders } from '@sentry/core';
2121

2222
import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';

0 commit comments

Comments
 (0)