Skip to content

Conversation

@tofu511
Copy link

@tofu511 tofu511 commented Oct 26, 2024

Hi!

The 08_opentelemetry exercise has an issue with sending spans to HoneyComb. When I looked into the issue, the tests seemed to finish before the batch exporter exported all spans to HoneyComb since the batch exporter had a 5-second scheduled delay by default.

This problem may be solved using install_simple instead of install_batch. However, install_simple isn't usable due to this issue, so I think it would be better to change the scheduled delay to improve the workshop experience.

@karlskewes
Copy link

Thanks for this. Works for me.
Alternatively we would need to construct the OTEL components separately and make the batch span exporter available in tests to call bsp.force_flush().

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

Successfully merging this pull request may close these issues.

2 participants