How does prometheus monitor web services? For example, to detect whether an API interface is normal

827 views
Skip to first unread message

li....@mydreamplus.com

unread,
Oct 23, 2017, 7:57:48 AM10/23/17
to Prometheus Users
How does prometheus monitor web services? For example, to detect whether an API interface is normal

Ben Kochie

unread,
Oct 23, 2017, 8:30:51 AM10/23/17
to li....@mydreamplus.com, Prometheus Users
You may want to take a look at this introductory video.


On Mon, Oct 23, 2017 at 1:57 PM, 4011...@qq.com <li....@mydreamplus.com> wrote:
How does prometheus monitor web services? For example, to detect whether an API interface is normal

--
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/79b7fe05-edcf-443a-9526-b7647bfe7ce2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

li....@mydreamplus.com

unread,
Oct 23, 2017, 10:18:40 PM10/23/17
to Prometheus Users
I mean, I need to monitor the state of the http

jdbj...@gmail.com

unread,
Oct 24, 2017, 12:42:59 AM10/24/17
to li....@mydreamplus.com, Prometheus Users
You can use blackbox_exporter to monitor if a http is returning 200, or some specific content.


--
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.

Simon Lyall

unread,
Oct 27, 2017, 11:36:08 PM10/27/17
to Prometheus Users
I had been thinking about options for monitoring our APIs, doing things
like loggin which require multiple complicated http calls.

The furtherest I've got so far is thinking about using newman [1] (part
of postman) running in a container. You could call it much like
blackbox_exporter with the URL of a postman collection and it would return
standard promethus data.

But I've not even started to try and make this work, sorry.

[1] - https://github.com/postmanlabs/newman

--
Simon Lyall | Very Busy | Web: http://www.simonlyall.com/
"To stay awake all night adds a day to your life" - Stilgar

Simon Lyall

unread,
Oct 27, 2017, 11:43:06 PM10/27/17
to Prometheus Users
On Sat, 28 Oct 2017, Simon Lyall wrote:
> The furtherest I've got so far is thinking about using newman [1] (part of
> postman) running in a container. You could call it much like
> blackbox_exporter with the URL of a postman collection and it would return
> standard promethus data.
>
> But I've not even started to try and make this work, sorry.
>
> [1] - https://github.com/postmanlabs/newman

I forgot to add that a simplied way to do this would be to run newman
seperately and then just dump a nice version of the output to a file for a
node-exporter to make availbale.
Reply all
Reply to author
Forward
0 new messages