Hi. I'm trying to configure jaeger-ui with greptim...
# general
k
Hi. I'm trying to configure jaeger-ui with greptime. How do I configure sending the auth headers? https://docs.greptime.com/user-guide/query-data/jaeger/ does not mention this. Should I configure nginx proxy or such for the time being or is there an easier way?
e
Did you try this header?
x-greptime-auth
https://docs.greptime.com/user-guide/protocols/http/#authentication cc @shuiyisong
k
Yeah, the question is how to configure https://github.com/jaegertracing/jaeger-ui to send this header. Patch it up or add a proxy adding it ?
Ok I just vibe-coded a fork https://github.com/k-bx/jaeger-ui/tree/inject-auth You now don't need to edit vite config, just run like this:
VITE_JAEGER_PROXY_TARGET="<http://localhost:4000/v1/jaeger>" VITE_JAEGER_API_AUTHORIZATION="Basic <base64_auth>" npm run start
🙌 1
s
k
Nice one! Might work (unless you build a static bundle, as I understood).