Skip to content

Commit 3eb3df2

Browse files
Update llm monitoring documentation for JavaScript (#13971)
The `docs/product/insights/ai/llm-monitoring/getting-started/index.mdx` page was updated to document JavaScript SDK support for LLM monitoring via the Vercel AI integration. Key changes include: * The previous alert stating "This feature is currently only available in the Python SDK" was removed. * Content was restructured with new "Supported SDKs" sections for Python and JavaScript. * A dedicated JavaScript section was added, detailing support for the Vercel AI integration. * A comprehensive list of supported JavaScript platforms was included, using `LinkWithPlatformIcon` components, such as Node.js, Next.js, SvelteKit, Nuxt, and various server/serverless frameworks. * An alert was added to clarify that the Vercel AI integration is limited to Node.js and Bun runtimes and requires SDK version `8.43.0` or higher. These updates provide clear guidance for JavaScript users and address previous confusion regarding LLM monitoring capabilities. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent ad12a9a commit 3eb3df2

File tree

1 file changed

+136
-16
lines changed
  • docs/product/insights/ai/llm-monitoring/getting-started

1 file changed

+136
-16
lines changed

docs/product/insights/ai/llm-monitoring/getting-started/index.mdx

Lines changed: 136 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,154 @@ sidebar_order: 0
44
description: "Learn how to set up Sentry LLM Monitoring"
55
---
66

7-
<Alert>
8-
9-
This feature is currently only available in the Python SDK.
10-
11-
</Alert>
12-
13-
Sentry LLM Monitoring is easiest to use with the Python SDK and an official integration like OpenAI.
7+
Sentry LLM Monitoring helps you track and debug AI-powered applications using our supported SDKs and integrations.
148

159
![LLM Monitoring User Interface](../img/pipelines-view.png)
1610

17-
1811
To start sending LLM data to Sentry, make sure you've created a Sentry project for your AI-enabled repository and follow one of the guides below:
1912

20-
## Official AI Integrations
21-
22-
- [OpenAI](/platforms/python/integrations/openai/)
23-
- [Langchain](/platforms/python/integrations/langchain/)
24-
- [Anthropic](/platforms/python/integrations/anthropic/)
25-
- [Huggingface Hub](/platforms/python/integrations/huggingface_hub/)
26-
- [Cohere](/platforms/python/integrations/cohere/)
13+
## Supported SDKs
14+
15+
### Python
16+
17+
The Sentry Python SDK supports LLM monitoring with integrations for OpenAI, Langchain, Anthropic, Huggingface, and Cohere
18+
19+
#### Official AI Integrations
20+
21+
- <LinkWithPlatformIcon
22+
platform="openai"
23+
label="OpenAI"
24+
url="/platforms/python/integrations/openai/"
25+
/>
26+
- <LinkWithPlatformIcon
27+
platform="langchain"
28+
label="Langchain"
29+
url="/platforms/python/integrations/langchain/"
30+
/>
31+
- <LinkWithPlatformIcon
32+
platform="anthropic"
33+
label="Anthropic"
34+
url="/platforms/python/integrations/anthropic/"
35+
/>
36+
- <LinkWithPlatformIcon
37+
platform="huggingface"
38+
label="Huggingface Hub"
39+
url="/platforms/python/integrations/huggingface_hub/"
40+
/>
41+
- <LinkWithPlatformIcon
42+
platform="python"
43+
label="Cohere"
44+
url="/platforms/python/integrations/cohere/"
45+
/>
46+
47+
### JavaScript
48+
49+
The JavaScript SDK supports LLM monitoring through the Vercel AI integration for Node.js and Bun runtimes.
50+
51+
#### Supported Platforms
52+
53+
- <LinkWithPlatformIcon
54+
platform="javascript.node"
55+
label="Node.js"
56+
url="/platforms/javascript/guides/node/configuration/integrations/vercelai/"
57+
/>
58+
- <LinkWithPlatformIcon
59+
platform="javascript.nextjs"
60+
label="Next.js"
61+
url="/platforms/javascript/guides/nextjs/configuration/integrations/vercelai/"
62+
/>
63+
- <LinkWithPlatformIcon
64+
platform="javascript.sveltekit"
65+
label="SvelteKit"
66+
url="/platforms/javascript/guides/sveltekit/configuration/integrations/vercelai/"
67+
/>
68+
- <LinkWithPlatformIcon
69+
platform="javascript.nuxt"
70+
label="Nuxt"
71+
url="/platforms/javascript/guides/nuxt/configuration/integrations/vercelai/"
72+
/>
73+
- <LinkWithPlatformIcon
74+
platform="javascript.astro"
75+
label="Astro"
76+
url="/platforms/javascript/guides/astro/configuration/integrations/vercelai/"
77+
/>
78+
- <LinkWithPlatformIcon
79+
platform="javascript.remix"
80+
label="Remix"
81+
url="/platforms/javascript/guides/remix/configuration/integrations/vercelai/"
82+
/>
83+
- <LinkWithPlatformIcon
84+
platform="javascript.solidstart"
85+
label="SolidStart"
86+
url="/platforms/javascript/guides/solidstart/configuration/integrations/vercelai/"
87+
/>
88+
- <LinkWithPlatformIcon
89+
platform="javascript.express"
90+
label="Express"
91+
url="/platforms/javascript/guides/express/configuration/integrations/vercelai/"
92+
/>
93+
- <LinkWithPlatformIcon
94+
platform="javascript.fastify"
95+
label="Fastify"
96+
url="/platforms/javascript/guides/fastify/configuration/integrations/vercelai/"
97+
/>
98+
- <LinkWithPlatformIcon
99+
platform="javascript.nestjs"
100+
label="Nest.js"
101+
url="/platforms/javascript/guides/nestjs/configuration/integrations/vercelai/"
102+
/>
103+
- <LinkWithPlatformIcon
104+
platform="javascript.hapi"
105+
label="Hapi"
106+
url="/platforms/javascript/guides/hapi/configuration/integrations/vercelai/"
107+
/>
108+
- <LinkWithPlatformIcon
109+
platform="javascript.koa"
110+
label="Koa"
111+
url="/platforms/javascript/guides/koa/configuration/integrations/vercelai/"
112+
/>
113+
- <LinkWithPlatformIcon
114+
platform="javascript.connect"
115+
label="Connect"
116+
url="/platforms/javascript/guides/connect/configuration/integrations/vercelai/"
117+
/>
118+
- <LinkWithPlatformIcon
119+
platform="javascript.hono"
120+
label="Hono"
121+
url="/platforms/javascript/guides/hono/configuration/integrations/vercelai/"
122+
/>
123+
- <LinkWithPlatformIcon
124+
platform="javascript.bun"
125+
label="Bun"
126+
url="/platforms/javascript/guides/bun/configuration/integrations/vercelai/"
127+
/>
128+
- <LinkWithPlatformIcon
129+
platform="javascript.aws-lambda"
130+
label="AWS Lambda"
131+
url="/platforms/javascript/guides/aws-lambda/configuration/integrations/vercelai/"
132+
/>
133+
- <LinkWithPlatformIcon
134+
platform="javascript.azure-functions"
135+
label="Azure Functions"
136+
url="/platforms/javascript/guides/azure-functions/configuration/integrations/vercelai/"
137+
/>
138+
- <LinkWithPlatformIcon
139+
platform="javascript.gcp-functions"
140+
label="Google Cloud Functions"
141+
url="/platforms/javascript/guides/gcp-functions/configuration/integrations/vercelai/"
142+
/>
143+
- <LinkWithPlatformIcon
144+
platform="javascript.electron"
145+
label="Electron"
146+
url="/platforms/javascript/guides/electron/configuration/integrations/vercelai/"
147+
/>
27148

28149
<Alert title="Don't see your platform?">
29150

30151
We'll be adding AI integrations continuously. You can also instrument AI manually with the Sentry Python SDK.
31152

32153
</Alert>
33154

34-
35155
## Pipelines and LLMs
36156

37157
The Sentry LLM Monitoring feature relies on the fact that you have an orchestrator (like LangChain) creating pipelines of one or more LLMs (such as gpt-4). In the LLM Monitoring dashboard, we show you a table of the AI pipelines and pull the token usage from your LLMs.

0 commit comments

Comments
 (0)