Open mrajah-twttr opened 4 years ago
This does not sound unreasonable to me. Rule of three may apply though.
Curious: which storage backend do you use and which search criteria are troublesome for your site ?
We have a custom key value store and due to some scale constraints dont have some of these indices setup yet.
@mrajah-twttr are the v1 lookup fields "serviceName" and "spanName" still ok? or is it only "serviceName" that you have at the moment.
PS there is a way to disable the search screen at the moment, just not to pare down the criteria (only add.. ex the site-specific tags features allows more not less choices)
Some other points:
The tags search is implemented the same as the old annotationQuery "foo=bar and baz", even if it looks different on the new UI. Do you not have this feature at all?
remoteServiceName is dependent on serviceName and is auto-populated.. It might be possible to control the visibility of this when the result is empty (which could have the same effect and still honor browser cache controls)
spanName should be conditional on serviceName.. it won't work top-level remoteServices was a recent index (twitter won't have it) but this is something I think we can special case 404 response (which I thought we did at some point!) empty string should never be sent.. that seems a bug
https://zipkin.io/zipkin-api/#/default is the api I use in-mem server (default jar file) plus the instructions in the zipkin-lens folder to do dev. You can also point the node app to your real backend.
this tip about the "debugger" keyword can help if you end up using the 'npm start' approach https://github.com/openzipkin/zipkin-js#debugging
"empty string should never be sent.. that seems a bug" i dont have this issue, i truncated the URL i gave :) apologies for the confusion. it does send the right name..
If service name selection is required may be we should hide options like spanName, minDuration, maxDuration until a serviceName is chosen?
(Still need a way to disable remoteService and tags)
Feature: Currently the Zipkin UI has a standard set of trace look up criteria. Each of these options requires an API in the backend and and index to support it.. Some services may not have some of these due to scaling constraints. It would be very helpfiul if we can specify as a part of the config json which search options are supported by the backend.
Rational This helps keep the UI honest on what criteria the user can actually use to find traces
Example Scenario User wants to find some traces and tries to use the criteria like tags or remoteServiceName which are not supported by the backend.
Prior Art