20
20
* limitations under the License.
21
21
*/
22
22
23
- import { type Attributes , SpanStatusCode , context , trace } from '@opentelemetry/api' ;
24
- import { RPCType , getRPCMetadata } from '@opentelemetry/core' ;
23
+ import { type Attributes , context , SpanStatusCode , trace } from '@opentelemetry/api' ;
24
+ import { getRPCMetadata , RPCType } from '@opentelemetry/core' ;
25
25
import {
26
26
InstrumentationBase ,
27
27
InstrumentationNodeModuleDefinition ,
@@ -30,17 +30,12 @@ import {
30
30
import { SEMATTRS_HTTP_ROUTE } from '@opentelemetry/semantic-conventions' ;
31
31
import type { Span } from '@sentry/core' ;
32
32
import {
33
- SEMANTIC_ATTRIBUTE_SENTRY_OP ,
34
- SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
35
33
getClient ,
36
34
getIsolationScope ,
35
+ SEMANTIC_ATTRIBUTE_SENTRY_OP ,
36
+ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
37
37
spanToJSON ,
38
38
} from '@sentry/core' ;
39
-
40
- import { AttributeNames , FastifyNames , FastifyTypes } from './enums/AttributeNames' ;
41
-
42
- import type { PluginFastifyReply } from './internal-types' ;
43
-
44
39
import type {
45
40
FastifyErrorCodes ,
46
41
FastifyInstance ,
@@ -49,7 +44,8 @@ import type {
49
44
HandlerOriginal ,
50
45
HookHandlerDoneFunction ,
51
46
} from '../types' ;
52
-
47
+ import { AttributeNames , FastifyNames , FastifyTypes } from './enums/AttributeNames' ;
48
+ import type { PluginFastifyReply } from './internal-types' ;
53
49
import type { FastifyInstrumentationConfig } from './types' ;
54
50
import { endSpan , safeExecuteInTheMiddleMaybePromise , startSpan } from './utils' ;
55
51
/** @knipignore */
0 commit comments