Thankyou very much..I will update you soon,,

On Wednesday, August 26, 2020 at 10:40:42 PM UTC-7 Christian Hoffmann wrote:

> Hi,
>
> On 8/27/20 2:19 AM, [email protected] wrote:
> > If pods in two different namespaces go down,then we need to send a alert
> > as an appA is down..
> > Can I simply write expr as Kubepoddown_in_namespaceA and
> > Kubepoddown_in_namespaceB ,and send alert message as "AppA is down"?
> Yes, that's what I meant with the ALERTS metric. Have you tried it? You
> can check those queries using the Prometheus UI (or API) before putting
> them into alert rules.
>
> For example, check
> ALERTS{alertname="Kubepoddown_in_namespaceA",alertstate="firing"}.
>
> > I just wrote the pseudocode of the expr but I want to know if this expr
> > simply works with just AND operator..
> My second suggestion still applies: It might be better or more
> transparent if you could directly reference the relevant metrics.
> However, to provide more specific guidance, we would need to know the
> details of your existing two alerts.
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/cb5713ca-bce3-492e-b87c-827f58e9947dn%40googlegroups.com.

Reply via email to