mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
tidy snapshotMetrics script
This commit is contained in:
parent
ce7e9f38ef
commit
ae22e92147
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
SELECT snapshots.CreatedDateUtc, FilterlistId, HttpStatusCode, WasSuccessful, WaybackTimestamp, COUNT(snapshots_rules.RuleId) AS 'Count'
|
||||
SELECT snapshots.CreatedDateUtc, FilterlistId, HttpStatusCode, CAST(WasSuccessful AS UNSIGNED), WaybackTimestamp, COUNT(snapshots_rules.RuleId) AS 'Count'
|
||||
FROM snapshots
|
||||
JOIN snapshots_rules ON snapshots.Id = snapshots_rules.SnapshotId
|
||||
GROUP BY snapshots.Id
|
||||
ORDER BY snapshots.CreatedDateUtc DESC
|
||||
LIMIT 50;
|
||||
LIMIT 5;
|
||||
Loading…
Reference in a new issue