celery-exporter icon indicating copy to clipboard operation
celery-exporter copied to clipboard

Memory occupation grows over time

Open CharlesB2 opened this issue 1 year ago • 2 comments

Hello, We deploy celery-exporter on a kubernetes cluster using the public docker image (tag 0.7.5), but we get memory usage slowly increasing so that after weeeks it reaches over 1 GB, while it started under 100 MB image

CharlesB2 avatar Aug 04 '23 11:08 CharlesB2

v0.8.0 and above cleanup metrics of timed out / rotated workers. It might be that an exporter running longer time in environments with high cardinality on worker names (e.g pod names) cause more metrics/memory usage. Try and see, it will cleanup metrics of workers that have timed out longer than 5 minutes.

adinhodovic avatar Aug 06 '23 22:08 adinhodovic