Skip to content
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

Spans missing in Full trace view, (spans outside 1hr window) #311

Open
Sunn-y-Arora opened this issue Oct 6, 2021 · 1 comment
Open

Comments

@Sunn-y-Arora
Copy link

Sunn-y-Arora commented Oct 6, 2021

In full trace view of longer duration trace, spans are missing in trace view.

The query for fetching spans is initiated for 1hr window, if spans (async process or any late arrival spans) are not in that duration they aren't being fetched for full trace view, resulting in incomplete trace.

Query for 1hr window :
{ spans( limit: 1000 between: {startTime: "2021-09-20T01:48:18.320Z", endTime: "2021-09-20T02:48:18.320Z"} filterBy: [{operator: EQUALS, value: "000000000000000035f15d898a838751", type: ID, idType: TRACE}] ) { count total __typename } }
Result :
{ "data": { "spans": { "count": 406, "total": 406, "__typename": "SpanResultSet" } } }

Query for longer window:
{ spans( limit: 1000 between: {startTime: "2021-09-20T00:48:18.320Z", endTime: "2021-09-20T15:48:18.320Z"} filterBy: [{operator: EQUALS, value: "000000000000000035f15d898a838751", type: ID, idType: TRACE}] ) { count total __typename } }

Result:
{ "data": { "spans": { "count": 621, "total": 621, "__typename": "SpanResultSet" } } }

@kotharironak
Copy link
Contributor

cc: @JBAhire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants