Greatly appreciate the quick responses guys! Thanks so much.

@Julien, do you have any recommended documentation/code to review for using 
a configmap directly?

On Thursday, August 6, 2020 at 1:02:21 PM UTC-7 Julien Pivotto wrote:

> 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/f8235628-7c50-48b0-9cbf-669a09ffe9a1n%40googlegroups.com.

Reply via email to