dylibso / observe-sdk

Continuous runtime observablity SDKs to monitor WebAssembly code.
https://dev.dylibso.com/docs/observe/overview
Apache License 2.0
156 stars 7 forks source link

Add function for extracting the active span id from within a host function #162

Open chrisdickinson opened 6 months ago

chrisdickinson commented 6 months ago

Via the observability workshop: if an instrumented module calls into a host function, we might lose span association if the host function makes any external calls. We may want to add a function to get the current active span from CurrentPlugin.