DAGWorks-Inc / burr

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
https://burr.dagworks.io
BSD 3-Clause Clear License
1.28k stars 71 forks source link

OpenTelemetry integration async error #413

Open elijahbenizzy opened 3 weeks ago

elijahbenizzy commented 3 weeks ago

Is your feature request related to a problem? Please describe.

wt-api   |     |   File "/usr/local/lib/python3.11/site-packages/burr/integrations/opentelemetry.py", line 499, in on_end
wt-api   |     |     self.tracker.post_end_span(
wt-api   |     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
wt-api   |     | AttributeError: 'NoneType' object has no attribute 'post_end_span'

Comes up -- it appears to be non-blocking. @mdrideout investigated/figured this out. See conversation here: https://discord.com/channels/1221891403253288970/1260781251078656063/1301698093556699156.

Describe the solution you'd like We should investigate and fix.

Describe alternatives you've considered Likely not immediate (@mdrideout to confirm) but worth investigating.

mdrideout commented 2 weeks ago

Confirming this still functions as intended and the workflow completes. Non-blocking exception.