On 06.04.21 09:58, Shutima Potivorakun wrote:
Hello all,I am new to Prometheus. I need to learn how to configure Prometheus, therefore I setup Prometheus and Grafana locally using docker-compose. Then I wrote a simple REST API that display some text on the browser. Now, I would like to connect this API to Prometheus. Could you please point me out to the document on how to do this? Thank you very much in advance. Here is my simple project:https://gitlab.com/s.potivorakun/prometheus-grafana Best Regards, Shutima
Hi Shutima A very easy way is to use https://github.com/prometheus/blackbox_exporter> The blackbox exporter allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP.
We included lots of RESTful APIs in our blackbox config best regards Evelyn -- 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/6459fd55-2369-6eb3-9d06-41fea1b4d9e3%40disroot.org.
OpenPGP_0x61776FA8E38403FB.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature

