--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/6f014dc1-fd53-4339-9b13-7907cd9659a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The exporter should be returning a `mysql_up` metric as 0 in the case of failures. This way you can differentiate between the exporter being up, and the target behind the exporter being up.An alert would look something like this:ALERT MySQLDownIF mysql_up == 0 or up == 0...
On Thu, Mar 30, 2017 at 12:00 AM, Peter Zaitsev <p...@percona.com> wrote:
Hi,I noticed if MySQL exporter can't connect to the database it should monitor (ie invalid password) it just returns very few metrics rather than throwing the errorand the error is just seen in the error log file, which complicates troubleshootingI wonder what is the intended mechanism for fatal error reporting from the exporter so for example Prometheus Target page would display proper error message ?For example reporting HTTP 500 with error information as a text could do it
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscri...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/6f014dc1-fd53-4339-9b13-7907cd9659a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.