Dear All,I Am Currently Tasked With Using Prometheus, Blackbox Exporter To Monitor Website and Have Some Questions1. How Can I Monitor The Request Time and Response Time Of The Website? What Are The Appropriate Metrics?
2. Am I Doing It Correctly By Using The Metric probe_duration_seconds To Monitor The Ping?The Results Is Very Different From Pinging From Server To Website vs. Using This Metric.
--Thank You In Advance
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/320f04eb-8033-412d-8cd8-c5c5b16da296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You might want to consider using https://latency.at/
On Sat, May 6, 2017 at 4:52 AM, <yongem...@gmail.com> wrote:Dear All,I Am Currently Tasked With Using Prometheus, Blackbox Exporter To Monitor Website and Have Some Questions1. How Can I Monitor The Request Time and Response Time Of The Website? What Are The Appropriate Metrics?probe_duration_seconds will give you the response time of the blackbox probe.If you want to find out how long the server thinks it took to handle the request, you will have to use whitebox monitoring on the server. Setting this up highly depends on what kind of webserver software you're using, what kind of application software, and how your server is configured.2. Am I Doing It Correctly By Using The Metric probe_duration_seconds To Monitor The Ping?The Results Is Very Different From Pinging From Server To Website vs. Using This Metric.probe_duration_seconds is correct. If when you say "ping", you're talking about ICMP ping, yes, they will be different. ICMP does not involve sending anything to the webserver software. Where as with blackbox_exporter, you're probably probing with http.
Also note that the blackbox_exporter by default does a DNS lookup for every probe. If your server doesn't have a local DNS proxy, you could get much higher and inconsistent latency results. I recommend using something like dnsmasq installed locally on the server running the blackbox_exporter to cache DNS lookups.
Thank You In Advance
--
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 prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
I am looking at deploying it in-house and not on the cloud.Are there any other ways to fulfill?Also, is my configuration below correct to monitor the ping of the websiteHere are my configurations and my understanding1. probe_duration_seconds metrics is measured in secondsTo convert it to milliseconds, i use probe_duration_seconds(job="ping_all"} * 1000
Also i configured the step to be 60s and resolution of 1/1
Axes i show Left Y with Unit as milliseconds (ms) and Scale is linearNot sure whether the above is the proper way of doing it
On Saturday, May 6, 2017 at 2:44:30 PM UTC+8, Ben Kochie wrote:You might want to consider using https://latency.at/On Sat, May 6, 2017 at 4:52 AM, <yongem...@gmail.com> wrote:Dear All,I Am Currently Tasked With Using Prometheus, Blackbox Exporter To Monitor Website and Have Some Questions1. How Can I Monitor The Request Time and Response Time Of The Website? What Are The Appropriate Metrics?probe_duration_seconds will give you the response time of the blackbox probe.If you want to find out how long the server thinks it took to handle the request, you will have to use whitebox monitoring on the server. Setting this up highly depends on what kind of webserver software you're using, what kind of application software, and how your server is configured.2. Am I Doing It Correctly By Using The Metric probe_duration_seconds To Monitor The Ping?The Results Is Very Different From Pinging From Server To Website vs. Using This Metric.probe_duration_seconds is correct. If when you say "ping", you're talking about ICMP ping, yes, they will be different. ICMP does not involve sending anything to the webserver software. Where as with blackbox_exporter, you're probably probing with http.
Also note that the blackbox_exporter by default does a DNS lookup for every probe. If your server doesn't have a local DNS proxy, you could get much higher and inconsistent latency results. I recommend using something like dnsmasq installed locally on the server running the blackbox_exporter to cache DNS lookups.--Thank You In Advance
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 prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/320f04eb-8033-412d-8cd8-c5c5b16da296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a0a3d82f-a530-42f1-bf18-f70192fc6513%40googlegroups.com.
Hi Ben,Thank You for Feedback, Definitely i will have this blogged with the appropriate credit and share for everyone.Is this the correct metrics to measure ping? It seems different from the server output vs. using this exporter
Also, any exporter we can use to measure the request time and response time and the latency or packet loss when monitoring website?
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/78e2ac9d-c330-41b5-aefa-4a840f4ffd5b%40googlegroups.com.