Skip to content

Commit be79b6f

Browse files
committed
Lint
1 parent fa0de7f commit be79b6f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

packages/node/src/integrations/tracing/express-v5/instrumentation.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,23 @@
2525
* limitations under the License.
2626
*/
2727

28-
import { getRPCMetadata, RPCType } from '@opentelemetry/core';
2928
import type { Attributes } from '@opentelemetry/api';
30-
import { trace, context, diag, SpanStatusCode } from '@opentelemetry/api';
31-
import type * as express from 'express';
32-
import type { ExpressInstrumentationConfig, ExpressRequestInfo } from './types';
33-
import { ExpressLayerType } from './enums/ExpressLayerType';
34-
import { AttributeNames } from './enums/AttributeNames';
35-
import { asErrorAndMessage, getLayerMetadata, getLayerPath, isLayerIgnored, storeLayerPath } from './utils';
29+
import { SpanStatusCode, context, diag, trace } from '@opentelemetry/api';
30+
import { RPCType, getRPCMetadata } from '@opentelemetry/core';
3631
import {
3732
InstrumentationBase,
3833
InstrumentationNodeModuleDefinition,
3934
isWrapped,
4035
safeExecuteInTheMiddle,
4136
} from '@opentelemetry/instrumentation';
4237
import { SEMATTRS_HTTP_ROUTE } from '@opentelemetry/semantic-conventions';
38+
import type * as express from 'express';
39+
import { AttributeNames } from './enums/AttributeNames';
40+
import { ExpressLayerType } from './enums/ExpressLayerType';
4341
import type { ExpressLayer, ExpressRouter, PatchedRequest } from './internal-types';
44-
import { kLayerPatched, _LAYERS_STORE_PROPERTY } from './internal-types';
42+
import { _LAYERS_STORE_PROPERTY, kLayerPatched } from './internal-types';
43+
import type { ExpressInstrumentationConfig, ExpressRequestInfo } from './types';
44+
import { asErrorAndMessage, getLayerMetadata, getLayerPath, isLayerIgnored, storeLayerPath } from './utils';
4545

4646
export const PACKAGE_VERSION = '0.1.0';
4747
export const PACKAGE_NAME = '@sentry/instrumentation-express-v5';

packages/node/src/integrations/tracing/express-v5/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
*/
2020

2121
import type { Attributes } from '@opentelemetry/api';
22-
import type { IgnoreMatcher, ExpressInstrumentationConfig, LayerPathSegment } from './types';
23-
import { ExpressLayerType } from './enums/ExpressLayerType';
2422
import { AttributeNames } from './enums/AttributeNames';
23+
import { ExpressLayerType } from './enums/ExpressLayerType';
2524
import type { ExpressLayer, PatchedRequest } from './internal-types';
2625
import { _LAYERS_STORE_PROPERTY } from './internal-types';
26+
import type { ExpressInstrumentationConfig, IgnoreMatcher, LayerPathSegment } from './types';
2727

2828
/**
2929
* Store layers path in the request to be able to construct route later

packages/node/src/integrations/tracing/express.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type * as http from 'node:http';
2+
import type { Span } from '@opentelemetry/api';
23
import type { ExpressRequestInfo } from '@opentelemetry/instrumentation-express';
34
import { ExpressInstrumentation } from '@opentelemetry/instrumentation-express';
45
import type { IntegrationFn } from '@sentry/core';
@@ -15,7 +16,6 @@ import { DEBUG_BUILD } from '../../debug-build';
1516
import { generateInstrumentOnce } from '../../otel/instrument';
1617
import { addOriginToSpan } from '../../utils/addOriginToSpan';
1718
import { ensureIsWrapped } from '../../utils/ensureIsWrapped';
18-
import type { Span } from '@opentelemetry/api';
1919
import { ExpressInstrumentationV5 } from './express-v5/instrumentation';
2020

2121
const INTEGRATION_NAME = 'Express';

0 commit comments

Comments
 (0)