Hi,
I am using zipkin-autoconfigure-storage-elasticsearch-http 2.8.4
with zipkin-server 2.10.0
I can not connect to remote elasticsearch server.
I set System.setProperty("ES_HOSTS", "http://IP:9200");
in my spring boot app.
The exception is :
Failed to connect to localhost/0:0:0:0:0:0:0:1:9200
at zipkin2.internal.Platform$Jre8.uncheckedIOException(Platform.java:71) ~[zipkin-2.11.7.jar:na]
at zipkin2.elasticsearch.ElasticsearchStorage.ensureIndexTemplates(ElasticsearchStorage.java:306)
in ElasticsearchStorage.java Line 67 : host is hardcoded like this
hosts(Collections.singletonList("http://localhost:9200"))
how can I change that ?