diff --git a/plugins/node/opentelemetry-instrumentation-koa/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-koa/src/instrumentation.ts index f855ba2f3f..8bf4329fe8 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-koa/src/instrumentation.ts @@ -27,11 +27,12 @@ import { KoaInstrumentationConfig } from './types'; import { VERSION } from './version'; import { getMiddlewareMetadata, isLayerIgnored } from './utils'; import { getRPCMetadata, RPCType } from '@opentelemetry/core'; -import { KoaMiddleware, +import { + KoaMiddleware, KoaLayerType, KoaContext, kLayerPatched, - KoaPatchedMiddleware + KoaPatchedMiddleware, } from './internal-types'; /** Koa instrumentation for OpenTelemetry */ diff --git a/plugins/node/opentelemetry-instrumentation-koa/src/utils.ts b/plugins/node/opentelemetry-instrumentation-koa/src/utils.ts index 153cc310f5..b76343388b 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/src/utils.ts +++ b/plugins/node/opentelemetry-instrumentation-koa/src/utils.ts @@ -13,9 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { - KoaInstrumentationConfig, -} from './types'; +import { KoaInstrumentationConfig } from './types'; import { AttributeNames } from './enums/AttributeNames'; import { SpanAttributes } from '@opentelemetry/api'; import { SemanticAttributes } from '@opentelemetry/semantic-conventions';