Closed sudeephb closed 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
Depends on https://github.com/canonical/prometheus-hardware-exporter/pull/67
This adds a
collect_timeout
option which sets the timeout for subprocess calls insideprometheus-hardware-exporter
. Setting this value also changes thescrape_timeout
scrape config option while relatinggrafana-agent
withhardware-observer
.