1. 19 Dec, 2016 1 commit
  2. 25 Nov, 2016 1 commit
  3. 11 Nov, 2016 1 commit
  4. 10 Nov, 2016 1 commit
  5. 08 Nov, 2016 2 commits
    • Z.J. van de Weg's avatar
      Add additional queries for bussiness stats · 0c737b8b
      Z.J. 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
    • Z.J. van de Weg's avatar
      Minor refactor for easier extensibility · 10343fea
      Z.J. 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
  6. 05 Nov, 2016 1 commit
  7. 02 Nov, 2016 1 commit
  8. 01 Nov, 2016 1 commit
    • Z.J. van de Weg's avatar
      Add ability to query row counts · e5bda2a5
      Z.J. 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