raph2i / synology_backup_exporter

Prometheus Exporter for Synology Backup Suite (Active Backup, Hyper Backup, Hyper Backup Vault)
MIT License
4 stars 4 forks source link

Exporter very high %CPU #7

Open Kybeer opened 1 year ago

Kybeer commented 1 year ago

Hello,

I have ~20 containers running on my 8core physical host (misc applications, Prometheus exporters etc), including the Synology Backup Exporter, latest image.

The issue I have is this application / exporter is using 10x the CPU compared to all the rest. I think it's a bit odd. I have visualized it with Grafana here:

image

And with Linux Cockpit here:

image

Is there anything that can be done about the heavy utilization, or is it expected behavior?

raph2i commented 5 months ago

hey there! i just merged the fix from @zxjinn and updated the image at docker hub

Kybeer commented 5 months ago

hey there! i just merged the fix from @zxjinn and updated the image at docker hub

It's the one tag:ed "dsm7"?

raph2i commented 5 months ago

Yep, latest is with the legacycode for dsm6

Kybeer commented 5 months ago

Yep, latest is with the legacycode for dsm6

CPU load looks much better now!

Kybeer commented 5 months ago

Do you have any Grafana dashboard to share?