Julien Pivotto
63b3e4e5ec
Enable HTTP2 again ( #9398 )
...
We are re-enabling HTTP 2 again. There has been a few bugfixes upstream
in go, and we have also enabled ReadIdleTimeout.
Fix #7588
Fix #9068
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
hanjm
d1b16b4f21
Upgrade github.com/alecthomas/units, which implement encoding.TextMarshaler
...
Signed-off-by: hanjm <hanjinming@outlook.com>
3 years ago
Ganesh Vernekar
1a5b21b78b
Update dependencies for v2.30.0 ( #9308 )
...
* Update Go dependencies
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Update React dependencies
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Levi Harrison
bd57cd395e
Switch to common/sigv4
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Frederic Branczyk
a266d4d2c5
Update Go dependencies
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
3 years ago
Ganesh Vernekar
79cfe2d1ec
Upgrade containerd to v1.5.4
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Levi Harrison
72865de915
Update exporter-toolkit
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
c57afc1583
Added go-kit klog v3
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
58556c19be
Revert "Fix logging after the move to go-kit/log ( #9021 )"
...
This reverts commit 642722e5d0
.
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Bryan Boreham
dea37853d9
tsdb: use dennwc/varint to speed up WAL decoding ( #9106 )
...
* tsdb: use dennwc/varint to speed up decoding
This is a tiny library, MIT-licensed, which unrolls the loop to go
about twice as fast.
Needed to copy the sign-inverting logic inline, previously provided by
the `binary` package.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* More comments to explain varint decoding
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
austin ce
d0ffe2ed3e
Add base xDS discovery and kuma SD implementation
...
Signed-off-by: austin ce <austin.cawley@gmail.com>
3 years ago
SuperQ
9e31e0a131
Update Go modules
...
Update several indirect dependencies. Cleanups up some obsolete indirect
requirements.
* github.com/HdrHistogram/hdrhistogram-go@v1.1.0
* github.com/containerd/containerd@v1.5.3
Signed-off-by: SuperQ <superq@gmail.com>
3 years ago
Julius Volz
441e6cd7d6
Merge release-2.28 back into main ( #9035 )
...
* Cut v2.28.0-rc.0 (#8954 )
* Cut v2.28.0-rc.0
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Changelog fixup
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Downgrade some features to enhancements
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Adjust release date to today
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Migrate HTTP SD docs from docs repo (#8972 )
See discussion in https://github.com/prometheus/docs/pull/1975
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Cut Prometheus v2.28.0 (#8973 )
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* HTTP SD: Allow charset in content type (#8981 )
* Added content type regex
Signed-off-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* fixed disappeared target groups in http_sd #9019
Signed-off-by: servak <fservak@gmail.com>
* Add a testcase for http-sd
Signed-off-by: servak <fservak@gmail.com>
* HTTP SD: Simplify logic of disappeared targetgroups (#9026 )
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Fix logging after the move to go-kit/log (#9021 )
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Cut Prometheus v2.28.1 (#9034 )
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Co-authored-by: servak <fservak@gmail.com>
3 years ago
3Xpl0it3r
a0bac4b488
add kubeconfig support in discovery module ( #8811 )
...
Signed-off-by: 3Xpl0it3r <shouc.wang@hotmail.com>
3 years ago
Julien Pivotto
ea3728bcac
go.mod: Exclude de-published linode v1.0.0 ( #8941 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julius Volz
cea9486918
Update Go dependencies before release ( #8936 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Austin Cawley-Edwards
301815e48b
Update prometheus-common and the consul HTTP client ( #8913 )
...
* Update to prometheus-common@v0.29.0
Signed-off-by: austin ce <austin.cawley@gmail.com>
3 years ago
TJ Hoplock
dc22c65349
Add Linode Service Discovery ( #8846 )
...
* Add Linode Service Discovery
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
4 years ago
Chris Marchbanks
45c7c51a3b
Update go dependencies
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
4 years ago
Levi Harrison
fa184a5fc3
Add OAuth 2.0 Config ( #8761 )
...
* Introduced oauth2 config into the codebase
Signed-off-by: Levi Harrison <git@leviharrison.dev>
4 years ago
Marco Pracucci
42c6f042cf
Cleanup go.sum
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
4 years ago
Marco Pracucci
4da5c25ea4
Upgrade prometheus/common to v0.21.0
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
4 years ago
Bogdan Drutu
d1ced85d7a
Bump k8s.io/* from 0.20.5 to 0.21.0 ( #8714 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
4 years ago
Ben Kochie
f0bccba1c3
Update Go modules for 2.26 ( #8636 )
...
* Update Go modules for 2.26
Bump all Go modules to the latest upstream.
Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix promtool for new client_golang
LabelValues now requires a list of string matchers.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Julien Pivotto
01995f9d8e
Error on duration overflow
...
Fix #8526
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Łukasz Mierzwa
30b0cfecda
use golang/snappy v0.0.3 (backport #8593 )
...
v0.0.2 crashes on arm64 (at least on M1 mac), v0.0.3 contains a fix for that.
See 674baa8c7f
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
4 years ago
Łukasz Mierzwa
d941634926
use golang/snappy v0.0.3
...
v0.0.2 crashes on arm64 (at least on M1 mac), v0.0.3 contains a fix for that.
See 674baa8c7f
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
4 years ago
Rémy Léone
f690b811c5
add support for scaleway service discovery ( #8555 )
...
Co-authored-by: Patrik <patrik@ptrk.io>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: Rémy Léone <rleone@scaleway.com>
4 years ago
Julien Pivotto
75e505babb
Upgrade to golang 1.16
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
93c6139bc1
Support follow_redirect
...
This PR introduces support for follow_redirect, to enable users to
disable following HTTP redirects.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
8787f0aed7
Update common to support credentials type
...
Most of the backwards compat tests is done in common.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
120a84da5d
zookeeper: change upstream to github.com/go-zookeeper/zk
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
718df82e09
Update azure to test pull request fuzzing
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
90a8cb263e
Update dependencies
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Simon Pasquier
cf269b7ddd
Update github.com/gogo/protobuf to v1.3.2
...
Fix for CVE-2021-3121
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
beorn7
806a799195
Update exporter-toolkit dependency to 0.5.1
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Julien Pivotto
ac2626757c
Update exporter-toolkit to 0.5.0
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
5b4f46a348
Add TLS and basic authentication
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
beorn7
da1ca868d1
Update dependencies prior to releasing v2.24
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Ganesh Vernekar
8cc94fac93
Update dependencies for v2.23 ( #8203 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
Julien Pivotto
4e5b1722b3
Move away from testutil, refactor imports ( #8087 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Frederic Branczyk
a58489857d
*: Update go dependencies
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
4 years ago
Simon Pasquier
9bb3555fe4
cmd/prometheus: support k8s.io/klog/v2
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Simon Pasquier
52c4da161f
Bump Kubernetes dependencies
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Daniil Rutskiy
b10f071a25
Remove unused deps
...
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
4 years ago
Daniil Rutskiy
63457ef239
Vendor prometheus/common v0.14.0
...
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
4 years ago
Tobias Klauser
b5b3bc34da
tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix ( #7949 )
...
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be
used on darwin, see [1]. Instead, use the FcntlFstore libSystem wrapper
provided by the golang.org/x/sys/unix package to implement
preallocFixed.
[1] https://golang.org/doc/go1.12#darwin
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
4 years ago
Julien Pivotto
d668a7efe3
Update go dependencies ( #7837 )
...
Update dependencies before 2.21 release
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Lukas Kämmerling
b6955bf1ca
Add hetzner service discovery ( #7822 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
4 years ago
Andy Bursavich
4e6a94a27d
Invert service discovery dependencies ( #7701 )
...
This also fixes a bug in query_log_file, which now is relative to the config file like all other paths.
Signed-off-by: Andy Bursavich <abursavich@gmail.com>
4 years ago