kestra_worker_job_thread: number of threads to process jobs
kestra_worker_job_pending: number of jobs pending to be process (waiting for a thread to be available)
kestra_worker_job_running: number of jobs running / processing (using a thread)
Those metrics will allow to autoscale Worker pods based on the worker job pending and currently running counts. The thread count can be used to compute a usage in percent.
This PR adds 3 metrics to the worker:
Those metrics will allow to autoscale Worker pods based on the worker job pending and currently running counts. The thread count can be used to compute a usage in percent.