On 06 Aug 22:00, Julien Pivotto wrote: > On 06 Aug 20:59, Stuart Clark wrote: > > On 06/08/2020 20:36, [email protected] wrote: > > > Hi all, > > > > > > We're looking to dynamically create/edit recording rules. Does anyone > > > know a way to do this at run-time without using a sidecar or modifying > > > the rule_files directly? For example, is there an API that would allow > > > this and then we can pass SIGHUP after calling? > > > > > > > You need to update the files. If you want some form of API you'd need a > > sidecar to manage that. > > However please note that rule_files takes glob, e.g. rules*.yml.
to be clear that means that with a configmap and /-/reload you don't need a side car AFAIK > > > > -- > > 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/2fa3a2b9-4cf7-8af4-9b50-249d02af5c2a%40Jahingo.com. > > -- > Julien Pivotto > @roidelapluie -- Julien Pivotto @roidelapluie -- 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/20200806200214.GA374395%40oxygen.

