--
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 view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/81D53E3E-E635-4976-ABC2-2524478E0000%40Jahingo.com.
The https://github.com/prometheus-community/json_exporter might be a good option.
On Sat, Aug 8, 2020 at 7:32 PM Stuart Clark <stuar...@jahingo.com> wrote:
You will need an exporter to convert that format into the Prometheus text format to allow it to be scraped.--
I don't know if there is something already available, but if not it should be fairly straightforward to create something using the language of your choice and one of the Prometheus client libraries (eg. Python)On 8 August 2020 18:02:59 BST, Rob Pijpers <oetae...@gmail.com> wrote:Let me start to tell that I'm a newbie with Prometheus.I have Prometheus and Grafana running on a Windows server and is used to collect data from my Homey domotica system, this works fine.Now I want to collect data via an API call from a source using a web request via curl.The output is in JSON format and looks as below:{"ok":true,"type":"response","time":0.00040627799171489,"rv":{"value":8251.514},"systime":1596905673,"seq":1,"error":false}I want to collect the "value" content in Prometheus every minute or so, but I don't know how to get this done.So I really need some help from you.Regards, Rob
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
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 promethe...@googlegroups.com.