Commit Graph

3 Commits

Author SHA1 Message Date
rustyclock c869516e98
Refactor the complete code
* Make the working of this exporter similar to that of the blackbox_exporter to allow probing multiple targets.
* Add functionality to add headers to the request
* Update the example config to use `headers` as well as the `metrics` keys in alignment with the new code
* Add default header 'Accept: application/json'

Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-04 15:21:24 +09:00
Ben Kochie d001c8fc3c
Release 0.1.0
* Add initial changelog.
* Bump Go deps.
* Update circleci prometheus orb.

Closes: https://github.com/prometheus-community/json_exporter/issues/32
Closes: https://github.com/prometheus-community/json_exporter/issues/41

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-07-27 10:08:41 +02:00
Ben Kochie 4621bca6f6
More community cleanup
* Fix up naming to be json_exporter.
* Fix more imports/paths.
* Add Go modules.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-04-17 08:45:38 +02:00