Skip to content

Export worker_state metric (idle/writing)

Afonso Mukai requested to merge add_file_writer_state_carbon_metric into main

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

Merge request reports