canonical / hardware-observer-operator

A charm to setup prometheus exporter for IPMI, RedFish and RAID devices from different vendors.
Apache License 2.0
7 stars 15 forks source link

Add collect_timeout config option #193

Closed sudeephb closed 6 months ago

sudeephb commented 6 months ago

Depends on https://github.com/canonical/prometheus-hardware-exporter/pull/67

This adds a collect_timeout option which sets the timeout for subprocess calls inside prometheus-hardware-exporter. Setting this value also changes the scrape_timeout scrape config option while relating grafana-agent with hardware-observer.

Pjack commented 6 months ago

Lesson learn: We should add new unit/func test when adding new configuration. Here is the defeat bug. https://github.com/canonical/hardware-observer-operator/issues/200 https://github.com/canonical/hardware-observer-operator/issues/207