Skip to content

Massive result size even when limit=1 during trace query which hangs browser tab #75

@trtg

Description

@trtg

I've included the curl request from chrome's network tab for the API call that kicks off when searching for traces with results limited to 1. What ends up happening is I see the call below transferring around 65MB+ of data and then causing the tab to hang. So I tried just running the curl call below in a terminal and sending the output to a file. After prettifying the json with jq or python -mjson.tool, the resulting json file is 151MB!! I'm not sure where/how to begin debugging this. The "processes" section of the JSON has something like 40 entries whereas a normal trace only has 4, so I'm not sure if that's a clue.
Also looking at the spans section of the JSON, spans that should only appear once per trace appear 5140 times (all referencing the same trace ID. It's as if somehow the traceID is not changing and a ton of traces got merged together?

curl 'http://jaeger.internal:16686/api/traces?end=1505521805205000&limit=1&lookback=1h&maxDuration&minDuration&operation=calling_assetselection&service=kiip_service&start=1505518205205000' -H 'Accept: /' -H 'Connection: keep-alive' -H 'Accept-Encoding: gzip, deflate' -H 'Referer: http://jaeger.internal:16686/search?end=1505521805205000&limit=1&lookback=1h&maxDuration&minDuration&operation=calling_assetselection&service=kiip_service&start=1505518205205000' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36' --compressed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions