-
Notifications
You must be signed in to change notification settings - Fork 421
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
only return root spans for jaeger http api #5358
Conversation
@@ -353,7 +354,7 @@ mod tests { | |||
async fn test_when_jaeger_not_found() { | |||
let jaeger_api_handler = jaeger_api_handlers(None).recover(crate::rest::recover_fn_final); | |||
let resp = warp::test::request() | |||
.path("/otel-traces-v0_7/jaeger/api/services") | |||
.path("/otel-traces-v0_9/jaeger/api/services") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you missed the one in the docstring https://github.com/quickwit-oss/quickwit/blob/main/quickwit/quickwit-serve/src/jaeger_api/rest_handler.rs#L60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
- index: otel-traces-v0_7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already fixed in 7184ccd
@trinity-1686a quick thought regarding your bump of OTEL_TRACES_INDEX_ID to |
some people are modifying their |
* only return root spans for jaeger http api * fix rest api tests
Description
on jaeger http api, return only root span. On grpc api, return all, otherwise jaeger shows empty traces until you reload the page
Can be improved once #5308 is merged, to stay mostly backward compatible (right now, the http api errors out, if
otel-traces-v0_7
exists)How was this PR tested?
tested manually with jaeger, and grafana jaeger datasource pointed to quickwit