Created
February 23, 2019 01:59
-
-
Save oboxodo/2dca24114a68a8cc8238868b73e3d482 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Trying to get similar info that can be get from https://rollbar.com/quimbee/quimbee/versions/ | |
-- but based on a custom attribute instead of the `code_version`. | |
-- Still not there. | |
SELECT body.trace.extra.code_version_release_iteration, max(timestamp), count_distinct(item.counter), count(*) | |
FROM item_occurrence | |
WHERE item.environment = "production" | |
AND item.level >= 30 | |
GROUP BY 1 | |
ORDER BY 2 DESC | |
LIMIT 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment