diff --git a/dd-java-agent/agent-bootstrap/src/main/resources/META-INF/native-image/com.datadoghq/dd-java-agent/reflect-config.json b/dd-java-agent/agent-bootstrap/src/main/resources/META-INF/native-image/com.datadoghq/dd-java-agent/reflect-config.json index ddefd1f2561..b65c1250a5f 100644 --- a/dd-java-agent/agent-bootstrap/src/main/resources/META-INF/native-image/com.datadoghq/dd-java-agent/reflect-config.json +++ b/dd-java-agent/agent-bootstrap/src/main/resources/META-INF/native-image/com.datadoghq/dd-java-agent/reflect-config.json @@ -38,24 +38,42 @@ { "name" : "datadog.trace.agent.common.sampling.SpanSamplingRules$RuleAdapter", "methods": [ - {"name": "fromJson"} + {"name": "fromJson"}, + {"name": "toJson"} ] }, + { + "name" : "datadog.trace.agent.common.sampling.SpanSamplingRules$JsonRule", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredFields" : true, + "allPublicFields" : true + }, { "name" : "datadog.trace.agent.common.sampling.TraceSamplingRules$RuleAdapter", "methods": [ - {"name": "fromJson"} + {"name": "fromJson"}, + {"name": "toJson"} ] }, + { + "name" : "datadog.trace.agent.common.sampling.TraceSamplingRules$JsonRule", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredFields" : true, + "allPublicFields" : true + }, { "name" : "datadog.trace.agent.core.TracingConfigPoller$TracingSamplingRulesAdapter", "methods": [ - {"name": "fromJson"} + {"name": "fromJson"}, + {"name": "toJson"} ] }, { "name" : "datadog.trace.agent.core.DDSpanLink$SpanLinkAdapter", "methods": [ + {"name": "fromSpanLinkJson"}, {"name": "toSpanLinkJson"} ] },