How to integrate Zipkin with Elasticsearch

1,705 views
Skip to first unread message

Shiv Gupta

unread,
Mar 27, 2018, 10:56:22 AM3/27/18
to zipkin-user
Hello Team,

I am new to Zipkin and i know that Zipkin does support Elasticsearch but need to know what all files and where the changes needs to be done in order to get integrated the same?
Any help would be appreciated.

Regards,
Shiv
 

Adrian Cole

unread,
Mar 27, 2018, 8:41:49 PM3/27/18
to zipki...@googlegroups.com
the server comes with elasticsearch client buit-in. you only have to
set a variable to use it.
https://github.com/openzipkin/zipkin#quick-start
https://github.com/openzipkin/zipkin/tree/master/zipkin-server#elasticsearch-storage

https://gitter.im/openzipkin/zipkin fro more!
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "zipkin-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to zipkin-user...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Shiv Gupta

unread,
Apr 4, 2018, 8:54:02 AM4/4/18
to zipkin-user
Thanks Adrian, could you please let me know where exactly i need to set the variable as i believe zipkin does have jar which i need to run in my machine in order to make zipkin up and running , now how can i make sure elasticsearch is integrated with Zipkin.

Adrian Cole

unread,
Apr 4, 2018, 8:56:08 AM4/4/18
to zipki...@googlegroups.com
The link I sent has this note, which says the variables you need:

STORAGE_TYPE=elasticsearch ES_HOSTS=http://myhost:9200 java -jar zipkin.jar

Shiv Gupta

unread,
Apr 4, 2018, 9:21:07 AM4/4/18
to zipkin-user
Yes it was pretty clear the information you have provided and i tried the same thing but i ma getting below while executing-

C:\zipkin>STORAGE_TYPE=elasticsearch ES_HOSTS=http://localhost:9200 java -jar zipkin.jar
'STORAGE_TYPE' is not recognized as an internal or external command,
operable program or batch file.

any suggestion whats going on?

Shiv Gupta

unread,
Apr 4, 2018, 3:59:48 PM4/4/18
to zipkin-user
Now its working , i used below

C:\zipkin>java -jar zipkin.jar STORAGE_TYPE=elasticsearch ES_HOSTS=http://localhost:9200

Adrian Cole

unread,
Apr 4, 2018, 7:43:52 PM4/4/18
to zipki...@googlegroups.com
you are using normal windows shell, if you used powershell I think the
example would have worked.

Shiv Gupta

unread,
Apr 6, 2018, 12:37:34 PM4/6/18
to zipkin-user
Yeah i agreed with you, thanks for helping through out, now i need one more input from you i want to see traces in Zipkin UI please let me know is there any demo app available so i can download and make it up and running , FYI i did downloaded Brave webmvc but unable to run it not sure what is missing . please do suggest.

Adrian Cole

unread,
Apr 8, 2018, 9:20:58 PM4/8/18
to zipki...@googlegroups.com
If you have a problem with running the mvc demo, it is better to try to figure that out vs asking for a different one. A different one might have the same problem which I have no idea what it is.

Try joining gitter to continue troubleshooting.

To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages