blackbox_exporter is probably the tool for this. You can match on the status code, or use a regex to match on the body: that's fine if it's a plain "0" or "1".
If the body is JSON or XML and you want to extract a value from deep inside the structure, it might be cleaner to do it a different way. -- 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/d11eb140-64c6-47b8-8ddf-60bb9fd7545bn%40googlegroups.com.

