File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
aws-distro-opentelemetry-node-autoinstrumentation/test/patches/aws/services Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { applyInstrumentationPatches } from './../../../../src/patches/instrumen
77
88const instrumentations : AwsInstrumentation [ ] = [ new AwsInstrumentation ( ) ] ;
99applyInstrumentationPatches ( instrumentations ) ;
10- registerInstrumentationTesting ( instrumentations [ 0 ] ) ;
10+ registerInstrumentationTesting ( instrumentations [ 0 ] as unknown as InstrumentationBase < InstrumentationConfig > ) ;
1111
1212import { SFN } from '@aws-sdk/client-sfn' ;
1313import * as nock from 'nock' ;
@@ -16,6 +16,7 @@ import { SpanKind } from '@opentelemetry/api';
1616import { ReadableSpan } from '@opentelemetry/sdk-trace-base' ;
1717import { expect } from 'expect' ;
1818import { AWS_ATTRIBUTE_KEYS } from '../../../../src/aws-attribute-keys' ;
19+ import { InstrumentationBase , InstrumentationConfig } from '@opentelemetry/instrumentation' ;
1920
2021const region = 'us-east-1' ;
2122
You can’t perform that action at this time.
0 commit comments