Makes it possible to supply an https zipkin endpoint

This commit is contained in:
Adrian Cole
2016-01-14 22:31:06 +08:00
parent 2965d5053a
commit a3af9de4dd
4 changed files with 5 additions and 7 deletions

View File

@@ -91,8 +91,7 @@ public class ZipkinTests extends AbstractIntegrationTest {
}
private ZipkinSpanReporter getSpanCollector(ZipkinProperties zipkin) {
String url = "http://localhost:" + zipkin.getPort();
return new HttpZipkinSpanReporter(url, zipkin.getFlushInterval());
return new HttpZipkinSpanReporter(zipkin.getBaseUrl(), zipkin.getFlushInterval());
}
}
}