-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate UI to use v2 API endpoints #1802
Comments
I just looked into the source code, I found that ZipkinQueryApiV2 won't be loaded, and I tried the url in browser http://localhost:9411/zipkin/api/v2/services, got 404 error, so I guess that the v2 UI is not ready yet. :) |
@apei830 I ran into the same thing, but the V2 API is in fact in place and intentionally not available under
|
Hi shakuzen, Please refer to the source code of ZipkinUiAutoConfiguration /** The UI looks for the api relative to where it is mounted, under /zipkin */ it seems that all request under /zipkin/api/vi/** will be forward to the path /api/vi/** |
@shakuzen |
hehe you are both right :)
the /zipkin path is only for the UI, and yes it isn't ready for v2 yet
because of this issue. I'd love it to be v2 ready, so pull requests welcome.
I was mentioning to tommy bc I thought the context was about routine api
use. IOTW, routine api users shouldn't depend on the /zipkin path as some
deployments disable the UI and would then disable this mapping
|
This forwards /api -> /zipkin/api so the UI can start using the v2 api. See #1802
#1818 forwards the api root |
This forwards /api -> /zipkin/api so the UI can start using the v2 api. See #1802
added #2217 to actually use v2 data internally now that we are consuming it |
This forwards /api -> /zipkin/api so the UI can start using the v2 api. See openzipkin#1802
v2 API endpoints are now available for the v2 span format, but the UI still uses the v1 API endpoints, and consequently the v1 span format. It would be good if the UI were v2 native like other components are now.
The text was updated successfully, but these errors were encountered: