openinference-instrumentation-anthropic package.
Install
Setup
Connect your application to Phoenix with theregister function:
From anthropic 1.14.0, the Anthropic SDK also records its own traces. With the instrumentor on, every call would appear twice in Phoenix, with tokens and cost counted twice. Pass open_telemetry=False when you create the client, as in the example below, or set ANTHROPIC_OPEN_TELEMETRY=false in your environment.

