Skip to content

Commit

Permalink
Provide an actually working query in README
Browse files Browse the repository at this point in the history
  • Loading branch information
vassilevsky committed Nov 26, 2017
1 parent 215c45d commit ab21ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ SELECT COUNT(jid) FROM sidekiq_jobs WHERE class = 'ReportGeneration' AND time >
How many different jobs were executed with errors in the last day:

```sql
SELECT class, count(jid) AS n FROM sidekiq_jobs WHERE time > now() - 1d AND event = 'error' GROUP BY class
SELECT COUNT(jid) FROM sidekiq_jobs WHERE event = 'error' AND time > now() - 1d GROUP BY class
```

Et cetera.
Expand Down

0 comments on commit ab21ba2

Please sign in to comment.