That's a little strange. We can specify that the probe should fail if the response body does not match a given pattern, but we cannot extract the pattern that is returned by the URL. Quite a basic functionality that would have been nice to have. Anyways, thanks for the help!
On Sat, Aug 1, 2020 at 12:52 PM Brian Candler <[email protected]> wrote: > You can't with Prometheus + blackbox_exporter. > > Prometheus stores only numeric (float64) values. Labels are strings, but > to work properly it also requires a limited set of distinct label values > (to avoid cardinality explosion). Therefore, blackbox_exporter doesn't put > arbitrary dynamic text in labels. > > You would need to look at a logging system, such as loki, which can store > arbitrary text logs. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Prometheus Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/prometheus-users/XHAu_A-OVEI/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/b1f02919-2627-42fe-b4b2-0d4452d8a7b9o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/b1f02919-2627-42fe-b4b2-0d4452d8a7b9o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAFGi5vAXOTidbSRjWdnhZeTwb9Qm9pJqPg6bhAyKdy41%3DoHjiA%40mail.gmail.com.

