Skip to content

Commit 46ad70e

Browse files
authored
feat(node): Add AI manual instrumentation exports to Node (#19063)
Until we find a way to automatically instrument AI integrations in Meta frameworks, we shouldn't block users from using the manual instrumentation. Docs for this are TBD. Closes #19064 (added automatically)
1 parent f133597 commit 46ad70e

File tree

7 files changed

+28
-0
lines changed

7 files changed

+28
-0
lines changed

packages/astro/src/index.server.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ export {
150150
supabaseIntegration,
151151
instrumentSupabaseClient,
152152
instrumentOpenAiClient,
153+
instrumentAnthropicAiClient,
154+
instrumentGoogleGenAIClient,
155+
instrumentLangGraph,
156+
instrumentStateGraphCompile,
153157
zodErrorsIntegration,
154158
profiler,
155159
logger,

packages/aws-serverless/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ export {
132132
supabaseIntegration,
133133
instrumentSupabaseClient,
134134
instrumentOpenAiClient,
135+
instrumentAnthropicAiClient,
136+
instrumentGoogleGenAIClient,
137+
instrumentLangGraph,
138+
instrumentStateGraphCompile,
135139
zodErrorsIntegration,
136140
profiler,
137141
amqplibIntegration,

packages/bun/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ export {
152152
supabaseIntegration,
153153
instrumentSupabaseClient,
154154
instrumentOpenAiClient,
155+
instrumentAnthropicAiClient,
156+
instrumentGoogleGenAIClient,
157+
instrumentLangGraph,
158+
instrumentStateGraphCompile,
155159
zodErrorsIntegration,
156160
profiler,
157161
amqplibIntegration,

packages/google-cloud-serverless/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ export {
130130
systemErrorIntegration,
131131
instrumentSupabaseClient,
132132
instrumentOpenAiClient,
133+
instrumentAnthropicAiClient,
134+
instrumentGoogleGenAIClient,
135+
instrumentLangGraph,
136+
instrumentStateGraphCompile,
133137
zodErrorsIntegration,
134138
profiler,
135139
amqplibIntegration,

packages/node/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ export {
131131
supabaseIntegration,
132132
instrumentSupabaseClient,
133133
instrumentOpenAiClient,
134+
instrumentAnthropicAiClient,
135+
instrumentGoogleGenAIClient,
134136
zodErrorsIntegration,
135137
profiler,
136138
consoleLoggingIntegration,
@@ -139,6 +141,8 @@ export {
139141
wrapMcpServerWithSentry,
140142
featureFlagsIntegration,
141143
createLangChainCallbackHandler,
144+
instrumentLangGraph,
145+
instrumentStateGraphCompile,
142146
} from '@sentry/core';
143147

144148
export type {

packages/remix/src/server/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ export {
122122
supabaseIntegration,
123123
instrumentSupabaseClient,
124124
instrumentOpenAiClient,
125+
instrumentAnthropicAiClient,
126+
instrumentGoogleGenAIClient,
127+
instrumentLangGraph,
128+
instrumentStateGraphCompile,
125129
zodErrorsIntegration,
126130
logger,
127131
consoleLoggingIntegration,

packages/sveltekit/src/server/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ export {
124124
supabaseIntegration,
125125
instrumentSupabaseClient,
126126
instrumentOpenAiClient,
127+
instrumentAnthropicAiClient,
128+
instrumentGoogleGenAIClient,
129+
instrumentLangGraph,
130+
instrumentStateGraphCompile,
127131
zodErrorsIntegration,
128132
logger,
129133
consoleLoggingIntegration,

0 commit comments

Comments
 (0)