in aws-xray-agent/src/main/java/com/amazonaws/xray/agent/runtime/config/XRaySDKConfiguration.java [145:161]
public void init(@Nullable URL configFile) {
if (configFile == null) {
this.agentConfiguration = new AgentConfiguration();
} else {
try {
log.info("Reading X-Ray Agent config file at: " + configFile.getPath());
this.agentConfiguration = parseConfig(configFile);
} catch (IOException e) {
throw new InvalidAgentConfigException("Failed to read X-Ray Agent configuration file " + configFile.getPath(), e);
}
}
if (log.isDebugEnabled()) {
log.debug("Starting the X-Ray Agent with the following properties:\n" + agentConfiguration.toString());
}
init(AWSXRayRecorderBuilder.standard());
}