Skip to content

Commit 3d54e9a

Browse files
edwardgou-sentrymchen-sentry
authored andcommitted
feat(dashboards): Register AI Agent and MCP prebuilt dashboard ids to backend (#109086)
1 parent d327f63 commit 3d54e9a

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

src/sentry/dashboards/endpoints/organization_dashboards.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ class PrebuiltDashboardId(IntEnum):
7777
MOBILE_SESSION_HEALTH = 13
7878
FRONTEND_OVERVIEW = 14
7979
NEXTJS_FRONTEND_OVERVIEW = 15
80+
AI_AGENTS_OVERVIEW = 16
81+
AI_AGENTS_MODELS = 17
82+
AI_AGENTS_TOOLS = 18
83+
MCP_OVERVIEW = 19
84+
MCP_TOOLS = 20
85+
MCP_RESOURCES = 21
86+
MCP_PROMPTS = 22
8087

8188

8289
class PrebuiltDashboard(TypedDict):
@@ -154,6 +161,34 @@ class PrebuiltDashboard(TypedDict):
154161
"prebuilt_id": PrebuiltDashboardId.NEXTJS_FRONTEND_OVERVIEW,
155162
"title": "Next.js Overview",
156163
},
164+
{
165+
"prebuilt_id": PrebuiltDashboardId.AI_AGENTS_MODELS,
166+
"title": "AI Agents Models",
167+
},
168+
{
169+
"prebuilt_id": PrebuiltDashboardId.AI_AGENTS_TOOLS,
170+
"title": "AI Agents Tools",
171+
},
172+
{
173+
"prebuilt_id": PrebuiltDashboardId.MCP_TOOLS,
174+
"title": "MCP Tools",
175+
},
176+
{
177+
"prebuilt_id": PrebuiltDashboardId.MCP_RESOURCES,
178+
"title": "MCP Resources",
179+
},
180+
{
181+
"prebuilt_id": PrebuiltDashboardId.MCP_PROMPTS,
182+
"title": "MCP Prompts",
183+
},
184+
{
185+
"prebuilt_id": PrebuiltDashboardId.AI_AGENTS_OVERVIEW,
186+
"title": "AI Agents Overview",
187+
},
188+
{
189+
"prebuilt_id": PrebuiltDashboardId.MCP_OVERVIEW,
190+
"title": "MCP Overview",
191+
},
157192
]
158193

159194

0 commit comments

Comments
 (0)