Skip to content

Commit 92c4a09

Browse files
fix(dashboards): Add http_error_count_percent to function blocklist (#112470)
Adds `http_error_count_percent` to the Seer dashboard generation function blocklist to prevent it from being hallucinated in generated widget queries.
1 parent 5d69a6f commit 92c4a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/dashboards/models/generate_dashboard_artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
Intervals = Literal["5m", "15m", "30m", "1h", "4h", "12h", "24h"]
3939

4040
# Blocklist for frequently hallucinated functions or functions we want to avoid using
41-
FUNCTION_BLOCKLIST: set[str] = {"spm", "apdex", "http_error_count"}
41+
FUNCTION_BLOCKLIST: set[str] = {"spm", "apdex", "http_error_count", "http_error_count_percent"}
4242

4343

4444
class GeneratedWidgetQuery(BaseModel):

0 commit comments

Comments
 (0)