{"repo":"peekjef72/httpapi_exporter","free":true,"listed":false,"github":"https://github.com/peekjef72/httpapi_exporter","clone":"git clone https://github.com/peekjef72/httpapi_exporter.git","description":"generic http REST API exporter","language":"Go","stars":19,"topics":["exporter","hp3par","json","netscaler","prometheus","veeam","httpapi","arubacx","apache2","nginx"],"license":"MIT","category":"analytics","readme_excerpt":"Prometheus HTTPAPI Exporter This exporter wants to be a generic REST API exporter. That's mean it can login, then makes requests to urls to collect metrics and performs transformations on values and finally returns metrics in prometheus format. Nothing is hard coded in the exporter. That why it is a generic exporter. The queried url can return data in several format: - json (default parser) - yaml - xml - raw text (parse as text-lines) - prometheus openmetrics As examples, configurations for exporters are provided (see contribs): - hp3par exporter - veeam exporter - netscaler exporter - aruba exporter - apache exporter - nginx exporter - squid exporter - ibmfs exporter Build use promu tool or simply make. this will build the exporter and a tool to crypt/decrypt ciphertext with a shared passphrase. Usage Login level You can change the log.level online by sending a signal USR2 to the process. It will increase and cycle into levels each time a signal is received. Useful if something is wrong and you want to have detailed log only for a small interval. You can also set the loglevel using API endpoint /loglevel: - GET /loglevel : to retrieve the current level - POST /loglevel : to cycle and increase the current loglevel - POST /loglevel/\\ : to set level to \\ Reload You can tell the exporter to reload its configuration by sending a signal HUP to the process or send a POST request to /reload endpoint. Exporter configuration Exporter requires configuration to works: - globals paramet","default_branch":null,"files":null,"tree":[],"storefront":"/r/peekjef72","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peekjef72/httpapi_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}