Export worker_state metric (idle/writing)
Created by: danesss
Issue
We do not currently push a Graphite metric with the idle/writing state of the file-writer. Such metric would simplify the monitoring of currently available/busy file-writers.
Description of work
Add a global metric worker_state
that exports enum class WorkerState { Idle, Writing }
as a Carbon metric with possible values {0, 1}
.
Checklist
-
Changes have been documented in changes.md
-
Documentation has been updated in documentation
directory