letsencrypt / unbound_exporter

A Prometheus exporter for Unbound.
Apache License 2.0
178 stars 80 forks source link

Export total unbound memory usage #18

Open jsha opened 4 years ago

jsha commented 4 years ago

Unbound has stats for memory usage by the various caches, and by the various modules. But these don't add up to the total memory usage. For instance message buffers can take up a lot of memory depending on configuration.

It would be great if unbound_exporter could get the current total memory used by unbound (via ps perhaps? Or /proc/) and export that as a metric.

jpds commented 1 year ago

This can be acquired from https://github.com/prometheus-community/systemd_exporter