cern-eos / eos_exporter

3 stars 4 forks source link

Expose recycle bin quota metrics. #4

Closed robvalca closed 2 years ago

robvalca commented 2 years ago

Exposes output of eos recycle -m. Inode stats are still missing for now as they are not available in EOS monitoring format.

Metrics added:

# HELP eos_recycle_lifetime_seconds Recycle purges files older than this
# TYPE eos_recycle_lifetime_seconds gauge
eos_recycle_lifetime_seconds{cluster="eoshomecanary"} 1.5552e+07

# HELP eos_recycle_max_bytes Recycle Max Bytes
# TYPE eos_recycle_max_bytes gauge
eos_recycle_max_bytes{cluster="eoshomecanary"} 1e+14

# HELP eos_recycle_ratio Recycle purge kicks in above the fill rate
# TYPE eos_recycle_ratio gauge
eos_recycle_ratio{cluster="eoshomecanary"} 0.8

# HELP eos_recycle_used_bytes Recycle Used Bytes
# TYPE eos_recycle_used_bytes gauge
eos_recyle_used_bytes{cluster="eoshomecanary"} 3.65327544905e+11