canonical / prometheus-hardware-exporter

Prometheus Hardware Exporter is an exporter for Hardware Observer
GNU General Public License v3.0
10 stars 9 forks source link

Add timeout on subprocess call #9

Closed sudeephb closed 1 year ago

sudeephb commented 1 year ago

Add a default timeout on subprocess call to collector commands. Optionally, a config option can also be added if the users want to tweak the timeout on collector commands, but it is low priority.