Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(sentry/dashboards): add limit:10 to every query

justin5eb66a3c229f
diff --git a/sentry/README.md b/sentry/README.md
index 5d7c1c2b5..3d265e767 100644
--- a/sentry/README.md
+++ b/sentry/README.md
@@ -89,7 +89,7 @@ Each dashboard entry has:
- `columns` — group-by fields
- `query` — Sentry search filter (e.g., `event.type:error project:kaneo-api`)
- `orderby` — sort field (e.g., `-count()`)
- - `limit` — max rows for table widgets
+ - `limit` — required on every query; max is 10. The script uses 10 for all queries.
Performance metrics use `event.type:transaction is_transaction:true` (the dataset migration removed `dataset: transactions`). Error metrics use `event.type:error`. Cron check-in events use `event.type:transaction monitor.check_in_id:*`.
diff --git a/sentry/dashboards.json b/sentry/dashboards.json
index b6e1b4c4d..1fd5549c1 100644
--- a/sentry/dashboards.json
+++ b/sentry/dashboards.json
@@ -20,7 +20,8 @@
"aggregates": ["count()"],
"columns": ["time"],
"query": "event.type:error project:kaneo-api",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -34,7 +35,8 @@
"aggregates": ["p95(transaction.duration)"],
"columns": ["time"],
"query": "transaction:*/api/* is_transaction:true project:kaneo-api",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -48,7 +50,8 @@
"aggregates": ["count()"],
"columns": ["time"],
"query": "transaction:*/api/* is_transaction:true project:kaneo-api",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -83,7 +86,8 @@
"aggregates": ["count()"],
"columns": ["time"],
"query": "event.type:error project:kaneo-web",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -97,7 +101,8 @@
"aggregates": ["p95(transaction.duration)"],
"columns": ["time"],
"query": "project:kaneo-web is_transaction:true",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -111,7 +116,8 @@
"aggregates": ["p75(measurements.lcp)"],
"columns": ["time"],
"query": "project:kaneo-web is_transaction:true",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -146,7 +152,8 @@
"aggregates": ["count()"],
"columns": ["time"],
"query": "transaction:*/api/mcp/* is_transaction:true",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -160,12 +167,13 @@
"aggregates": ["failure_rate()"],
"columns": ["time"],
"query": "transaction:*/api/mcp/* is_transaction:true",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
{
- "title": "MCP tool usage (top 20)",
+ "title": "MCP tool usage (top 10)",
"displayType": "table",
"interval": "24h",
"queries": [
@@ -175,7 +183,7 @@
"columns": ["transaction"],
"query": "transaction:*/api/mcp/* is_transaction:true",
"orderby": "-count()",
- "limit": 20
+ "limit": 10
}
]
},
@@ -189,7 +197,8 @@
"aggregates": ["p95(transaction.duration)"],
"columns": ["time"],
"query": "transaction:*/api/mcp/* is_transaction:true",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
}
@@ -210,7 +219,7 @@
"columns": ["monitor.slug"],
"query": "event.type:transaction monitor.check_in_id:*",
"orderby": "-count()",
- "limit": 20
+ "limit": 10
}
]
},
@@ -224,7 +233,8 @@
"aggregates": ["count()"],
"columns": ["time"],
"query": "event.type:transaction monitor.check_in_id:*",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
},
@@ -238,7 +248,8 @@
"aggregates": ["count()"],
"columns": ["time"],
"query": "event.type:transaction monitor.check_in_id:* monitor.status:missed_or_failed",
- "orderby": "time"
+ "orderby": "time",
+ "limit": 10
}
]
}