You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should open FIFO file ok on write before trying to read file status. This implements required check "is runsv supervisor running". Because if runsv is not running then contents of it's status file is outdated and does not reflect actual service state.
What did you do that produced an error?
Check runit collector sources:
https://github.com/prometheus-community/go-runit/blob/master/runit/runit.go#L82-L99
What did you expect to see?
It should open FIFO file
ok
on write before trying to read filestatus
. This implements required check "isrunsv
supervisor running". Because ifrunsv
is not running then contents of it'sstatus
file is outdated and does not reflect actual service state.This can be fixed by adding this code:
The runit's
sv
tool does the same:What did you see instead?
File
ok
is not used by this collector at all.The text was updated successfully, but these errors were encountered: