Commit Graph

107 Commits

Author SHA1 Message Date
Ben Kochie
5251391806
Merge pull request #152 from prometheus-community/superq/refactor_types
Use explicit metric type switching
2022-05-23 15:59:52 +02:00
Ben Kochie
bcb42326be
Update build (#154)
* Update Go to 1.18.
* Update Go module format for 1.17.
* Remove obsolete exclude for k8s.io/client-go.
* Add dependabot.

Signed-off-by: SuperQ <superq@gmail.com>
2022-05-23 22:05:45 +09:00
Ben Kochie
b2c854a0b9
Merge pull request #153 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-05-22 22:20:49 +02:00
prombot
a2d3b6b378 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-05-22 19:50:52 +00:00
SuperQ
6de63fe83b
Use explicit metric type switching
Avoid side effect behavior by explicitly passing the ScrypeType to the
collector.

Signed-off-by: SuperQ <superq@gmail.com>
2022-05-22 15:32:36 +02:00
Ben Kochie
25574a4de9
Merge pull request #150 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-05-22 14:56:14 +02:00
prombot
af425edb75 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-04-28 19:51:02 +00:00
Ben Kochie
5345896f70
Merge pull request #143 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-04-28 09:27:46 +02:00
prombot
7bbd9ffc60 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-03-07 19:51:19 +00:00
Ben Kochie
1614ee8d77
Merge pull request #142 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-03-05 13:49:40 +01:00
prombot
e82d884309 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-03-04 19:51:27 +00:00
Ben Kochie
621139e1b2
Release 0.4.0 (#136)
* [FEATURE] Add support for HTTP POST body content #123

Signed-off-by: SuperQ <superq@gmail.com>
2022-01-18 14:46:03 +09:00
Ben Kochie
b585a8d067
Merge pull request #137 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-01-16 05:53:58 +01:00
prombot
d7b869d85f Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-01-16 00:02:29 +00:00
Ben Kochie
9d55332cc2
Merge pull request #128 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-01-15 11:34:06 +01:00
prombot
4a589582d9 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-10-25 00:02:10 +00:00
Ben Kochie
c487740bb8
Merge pull request #125 from prometheus-community/superq/bump
Update build
2021-10-06 10:22:25 +02:00
SuperQ
eaf94d3a5e
Update build
* Update to Go 1.17.
* Update modules.
* Enable golint CI test.
* Fixup golint issues.

Signed-off-by: SuperQ <superq@gmail.com>
2021-10-05 13:21:42 +02:00
Ben Kochie
8a311b85d9
Merge pull request #124 from prometheus-community/superq/refactor
Refactor FetchJson
2021-10-05 13:13:16 +02:00
SuperQ
5783a9ca02
Refactor FetchJson
Refactor FetchJson to use a constructor.
* Cleanup nolint to use a a .golangci.yml config.
* Switch go-kit/kit/log to go-kit/log.

Signed-off-by: SuperQ <superq@gmail.com>
2021-10-03 13:30:18 +02:00
Ravi
bd0852bc25
Add support for HTTP POST body content (#123)
* Add support for HTTP POST body content

* Add tests for POST body content

* Code structure refactor for review
2021-10-03 09:30:53 +00:00
Ravi
fe891b5b2b
Merge pull request #120 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-10-02 01:03:31 +00:00
prombot
c43fd67f2e Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-09-12 00:03:29 +00:00
Ben Kochie
9096e1d4a7
Merge pull request #116 from prometheus-community/superq/update_mods
Update Go modules
2021-08-05 11:49:32 +02:00
Ben Kochie
841baa04b1
Merge pull request #109 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-08-05 11:02:02 +02:00
SuperQ
6a8afe49e2
Update Go modules
* Update to latest modules.
* Use new syntax for http client[0].

[0]: https://github.com/prometheus/common/pull/291

Signed-off-by: SuperQ <superq@gmail.com>
2021-08-05 11:00:42 +02:00
prombot
b5b87b3c0a Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-06-27 00:01:52 +00:00
Ravi
28dde07d51
Merge pull request #94 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-04-15 07:08:22 +00:00
prombot
60faf5db9c Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-04-15 00:02:20 +00:00
Ben Kochie
1ad3cb274d
Merge pull request #92 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-03-25 17:13:43 +01:00
Ben Kochie
65a2b00784
Bump Go to 1.16.
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-03-25 16:37:57 +01:00
prombot
792cfa7b87 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-03-25 08:30:33 +00:00
Ravi
1f79a04688
Merge pull request #81 from rustycl0ck/release/0.3.0
Add release date to CHANGELOG
2021-02-14 02:13:05 +00:00
rustyclock
ae58e1f3e7
Add release date to CHANGELOG
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2021-02-14 11:09:38 +09:00
Ravi
b031eda923
Merge pull request #78 from rustycl0ck/release/0.3.0
Release 0.3.0
2021-02-12 12:23:20 +00:00
rustyclock
100f573748
Release 0.3.0
Signed-off-by: rustyclock <rustyclock@protonmail.com>
2021-02-12 18:00:45 +09:00
Ravi
0eccb1ac9f
Merge pull request #79 from prometheus-community/superq/go_bump
Add k8s.io/client-go exlude list
2021-02-12 08:59:25 +00:00
Ben Kochie
206155e36d
Add k8s.io/client-go exlude list
Add a similar exclude list to prometheus/prometheus to exclude
pre go modules k8s.io/client-go[0]. This allows easy use of
`make update-go-deps`.

[0]: 89e9632a34/go.mod (L94-L116)

Signed-off-by: Ben Kochie <superq@gmail.com>
2021-02-10 15:30:56 +01:00
Ravi
94784dbf01
Merge pull request #74 from rustycl0ck/feature/jsonpath-lib-change
Migrate JSONPath library
2021-01-26 00:59:20 +00:00
Ben Kochie
3fce0fbd23
Merge pull request #75 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-01-25 10:04:13 +01:00
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