pub fn ui_app(state: StateRef, base_path: &str) -> RouterExpand description
Create a new axum::Router for the Jaeger UI to visualize the traces
stored in the given StateRef.
The base_path is used for the application to load static assets correctly.
It should start and end with /. For example,
- if the application is served at
http://localhost:3000/, thenbase_pathshould be/. - if the application is served at
http://localhost:3000/trace/, thenbase_pathshould be/trace/.