Skip to content

Commit 59f02f1

Browse files
committed
Use separate muzzle directive for graphql-java-common
1 parent f406757 commit 59f02f1

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

dd-java-agent/instrumentation/graphql-java/graphql-java-common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
muzzle {
33
pass {
4+
name = "graphql-java-common"
45
group = "com.graphql-java"
56
module = 'graphql-java'
67
versions = '[14.0,)'

dd-java-agent/instrumentation/graphql-java/graphql-java-common/src/main/java/datadog/trace/instrumentation/graphqljava/GraphQLUnwrapExceptionInstrumentation.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public GraphQLUnwrapExceptionInstrumentation() {
1717
super("graphql-java");
1818
}
1919

20+
@Override
21+
public String muzzleDirective() {
22+
return "graphql-java-common";
23+
}
24+
2025
@Override
2126
public String instrumentedType() {
2227
return "graphql.execution.DataFetcherExceptionHandlerParameters";

0 commit comments

Comments
 (0)