Skip to content

Add memory killer running jobs to prometheus

Nikola Milojevic requested to merge memory_killer_running_jobs_prometheus into master

What does this MR do and why?

Adds Prometheus counter metric for running jobs, when SidekiqMemoryKiller is above Prometheus metric: sidekiq_memory_killer_running_jobs labels: worker_class, deadline_exceeded

Example:

sidekiq_memory_killer_running_jobs{deadline_exceeded="false",worker_class="UpdateAllMirrorsWorker"} 277

Screenshots or screen recordings

image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

related_to: #368513 (closed)

Edited by Nikola Milojevic

Merge request reports