- 15 Apr, 2022 2 commits
-
-
Edmund Smith authored
-
Edmund Smith authored
-
- 19 Nov, 2021 1 commit
-
-
Sjoerd Simons authored
The card was added in the mattermost messages mostly for debugging (to do a full state). However with more then 100 devices in lava it ends up bigger then mattermost will accept so drop it.
-
- 22 Sep, 2021 4 commits
-
-
- 20 Sep, 2021 2 commits
-
-
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.
-
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 <sjoerd@collabora.com>
-
- 18 Sep, 2021 2 commits
-
-
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.
-
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)
-
- 02 Sep, 2021 3 commits
-
-
Edmund Smith authored
-
Edmund Smith authored
This was previously a degenerate HashMap that only contained the value 'true' for the keys that existed.
-
Edmund Smith authored
Trivial simplifications of existing code.
-
- 01 Sep, 2021 1 commit
-
-
Edmund Smith authored
-
- 30 Aug, 2021 4 commits
-
-
Sjoerd Simons authored
-
Sjoerd Simons authored
Gitlab looks for app.gitlab.com/{app,env} annotations in various objects including deployments; Add support for that to the chart Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-
Sjoerd Simons authored
-
Sjoerd Simons authored
-
- 06 Aug, 2021 1 commit
-
-
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.
-
- 09 Jun, 2021 2 commits
-
-
Corentin Noël authored
Reports the current running time in seconds the jobs have been processing. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com>
-
Corentin Noël authored
Signed-off-by:
Corentin Noël <corentin.noel@collabora.com>
-
- 10 May, 2021 1 commit
-
-
Corentin Noël authored
This gives some basic instruction and information about the project. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com>
-
- 14 Apr, 2021 1 commit
-
-
Corentin Noël authored
-
- 13 Apr, 2021 1 commit
-
-
Corentin Noël authored
A new report has been added: lava_queue_size{device_type=DEVICE_TYPE,submitter=SUBMITTER,priority=PRIORITY} Signed-off-by:
Corentin Noël <corentin.noel@collabora.com>
-
- 06 Apr, 2021 1 commit
-
-
Corentin Noël authored
Major update of tokio. Update warp, prometheus and env_logger to their latest available version. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com>
-
- 13 Oct, 2020 1 commit
-
-
Sjoerd Simons authored
-
- 12 Oct, 2020 4 commits
-
-
Sjoerd Simons authored
-
Sjoerd Simons authored
-
Sjoerd Simons authored
-
Sjoerd Simons authored
-
- 08 Oct, 2020 6 commits
-
-
Sjoerd Simons authored
-
Sjoerd Simons authored
Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-
Sjoerd Simons authored
-
Sjoerd Simons authored
-
Sjoerd Simons authored
The lava frontend talks about devices and workers; So follow that jargon. A specific worker in all metrics should be referred to by the worker label, while a device always by a device label. That way we can merge timeseries without requiring label renaming Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-
Sjoerd Simons authored
-
- 06 Oct, 2020 3 commits
-
-
Sjoerd Simons authored
When either lava or mattermost throw errors warn and retry later rather then throwing up an error. Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-
Sjoerd Simons authored
Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-
Sjoerd Simons authored
Make the polling for the mattermost monitoring have a configurable interval and accept data that's no older then a quarter of the interval. Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-