|
|
@ -60,7 +60,7 @@ final class OtlpTracingConfigurations {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String getEndpoint() {
|
|
|
|
public String getUrl() {
|
|
|
|
return this.properties.getEndpoint();
|
|
|
|
return this.properties.getEndpoint();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -79,7 +79,7 @@ final class OtlpTracingConfigurations {
|
|
|
|
OtlpHttpSpanExporter otlpHttpSpanExporter(OtlpProperties properties,
|
|
|
|
OtlpHttpSpanExporter otlpHttpSpanExporter(OtlpProperties properties,
|
|
|
|
OtlpTracingConnectionDetails connectionDetails) {
|
|
|
|
OtlpTracingConnectionDetails connectionDetails) {
|
|
|
|
OtlpHttpSpanExporterBuilder builder = OtlpHttpSpanExporter.builder()
|
|
|
|
OtlpHttpSpanExporterBuilder builder = OtlpHttpSpanExporter.builder()
|
|
|
|
.setEndpoint(connectionDetails.getEndpoint())
|
|
|
|
.setEndpoint(connectionDetails.getUrl())
|
|
|
|
.setTimeout(properties.getTimeout())
|
|
|
|
.setTimeout(properties.getTimeout())
|
|
|
|
.setCompression(properties.getCompression().name().toLowerCase());
|
|
|
|
.setCompression(properties.getCompression().name().toLowerCase());
|
|
|
|
for (Entry<String, String> header : properties.getHeaders().entrySet()) {
|
|
|
|
for (Entry<String, String> header : properties.getHeaders().entrySet()) {
|
|
|
|