openinference icon indicating copy to clipboard operation
openinference copied to clipboard

[feature request] Instrument `stream` method from anthropic-sdk

Open deepankarm opened this issue 11 months ago • 2 comments

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.

deepankarm avatar Mar 11 '25 12:03 deepankarm

Thanks for the feedback @deepankarm - will get it prioritized.

mikeldking avatar Mar 12 '25 14:03 mikeldking

Relevant slack thread. https://arize-ai.slack.com/archives/C04R3GXC8HK/p1742535388104959?thread_ts=1742384295.704619&cid=C04R3GXC8HK

mikeldking avatar Mar 21 '25 13:03 mikeldking