Thanks so much Brian I really needed an insight on this ... so I guess you have implemented this. If its not too much to ask then can I ask for a sample code please.
On Wednesday, 8 April 2020 12:20:52 UTC+5:30, Brian Candler wrote: > > Yes: write a script to write the new alerting rules to a file. Prometheus > can be configured to pick up all the files in a directory, e.g. > > rule_files: > - "rules/*.yml" > > Note: you will need to signal > <https://www.robustperception.io/reloading-prometheus-configuration> > (e.g. "killall -HUP prometheus") to pick up rules when they are changed. > -- 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/1d4c3fcc-4d9b-4271-a97c-d2851aeef115%40googlegroups.com.

