prombot
d5c8b5a01a
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-01-25 00:04:54 +00:00
rustyclock
fe22a839e2
Migrate JSONPath library
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2021-01-24 13:49:10 +09:00
Ravi
b04f0cbe49
Merge pull request #61 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2021-01-24 04:48:02 +00:00
Ben Kochie
f54aa70c5f
Merge pull request #68 from dmaganto/feature/tls_metrics_support
...
Add TLS support for metrics
2020-12-14 23:45:09 +01:00
Daniel Maganto
bffc11991b
Add TLS metrics support
...
Signed-off-by: Daniel Maganto <dmagantomartin@gmail.com>
2020-12-10 18:04:27 +01:00
Ben Kochie
72958bc7c0
Add maintainers file ( #60 )
...
* Add maintainers file
* Add @SuperQ
* Add @rustycl0ck
Closes: https://github.com/prometheus-community/json_exporter/issues/59
Signed-off-by: Ben Kochie <superq@gmail.com>
* Add email ID for 'rustycl0ck'
Signed-off-by: rustyclock <rustyclock@protonmail.com>
Co-authored-by: Ravi <1299606+rustycl0ck@users.noreply.github.com>
2020-11-04 13:01:09 +01:00
prombot
71e08dfbb8
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-11-04 00:10:16 +00:00
Ben Kochie
146e736170
Set releae date in CHANGELOG.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-11-03 18:03:41 +01:00
Ben Kochie
475832f609
Merge pull request #58 from prometheus-community/superq/v0.2
...
Release v0.2.0
2020-11-03 18:01:35 +01:00
Ben Kochie
d6403b58a8
Release v0.2.0
...
* Update changelog
* Bump Go modules.
* Update NewClientFromConfig use
* Bump Go to 1.15.
prometheus/common#249 added option to disable HTTP/2.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-11-02 16:32:28 +01:00
Ben Kochie
6ea4631677
Merge pull request #56 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2020-11-02 16:15:51 +01:00
Ben Kochie
052921b000
Merge pull request #57 from kouk/master
...
Fix unchecked call to io.Copy
2020-11-02 16:14:47 +01:00
Konstantinos Koukopoulos
1555ed88d4
Fix unchecked call to io.Copy
...
After #49 was merged to master the build failed due to a linting error:
GO111MODULE=on /go/bin/golangci-lint run ./...
exporter/util.go:162:10: Error return value of `io.Copy` is not checked
(errcheck)
io.Copy(ioutil.Discard, resp.Body)
^
make: *** [Makefile.common:192: common-lint] Error 1
build failure here:
https://app.circleci.com/pipelines/github/prometheus-community/json_exporter/28/workflows/e2c53db3-d3a3-4faa-a5a6-3b1fbb5754a0/jobs/71
Signed-off-by: Konstantinos Koukopoulos <koukopoulos@aisera.com>
2020-11-02 13:31:20 +02:00
Julien Pivotto
f76b12ddf5
Merge pull request #49 from rustycl0ck/feature/scrape-multiple-endpoints
...
Refactor the complete code
2020-10-28 17:45:05 +01:00
prombot
44cca4711e
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-10-23 00:10:24 +00:00
rustyclock
a46be321e3
Update prometheus sample config
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-10-05 11:41:28 +09:00
rustyclock
9f94906a18
Change package name from 'internal' to 'exporter'
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-10-03 09:03:56 +09:00
rustyclock
9a50f9d6ec
Fix review comments
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-10-03 08:58:41 +09:00
Ben Kochie
b31bc0fc28
Merge pull request #54 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2020-09-04 11:19:16 +02:00
prombot
9205671708
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-09-03 00:10:27 +00:00
rustyclock
014e2df99b
Add unit tests
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-20 11:48:09 +09:00
rustyclock
a6b9654e6a
Use NewConstMetric instead of regular Gauge
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-19 11:58:17 +09:00
rustyclock
a9d3155c71
Return 503 on connection errors
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-18 12:28:18 +09:00
rustyclock
4479a45118
Remove probe_duration metric
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-06 20:08:53 +09:00
rustyclock
bf7590adb7
Add HTTP config support
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-06 20:03:21 +09:00
rustyclock
fa085b219d
Switch to kingpin
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-06 07:32:11 +09:00
rustyclock
1e1ba273ed
Fix lint errors
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-05 18:39:09 +09:00
rustyclock
f57d3e9429
Migrate logging to promlog
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-05 18:31:04 +09:00
rustyclock
0b34d68918
Add example prometheus config
...
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2020-08-04 15:37:28 +09:00
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
95c468e892
Merge pull request #48 from paulfantom/paulfantom-patch-1
...
Reference container image in README
2020-07-31 16:36:40 +02:00
Paweł Krupa
448fb7b8cf
Reference container image in README
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2020-07-31 15:54:14 +02:00
Ben Kochie
2c09f420e8
Merge pull request #42 from prometheus-community/superq/release_0.1
...
Release 0.1.0
2020-07-27 12:10:40 +02: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
af64bfe64f
Merge pull request #40 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2020-06-22 09:58:43 +02:00
prombot
c9fd7f62d0
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-06-22 00:09:16 +00:00
Ben Kochie
c839f60a14
Merge pull request #39 from prometheus-community/makefile_common
...
Synchronize Makefile.common from prometheus/prometheus
2020-06-15 08:04:44 +02:00
prombot
9ebb62d426
makefile: update Makefile.common with newer version
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-06-15 00:08:30 +00:00
Ben Kochie
d99336eb77
Merge pull request #29 from prometheus-community/makefile_common
...
Synchronize Makefile.common from prometheus/prometheus
2020-06-14 16:01:29 +02:00
Ben Kochie
1a5679d9bf
Merge pull request #37 from davdr/fix/boolean
...
Fix bool support
2020-06-14 15:55:45 +02:00
Ben Kochie
da5d78d8ca
Merge pull request #36 from roidelapluie/dock
...
Fix dockerfile
2020-06-14 15:52:29 +02:00
David DR
c58897ce4a
demo bool support in the example
...
Signed-off-by: David DR <52098642+davdr@users.noreply.github.com>
2020-06-13 23:36:57 +02:00
David DR
6cb836fd0c
jsonexporter/scraper: fix bool support
...
Signed-off-by: David DR <52098642+davdr@users.noreply.github.com>
2020-06-13 23:36:57 +02:00
Julien Pivotto
bcfa332dd7
Fix dockerfile
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-06-12 00:01:42 +02:00
prombot
1ffa640a60
makefile: update Makefile.common with newer version
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-04-18 00:08:48 +00:00
Ben Kochie
26438530a7
Use default promu crossbuild list.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-04-17 11:46:51 +02:00
Ben Kochie
9ba4b37d23
Merge pull request #27 from prometheus-community/superq/docker
...
Add Docker
2020-04-17 10:22:12 +02:00
Ben Kochie
2d1678ed95
Add Docker
...
* Add Dockerfile and prometheuscommunity.
* Add promehteus common Version handler.
* Update README.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-04-17 10:06:54 +02:00
Ben Kochie
c483776514
Merge pull request #17 from WilliButz/add-bool-support
...
jsonexporter/scraper: add bool support
2020-04-17 09:16:49 +02:00
Ben Kochie
95d8fce03f
Merge pull request #26 from prometheus-community/superq/go_build
...
More community cleanup
2020-04-17 09:08:40 +02:00