On Tuesday, 16 June 2026 at 04:51:30 UTC+1 [email protected] wrote:

I have configured the latest versions of Prometheus and Alertmanager in 
Ubuntu LTS OS 24.04 . Is there a way to configure the green button to 
display ACTIVE when the service is up, instead of INACTIVE, and the red 
button to display INACTIVE when the service is down, as shown in the 
attached screenshot for your reference?


Not really, because it's referring to the alerting rules, not any 
particular service.

An alerting expression which returns an empty vector is an inactive alert 
rule. Similarly, when the alerting rule returns a vector of one or more 
alerts, that means the alert is active.

Neither state tells you anything about how many services are being 
monitored.  You might not have any services that could ever match a given 
rule; the rule remains inactive, but that doesn't imply that there's any 
corresponding service which is active. It would therefore be misleading to 
label "Active" here. The absence of an error does not imply the presence of 
something which is good.

Of course, it's all open source and you can hack it however you like, but 
then you'd be maintaining your own fork of Prometheus forever.

-- 
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 visit 
https://groups.google.com/d/msgid/prometheus-users/16501b5b-f766-451b-8bad-f9712a3c8893n%40googlegroups.com.

Reply via email to