openzipkin / zipkin

Zipkin is a distributed tracing system
https://zipkin.io/
Apache License 2.0
16.95k stars 3.09k forks source link

consider fallback in the UI when api response is too slow #1899

Open CyberDick opened 6 years ago

CyberDick commented 6 years ago

image

codefromthecrypt commented 6 years ago

what storage backend are you using?

CyberDick commented 6 years ago

I use Elasticsearch 5.4.1.

codefromthecrypt commented 6 years ago

you can set https://github.com/openzipkin/zipkin/tree/master/zipkin-server#elasticsearch-storage ES_HTTP_LOGGING to emit the http queries that occur from zipkin to elasticsearch. It might explain why there are no results

On Fri, Jan 26, 2018 at 6:25 PM, CyberDick notifications@github.com wrote:

I use Elasticsearch 5.4.1.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openzipkin/zipkin/issues/1899#issuecomment-360742010, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD61yR4v47fqfYteiFO629sQBHuRcIQks5tOagxgaJpZM4Rt8LQ .

CyberDick commented 6 years ago

Thanks! I will try that.

CyberDick commented 6 years ago

I find the problem, but I don't know how to solve it. When tryAcquire() is false, zipkin will return none. There are screenshots of log and code. z31 l08awn 3 or 5jw vy 8 8q_cq7wrn8ai2 p 28ybp image

codefromthecrypt commented 6 years ago

Great work! We can probably add fallback functionality for read-only apis

codefromthecrypt commented 6 years ago

By the way.. your server is dropping connections due to load. While we can hide the error might want to consider reducing traffic, adding servers or increasing your max connections on this one. Ex you could make a separate server for serving UI and not send write traffic to it.

CyberDick commented 6 years ago

Great! I can make separate server for that!!! Thx!!!