1. 15 Apr, 2022 2 commits
  2. 19 Nov, 2021 1 commit
  3. 22 Sep, 2021 4 commits
  4. 20 Sep, 2021 2 commits
    • Sjoerd Simons's avatar
      Move the cleanup function to the JobCacheReader · aa583fa5
      Sjoerd Simons authored
      The cleanup function should only cleanup (or well mark) jobs that have
      been read by the metrics. That's impossible to do with the cleanup
      function in the JobCache itself (at least not without introducing
      interesting locking rules.
      
      So instead move it to the JobCacheReader which will guarantee that a
      specific view gets cleaned up instead (as the reader lock is being
      held). This doesn't do the actual cleanup anymore though; just schedules
      the job as expired for the next update run to actually drop it later.
      aa583fa5
    • Sjoerd Simons's avatar
      Hold device reader for all metrics gathering · e0fa79d5
      Sjoerd Simons authored
      
      
      By dropping the device reader between each iteration we open a window
      for races where the underlying data might updated inbetween. Fix by
      simply holding the same reader while generating all metrics.
      Signed-off-by: Sjoerd Simons's avatarSjoerd Simons <sjoerd@collabora.com>
      e0fa79d5
  5. 18 Sep, 2021 2 commits
    • Sjoerd Simons's avatar
      Add local job caching, rather than querying jobs on demand · b3774289
      Sjoerd Simons authored
      Retrieving jobs is much slower than retrieving devices from Lava,
      which has the effect of causing device status updates to be delayed,
      and of limiting the quantity of queries that can be made in any
      reasonable amount of time.
      
      Cache maintainance code originally from Ed Smith
      <ed.smith@collabora.com>, but heavily refactored so simplification.
      b3774289
    • Sjoerd Simons's avatar
      Rename lavacache to devicecache · c507b67b
      Sjoerd Simons authored
      Prepare for seperating out the job cache into it's own object; Leaving
      the current cache to only cache devices, so match the name (even though
      at the moment that's still a lie)
      c507b67b
  6. 02 Sep, 2021 3 commits
  7. 01 Sep, 2021 1 commit
  8. 30 Aug, 2021 4 commits
  9. 06 Aug, 2021 1 commit
    • Daniel Stone's avatar
      Disable grafana-image-renderer · 930bc321
      Daniel Stone authored
      This is only used to inline image snapshots into alerts, which we don't
      need at all. It's also smashing titanium's CPUs to bits.
      930bc321
  10. 09 Jun, 2021 2 commits
  11. 10 May, 2021 1 commit
  12. 14 Apr, 2021 1 commit
  13. 13 Apr, 2021 1 commit
  14. 06 Apr, 2021 1 commit
  15. 13 Oct, 2020 1 commit
  16. 12 Oct, 2020 4 commits
  17. 08 Oct, 2020 6 commits
  18. 06 Oct, 2020 3 commits