-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from mtelvers/async-prune
Async delete
- Loading branch information
Showing
9 changed files
with
99 additions
and
145 deletions.
There are no files selected for viewing
This file contains 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
Submodule obuilder
updated
5 files
+11 −1 | CHANGES.md | |
+14 −0 | lib/os.ml | |
+249 −0 | lib/overlayfs_store.ml | |
+7 −0 | lib/overlayfs_store.mli | |
+9 −2 | lib/store_spec.ml |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
open Prometheus | ||
|
||
let namespace = "ocluster" | ||
let subsystem = "worker" | ||
|
||
let jobs_accepted = | ||
let help = "Number of jobs accepted in total" in | ||
Counter.v ~help ~namespace ~subsystem "jobs_accepted_total" | ||
|
||
let job_time = | ||
let help = "Time jobs ran for" in | ||
Summary.v_label ~label_name:"result" ~help ~namespace ~subsystem "job_time_seconds" | ||
|
||
let docker_push_time = | ||
let help = "Time uploading to Docker Hub" in | ||
Summary.v ~help ~namespace ~subsystem "docker_push_time_seconds" | ||
|
||
let docker_prune_time = | ||
let help = "Time spent pruning Docker cache" in | ||
Summary.v ~help ~namespace ~subsystem "docker_prune_time_seconds" | ||
|
||
let running_jobs = | ||
let help = "Number of jobs currently running" in | ||
Gauge.v ~help ~namespace ~subsystem "running_jobs" | ||
|
||
let healthcheck_time = | ||
let help = "Time to perform last healthcheck" in | ||
Gauge.v ~help ~namespace ~subsystem "healthcheck_time_seconds" | ||
|
||
let unhealthy = | ||
let help = "Number of unhealthy workers" in | ||
Gauge.v ~help ~namespace ~subsystem "unhealthy" | ||
|
||
let cache_hits = | ||
let help = "Number of OBuilder cache hits" in | ||
Gauge.v ~help ~namespace ~subsystem "cache_hits" | ||
|
||
let cache_misses = | ||
let help = "Number of OBuilder cache misses" in | ||
Gauge.v ~help ~namespace ~subsystem "cache_misses" | ||
|
||
let obuilder_space_free = | ||
let help = "OBuilder percentage of space free" in | ||
Gauge.v ~help ~namespace ~subsystem "obuilder_space_free" | ||
|
This file contains 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
Oops, something went wrong.