File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
plugins/node/opentelemetry-instrumentation-mysql2/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ import { addSqlCommenterComment } from '@opentelemetry/sql-common';
3030import type * as mysqlTypes from 'mysql2' ;
3131import { MySQL2InstrumentationConfig } from './types' ;
3232import {
33- getConnectionAttributes , getConnectionPrototypeToInstrument ,
33+ getConnectionAttributes ,
34+ getConnectionPrototypeToInstrument ,
3435 getDbStatement ,
3536 getSpanName ,
3637 once ,
@@ -55,7 +56,8 @@ export class MySQL2Instrumentation extends InstrumentationBase<MySQL2Instrumenta
5556 'mysql2' ,
5657 [ '>=1.4.2 <4' ] ,
5758 ( moduleExports : any ) => {
58- const ConnectionPrototype : mysqlTypes . Connection = getConnectionPrototypeToInstrument ( moduleExports . Connection ) ;
59+ const ConnectionPrototype : mysqlTypes . Connection =
60+ getConnectionPrototypeToInstrument ( moduleExports . Connection ) ;
5961 if ( isWrapped ( ConnectionPrototype . query ) ) {
6062 this . _unwrap ( ConnectionPrototype , 'query' ) ;
6163 }
You can’t perform that action at this time.
0 commit comments