Skip to content

Commit 44e4347

Browse files
committed
update name of the package
1 parent c159dc0 commit 44e4347

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/node/src/integrations/tracing/anthropic-ai/instrumentation.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ export class SentryAnthropicAiInstrumentation extends InstrumentationBase<Instru
4545
* Initializes the instrumentation by defining the modules to be patched.
4646
*/
4747
public init(): InstrumentationModuleDefinition {
48-
const module = new InstrumentationNodeModuleDefinition('anthropic', supportedVersions, this._patch.bind(this));
48+
const module = new InstrumentationNodeModuleDefinition(
49+
'@anthropic-ai/sdk',
50+
supportedVersions,
51+
this._patch.bind(this),
52+
);
4953
return module;
5054
}
5155

0 commit comments

Comments
 (0)