Commit aee55b5
fix: add ingest validation and missing stats query indexes
- ingest: reject payloads with neither exception nor message (400)
- migration: add (status, last_seen), (status, first_seen, last_seen)
indexes for stats filtered counts, and bare created_at index on
events for the global 24h count
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e7480f1 commit aee55b5
2 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
0 commit comments