diff options
author | Valery Piashchynski <[email protected]> | 2021-08-18 16:13:49 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-18 16:13:49 +0300 |
commit | c35fbff05205330ab8e49f6008fdbd59128cee14 (patch) | |
tree | d3eb03e8db7231d97ae4ff1d60a0c5a50db8a6fb /pkg/state/job | |
parent | 1d092e57afb55a01283b41942ca3ef15a7e4bdef (diff) |
Add prometheus metrics for the jobs, update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/state/job')
-rw-r--r-- | pkg/state/job/state.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/state/job/state.go b/pkg/state/job/state.go index d90118c3..56050084 100644 --- a/pkg/state/job/state.go +++ b/pkg/state/job/state.go @@ -14,4 +14,6 @@ type State struct { Delayed int64 // Reserved jobs which are in the driver but not consumed yet Reserved int64 + // Status - 1 Ready, 0 - Paused + Ready bool } |