Skip to content

Commit 6b66b3b

Browse files
authored
fix(agents-insights): add missing query referrers (#94906)
1 parent c7a99d7 commit 6b66b3b

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

src/sentry/snuba/referrer.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@ class Referrer(StrEnum):
173173
API_ORGANIZATION_EVENTS_SPANS_PERFORMANCE_SUSPECTS = (
174174
"api.organization-events-spans-performance-suspects"
175175
)
176-
API_PERFORMANCE_AGENT_MONITORING_TRACE_DRAWER = "api.performance.agent-monitoring.trace-drawer"
177-
API_PERFORMANCE_AGENT_MONITORING_MODELS_TABLE = "api.performance.agent-monitoring.models-table"
178176
API_PERFORMANCE_EVENTS_FACETS_STATS = (
179177
"api.organization-events-facets-stats-performance.top-tags"
180178
)
@@ -696,6 +694,29 @@ class Referrer(StrEnum):
696694
API_PERFORMANCE_BACKEND_OVERVIEW_WEB_VITALS_CHART = (
697695
"api.performance.backend.overview.web-vitals-chart"
698696
)
697+
API_PERFORMANCE_BACKEND_OVERVIEW_NEXTJS_API_TREE = "api.performance.nextjs.overview.api-tree"
698+
699+
# Performance Agent Monitoring Module
700+
API_PERFORMANCE_AGENT_MONITORING_MODELS_TABLE = "api.performance.agent-monitoring.models-table"
701+
API_PERFORMANCE_AGENT_MONITORING_TOOLS_TABLE = "api.performance.agent-monitoring.tools-table"
702+
API_PERFORMANCE_AGENT_MONITORING_TRACE_DRAWER = "api.performance.agent-monitoring.trace-drawer"
703+
API_PERFORMANCE_AGENT_MONITORING_TRACES_TABLE = "api.performance.agent-monitoring.traces-table"
704+
API_PERFORMANCE_AGENT_MONITORING_TOKEN_USAGE_WIDGET = (
705+
"api.performance.agent-monitoring.token-usage-widget"
706+
)
707+
API_PERFORMANCE_AGENT_MONITORING_TOOL_USAGE_WIDGET = (
708+
"api.performance.agent-monitoring.tool-usage-widget"
709+
)
710+
API_PERFORMANCE_AGENT_MONITORING_LLM_GENERATIONS_WIDGET = (
711+
"api.performance.agent-monitoring.llm-generations-widget"
712+
)
713+
API_PERFORMANCE_AGENT_MONITORING_AGENT_RUNS_WIDGET = (
714+
"api.performance.agent-monitoring.agent-runs-widget"
715+
)
716+
API_PERFORMANCE_AGENT_MONITORING_AGENT_DURATION_WIDGET = (
717+
"api.performance.agent-monitoring.agent-duration-widget"
718+
)
719+
API_PERFORMANCE_AGENT_MONITORING_ONBOARDING = "api.performance.agent-monitoring.onboarding"
699720

700721
API_SPAN_SAMPLE_GET_BOUNDS = "api.spans.sample-get-bounds"
701722
API_SPAN_SAMPLE_GET_SPAN_IDS = "api.spans.sample-get-span-ids"

0 commit comments

Comments
 (0)