File tree 1 file changed +25
-0
lines changed
dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/main/java/datadog/trace/instrumentation/aws/v0
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ package datadog .trace .instrumentation .aws .v0 ;
2
+
3
+ import static java .util .Collections .singletonMap ;
4
+
5
+ import com .google .auto .service .AutoService ;
6
+ import datadog .trace .agent .tooling .InstrumenterModule ;
7
+ import java .util .Map ;
8
+
9
+ /** Repackaged AWS SDK instrumentations for Amazon EMR. */
10
+ @ AutoService (InstrumenterModule .class )
11
+ public class EmrSdkModule extends AwsSdkModule {
12
+ public EmrSdkModule () {
13
+ super ("com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws" , "emr-aws-sdk" );
14
+ }
15
+
16
+ @ Override
17
+ public String muzzleDirective () {
18
+ return "emr-aws-sdk" ;
19
+ }
20
+
21
+ @ Override
22
+ public Map <String , String > adviceShading () {
23
+ return singletonMap ("com.amazonaws" , "com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws" );
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments