Apache traffic server metrics JSON pull via http URL

316 views
Skip to first unread message

faisa...@gmail.com

unread,
Feb 22, 2016, 3:17:00 PM2/22/16
to Prometheus Developers
Hi,
I'm fairly new to Prometheus and want to use it to monitor metrics. I'm running Apache Traffic server which gives metrics via URL e.g http://localhost:port/atskpi

How can i configure Prometheus to extract/pull data from the URL. Later i will use grafana for graphing as described in the official docs.

Looking forward for a favorable response.

Thanks
F.
IRC: zoot

Ben Kochie

unread,
Feb 22, 2016, 3:22:41 PM2/22/16
to faisa...@gmail.com, Prometheus Developers
Prometheus probably won't be able to read the json metrics, so you will need to translate them with an exporter.  They typcial method would be a simple stand-alone binary that would proxy the json output into prometheus format.

There are number of these exporters here:

Another option would be to add direct prometheus support to the trafficserver stats_over_http module.


--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ben Kochie

unread,
Feb 22, 2016, 3:23:52 PM2/22/16
to faisa...@gmail.com, Prometheus Developers

Muhammad Faisal

unread,
Feb 23, 2016, 12:16:34 AM2/23/16
to Ben Kochie, Prometheus Developers
Thanks Ben. This is a great help let me try to implement it. 

--
Best Regards,
Muhammad Faisal
Skype: aquaisal

Disclaimer:
Information in this e-mail and attachments is confidential and may be legally privileged. Only intended recipients are authorized to use it. If you have received this message in error, please delete it and all copies of the message from your system and notify the sender immediately by return e-mail. I'm neither liable for incomplete transmission of the information in this communication nor for damage caused by any virus transmitted through this e-mail.


Message has been deleted

sarp.b...@gmail.com

unread,
Nov 25, 2017, 3:11:49 AM11/25/17
to Prometheus Developers
Reply all
Reply to author
Forward
0 new messages