Previously, DO instrumentation copied all options to attributes. This PR implements special support for most methods (transaction is the only currently existing method on DurableObjectStorage that isn't handled properly, as it has a rollback method we should ideally proxy/track).
I also fixed a bug in put, pretty sure that the "entries" overload would've caused an exception previously as the instrumentation wasn't prepared for it.
Fixes # [insert GH issue number(s)].
What this PR solves / how to test:
Previously, DO instrumentation copied all options to
attributes
. This PR implements special support for most methods (transaction
is the only currently existing method onDurableObjectStorage
that isn't handled properly, as it has a rollback method we should ideally proxy/track).I also fixed a bug in
put
, pretty sure that the "entries" overload would've caused an exception previously as the instrumentation wasn't prepared for it.