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/4c05f8ce-fc86-4e34-abdf-065b66d04fbe%40googlegroups.com.

Reply via email to