You can always read the inventory as often as you like. Read it every 5 seconds if you like. Write it to a new file like "targets.new", compare it with the old "targets" file, and if they are different rename targets.new to targets. Then prometheus will pick it up the new file immediately.
The third solution I gave you (creating silences) might work better for you. You can create silences whenever you like, and they take effect immediately. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c6958d5a-eddc-4e8e-9ecc-cae62ad74e4cn%40googlegroups.com.

