Can you explain in a little detail please?

On Saturday, March 14, 2020 at 9:26:39 PM UTC+5:30, Christian Hoffmann 
wrote:
>
> Hi, 
>
> On 3/14/20 4:32 PM, Yagyansh S. Kumar wrote: 
> > Hi. In my prometheus.yml file all the targets necessarily have 2 labels 
> > viz "cluster" and "node". 
> [...] 
> > 
> > Now, for a particular node value(Let it be A which belongs to X cluster) 
> > I want this threshold to be 2*NumberofCores. How can I do this? 
>
> You could use this pattern: 
> https://www.robustperception.io/using-time-series-as-alert-thresholds 
>
> With a slight variation -- you would not specify the actual threshold in 
> your "threshold metric". Instead, you would use it as a factor in your 
> query. If it's absent, you could default to 1. 
>
> Kind regards, 
> Christian 
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/5542209d-404a-4660-8ca8-212457b1926c%40googlegroups.com.

Reply via email to