Expose metrics for processes state
Refs https://redmine.teklia.com/issues/7791
We need to extend the MetricView
endpoint to add the following metrics:
-
arkindex_process{state="pending", farm="FARM NAME"} <nb>
will count the overall number of pending processes per farm -
arkindex_process{state="unscheduled", farm="FARM NAME"} <nb>
, same thing but for unscheduled -
arkindex_agent_ping{hostname="AGENT HOSTNAME", farm="FARM NAME"} <last_ping>
will expose the last ping of each known agent