openinference
openinference copied to clipboard
[feature request] Instrument `stream` method from anthropic-sdk
Is your feature request related to a problem? Please describe.
openinference-instrumentation-anthropic currently instruments 4 methods Completions.create, AsyncCompletions.create, Messages.create, AsyncMessages.create.
There's also another commonly used stream method that doesn't call create, hence doesn't get instrumented.
Thanks for the feedback @deepankarm - will get it prioritized.
Relevant slack thread. https://arize-ai.slack.com/archives/C04R3GXC8HK/p1742535388104959?thread_ts=1742384295.704619&cid=C04R3GXC8HK