Hi,
I need help for the below issue.
I have the below query regarding which as per the query definition is
working fine. But for certain host (say example*), I want to exclude
/var/cache/fscache metric from alert rule. I am little confused as either
it excludes the metric for all the hosts or collects it for all the hosts.
query: predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs"}[1h], 4 *
3600) < 0 - This collects all metrics for all the hosts
updated query:
predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs",job!~"example.*",mountpoint!~"/var/cache/fscache"}[1h],
4 * 3600) < 0 - This excludes both the host example* and the mountpoint
/var/cache/fscache. I want this to alert for all the metrics for all the
hosts but for example* host don't alert for mounpoint /var/cache/fscache.
Any help is highly appreciated.
Thanks
Eswar
--
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/253f05a4-5428-4b00-af77-0ca93f2c93c8%40googlegroups.com.