1. 23 Feb, 2018 2 commits
  2. 23 Jan, 2018 1 commit
  3. 22 Aug, 2017 2 commits
  4. 19 Jul, 2017 1 commit
  5. 08 Jul, 2017 1 commit
  6. 05 Jul, 2017 1 commit
  7. 29 Jun, 2017 1 commit
  8. 27 Jun, 2017 1 commit
  9. 09 Mar, 2017 1 commit
  10. 22 Feb, 2017 1 commit
  11. 20 Jan, 2017 1 commit
  12. 03 Jan, 2017 1 commit
  13. 19 Dec, 2016 1 commit
  14. 25 Nov, 2016 1 commit
  15. 11 Nov, 2016 1 commit
  16. 10 Nov, 2016 1 commit
  17. 08 Nov, 2016 2 commits
    • Zeger-Jan van de Weg's avatar
      Add additional queries for bussiness stats · 0c737b8b
      Zeger-Jan van de Weg authored
      Using the previous commit I was able to come up with a couple more
      queries. The ordering is on table name, so the index don't have to be
      swapped hopefully.
      0c737b8b
    • Zeger-Jan van de Weg's avatar
      Minor refactor for easier extensibility · 10343fea
      Zeger-Jan van de Weg authored
      In the previous version it was harder to extend as you could forget to
      include your symbol in the query list. Also, the queries had some
      duplication. For extensions this is the easier way forward and the
      DRYest.
      
      Also added the first tests for database monitoring.
      10343fea
  18. 05 Nov, 2016 1 commit
  19. 02 Nov, 2016 1 commit
  20. 01 Nov, 2016 1 commit
    • Zeger-Jan van de Weg's avatar
      Add ability to query row counts · e5bda2a5
      Zeger-Jan van de Weg authored
      This commit allows for queries which only request for row counts to be
      gathered and written for Prometheus to gather.
      
      At this time 3 simple queries are added which monitor how many projects
      are orphaned and/or pending_delete, though the structure of the code
      allows for easily adding more queries which do
      SELECT COUNT(<whatever>) FROM <whatever>;
      e5bda2a5