We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c159dc0 commit 44e4347Copy full SHA for 44e4347
packages/node/src/integrations/tracing/anthropic-ai/instrumentation.ts
@@ -45,7 +45,11 @@ export class SentryAnthropicAiInstrumentation extends InstrumentationBase<Instru
45
* Initializes the instrumentation by defining the modules to be patched.
46
*/
47
public init(): InstrumentationModuleDefinition {
48
- const module = new InstrumentationNodeModuleDefinition('anthropic', supportedVersions, this._patch.bind(this));
+ const module = new InstrumentationNodeModuleDefinition(
49
+ '@anthropic-ai/sdk',
50
+ supportedVersions,
51
+ this._patch.bind(this),
52
+ );
53
return module;
54
}
55
0 commit comments