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

Missing traces on Hypertrace (RawSpansGrouper) #315

Open
13shivam opened this issue Mar 28, 2022 · 2 comments
Open

Missing traces on Hypertrace (RawSpansGrouper) #315

13shivam opened this issue Mar 28, 2022 · 2 comments

Comments

@13shivam
Copy link

Observation:

Traces dropping in one of our internal system running on php backend, this happens if span/nested span structure exceds rawSpansGrouperConfig.maxSpanCount which internally is used here: refer

we tried isolating the internal method line on which spans were getting dropped, count of spans per route generated are around 1100, including nested spans.

Progress so far:

  • we looked at the configs of jaeger-agent and otel-collector no significant spikes were seen on the pod memory+cpu,

  • next we checked the MTU limit in the pod, which uses Jumbo 9001 (reg: Network maximum transmission unit (MTU) for your EC2 instance) this too doesnt looked like a bottleneck,

  • next we tried taking dump of nw throughput on our pod using tshark and we were able to see our spans which confirmed that spans on the app side are started and closed properly,

  • we also ran our service for some routes pointing to jaeger:all-in-one in local, but were able to see 400+ spans,

finally,

  • we tried increasing the max.span.count on RSG to 2000 from 250, sample with ~1070 spans (1.3Mb file size), this time we were able to see the spans on our env.

the issue is that, once the max count is reached, RSG should truncate the spans, but in this case entire trace payload is getting dropped.

@13shivam
Copy link
Author

hypertrace after increasing max span
exit calls on hypertrace after increasing max span

@13shivam
Copy link
Author

spans in jaeger all in one

spans in jaeger all in one running locally

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

1 participant