Wei He [Wed, 18 Mar 2020 12:30:59 +0000 (21:30 +0900)]
add probe_ip_addr_hash to detect if the IP changes (#584)
* add probe_ip_addr_hash to detect if the IP changes
Signed-off-by: Wing924 <weihe924stephen@gmail.com>
PrometheusBot [Tue, 25 Feb 2020 09:13:01 +0000 (11:13 +0200)]
makefile: update Makefile.common with newer version (#574)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Daniel Swarbrick [Fri, 3 Jan 2020 13:08:14 +0000 (14:08 +0100)]
Skip network dependent test in short mode (#566)
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@cloud.ionos.com>
Paul Wood [Thu, 21 Nov 2019 15:13:04 +0000 (15:13 +0000)]
Add none/all matches to DNS RRset validation (#552)
Signed-off-by: Paul Wood <pauwood@ebay.com>
Brian Brazil [Mon, 11 Nov 2019 16:25:58 +0000 (16:25 +0000)]
Release 0.16.0
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Brian Brazil [Thu, 7 Nov 2019 11:49:35 +0000 (11:49 +0000)]
Fix logging of IP addresseses in resolve code. (#548)
Also add logging missing from one code path.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
genofire [Wed, 23 Oct 2019 12:03:30 +0000 (14:03 +0200)]
[BUGFIX] disable ip protocol fallback and tests (#540)
Signed-off-by: Martin/Geno <geno+dev@fireorbit.de>
Silke Hofstra [Mon, 14 Oct 2019 08:27:37 +0000 (10:27 +0200)]
Export TLS version (#538)
* Add a metric for the TLS version used
Signed-off-by: Silke Hofstra <silke@slxh.eu>
Brian Brazil [Fri, 11 Oct 2019 11:29:41 +0000 (12:29 +0100)]
Add locking around tracer.
It can be called concurrently, and after the request has finished.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Brian Brazil [Fri, 27 Sep 2019 12:44:49 +0000 (13:44 +0100)]
Better handling of HTTP redirects.
If the redirect is to a different host, don't set ServerName.
Fixes #237.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Anton Markelov [Tue, 8 Oct 2019 08:23:02 +0000 (18:23 +1000)]
add probe_http_uncompressed_body_length metric (#535)
Signed-off-by: Anton Markelov <doublic@gmail.com>
Brian Brazil [Tue, 17 Sep 2019 12:28:58 +0000 (13:28 +0100)]
Release 0.15.1
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Simon Pasquier [Fri, 13 Sep 2019 10:48:09 +0000 (12:48 +0200)]
Bump golang 1.13 (#522)
*: bump Go version to 1.13
* Fix go.mod and vendor/
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
PrometheusBot [Thu, 12 Sep 2019 10:38:53 +0000 (12:38 +0200)]
makefile: update Makefile.common with newer version (#521)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Chris Siebenmann [Wed, 11 Sep 2019 16:48:52 +0000 (12:48 -0400)]
Change the front page links to probe logs into relative links (#520)
The front page contains a table of links to logs from the most recent
probes. These links were accidentally changed to absolute links in
252a878, in a form that doesn't work when using --web.external-url.
Rather than prefixing these with the external URL (if set), we return
them to being relative links, as they are meant to be (per issue #519).
Fixes #519
Signed-off-by: Chris Siebenmann <cks.git01@cs.toronto.edu>
Brian Brazil [Wed, 11 Sep 2019 12:51:05 +0000 (13:51 +0100)]
Release 0.15.0
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Sven Nebel [Wed, 11 Sep 2019 12:36:17 +0000 (13:36 +0100)]
Adding web.external-url and web.route-prefix flags (#515)
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>
Jake Utley [Tue, 10 Sep 2019 11:48:50 +0000 (04:48 -0700)]
Add separate history for expired failed probe results (#517)
Signed-off-by: Jake Utley <jutley@hiya.com>
Simon Pasquier [Mon, 2 Sep 2019 15:44:43 +0000 (17:44 +0200)]
prober: remove duplicated tests (#324)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
PrometheusBot [Sat, 31 Aug 2019 00:23:25 +0000 (02:23 +0200)]
makefile: update Makefile.common with newer version (#514)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Brian Brazil [Fri, 16 Aug 2019 12:58:30 +0000 (13:58 +0100)]
Use HTTP request's context, so cancellation works. (#510)
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Brian Brazil [Fri, 16 Aug 2019 12:43:30 +0000 (13:43 +0100)]
Bump default timeout to 2m (#509)
The current default of 10s is problematic when testing slower probes
from a browser. Cancellation will still work as a fallback,
including for older Prometheus servers that don't send the timeout
header, so there shouldn't be a big buildup of ongoing probes.
Fixes #259
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Brian Brazil [Tue, 6 Aug 2019 20:52:23 +0000 (21:52 +0100)]
Don't put v4 addresses in brackets (#506)
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
CodeLingo Team [Tue, 6 Aug 2019 17:27:12 +0000 (05:27 +1200)]
Fix function comments based on best practices from Effective Go (#428)
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
Simon Pasquier [Wed, 3 Jul 2019 07:42:52 +0000 (09:42 +0200)]
Build ARM container images (#496)
It also updates the Circle CI configuration to use the Prometheus orb.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
PrometheusBot [Wed, 26 Jun 2019 07:50:48 +0000 (09:50 +0200)]
makefile: update Makefile.common with newer version (#494)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Ben Kochie [Sun, 23 Jun 2019 06:39:45 +0000 (08:39 +0200)]
Merge pull request #493 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
prombot [Sun, 23 Jun 2019 00:00:48 +0000 (00:00 +0000)]
makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Tomas Dabasinskas [Fri, 21 Jun 2019 13:24:31 +0000 (16:24 +0300)]
Do not apply offsets for explicit timeouts (#492)
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Brian Brazil [Tue, 18 Jun 2019 12:06:49 +0000 (13:06 +0100)]
Update dependencies. (#490)
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
PrometheusBot [Fri, 14 Jun 2019 09:30:25 +0000 (10:30 +0100)]
makefile: update Makefile.common with newer version (#488)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Ben Kochie [Fri, 7 Jun 2019 06:57:14 +0000 (08:57 +0200)]
Merge pull request #484 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
prombot [Fri, 7 Jun 2019 00:01:34 +0000 (00:01 +0000)]
makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Simon Pasquier [Wed, 29 May 2019 16:20:10 +0000 (18:20 +0200)]
Use Circle CI's org context (#482)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Thu, 23 May 2019 08:14:14 +0000 (10:14 +0200)]
Fix CircleCI job to publish container images (#478)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Brian Brazil [Wed, 15 May 2019 06:56:15 +0000 (07:56 +0100)]
Merge pull request #476 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
Ben Kochie [Wed, 15 May 2019 00:02:10 +0000 (02:02 +0200)]
Remove obsolete release tool.
Signed-off-by: Ben Kochie <superq@gmail.com>
prombot [Wed, 15 May 2019 00:00:38 +0000 (00:00 +0000)]
makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Ben Kochie [Tue, 7 May 2019 07:46:13 +0000 (09:46 +0200)]
Merge pull request #472 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
prombot [Sat, 4 May 2019 00:00:53 +0000 (00:00 +0000)]
makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Ben Kochie [Fri, 26 Apr 2019 09:21:54 +0000 (11:21 +0200)]
Merge pull request #468 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
Simon Pasquier [Thu, 25 Apr 2019 15:06:46 +0000 (17:06 +0200)]
*: bump Go version to 1.12 (#469)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Thu, 25 Apr 2019 08:46:09 +0000 (10:46 +0200)]
Add .golangci.yml
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
prombot [Thu, 25 Apr 2019 00:00:35 +0000 (00:00 +0000)]
makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Thor [Wed, 24 Apr 2019 13:23:22 +0000 (08:23 -0500)]
Use timeout for chooseProtocol (#458)
* travisci skip ipv6 dns tests
Signed-off-by: Thor <thansen@digitalocean.com>
Simon Pasquier [Tue, 23 Apr 2019 15:27:04 +0000 (17:27 +0200)]
config: close configuration file (#467)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Ben Kochie [Tue, 16 Apr 2019 08:50:19 +0000 (10:50 +0200)]
Merge pull request #461 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
prombot [Tue, 16 Apr 2019 00:00:36 +0000 (00:00 +0000)]
makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
PrometheusBot [Fri, 12 Apr 2019 08:04:44 +0000 (11:04 +0300)]
makefile: update Makefile.common with newer version (#460)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Hrishikesh Barman [Wed, 10 Apr 2019 16:17:39 +0000 (21:47 +0530)]
added yamlv3 (#457)
* added yamlv3
* removed unused packages
Signed-off-by: geekodour <hrishikeshbman@gmail.com>
Peter Gallerani [Wed, 27 Mar 2019 16:00:28 +0000 (10:00 -0600)]
Handle SIGTERM gracefully (#449)
Fixes #447
Signed-off-by: silentpete <peter.gallerani@gmail.com>
Daniel Caballero [Wed, 27 Mar 2019 11:22:48 +0000 (12:22 +0100)]
separating build and run instructions, so users can just download the released software (#452)
Signed-off-by: Daniel Caballero <dani.caba@gmail.com>
Peter Gallerani [Wed, 27 Mar 2019 09:04:41 +0000 (03:04 -0600)]
add license information to missing Go files (resolves #448) (#450)
Signed-off-by: silentpete <peter.gallerani@gmail.com>
Ben Kochie [Tue, 26 Mar 2019 16:33:08 +0000 (17:33 +0100)]
Merge pull request #446 from silentpete/issue-352
#352 - swap MAINTAINER for LABEL
silentpete [Tue, 26 Mar 2019 15:32:07 +0000 (09:32 -0600)]
#352 - swap MAINTAINER for LABEL
Signed-off-by: silentpete <peter.gallerani@gmail.com>
Brian Brazil [Fri, 15 Mar 2019 13:18:47 +0000 (13:18 +0000)]
Release 0.14.0
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Brian Brazil [Thu, 14 Mar 2019 16:39:35 +0000 (16:39 +0000)]
Empty in YAML means null. (#440)
The null then overrides the default config. Avoid this
in the example config file.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Pascal Gauthier [Thu, 14 Mar 2019 14:21:37 +0000 (10:21 -0400)]
Fix ip_protocol_fallback default value (#436)
Fix for https://github.com/prometheus/blackbox_exporter/issues/424
Also fix an undefined probeIPProtocolGauge in case of no IP found.
Signed-off-by: Pascal Gauthier <pgauthier@nihilisme.ca>
Gleb Smirnov [Thu, 21 Feb 2019 13:28:52 +0000 (21:28 +0800)]
Add regexp matching of HTTP response headers to the http probe (#419)
Signed-off-by: Gleb Smirnov <me@gvsmirnov.ru>
Ryan [Mon, 4 Feb 2019 14:01:27 +0000 (09:01 -0500)]
Add metric successful_config_load (#413)
Signed-off-by: Ryan Shatford <ryan.shatford@tapad.com>
Benoît Knecht [Wed, 30 Jan 2019 10:57:57 +0000 (11:57 +0100)]
prober: icmp: Initialize ID and sequence to random values (#412)
This should help preventing issues with some network devices that have
trouble NATing ICMP packets with the same ID and sequence nubmer but a
different source IP address.
Currently, this can happen if the blackbox_exporter runs in a container
(the ID is set to the PID, which is typically 1 in a container), and
serveral blackbox_exporters are restarted at the same time (the sequence
numbers are reset to zero and stay in sync).
This commit sets the ICMP echo ID to a random value if the PID is 1, and
initializes the sequence number at a random offset.
See #411 for details.
Signed-off-by: Benoît Knecht <benoit.knecht@fsfe.org>
Johannes Visintini [Thu, 17 Jan 2019 10:00:43 +0000 (11:00 +0100)]
Implemented Last-Modified HTTP header metric (#407)
This feature returns a probe_http_last_modified metric with the content
of the Last-Modified HTTP response header, if it is set by the server.
Signed-off-by: Johannes Visintini <johannes.visintini@uni-heidelberg.de>
Simon Pasquier [Mon, 7 Jan 2019 10:30:57 +0000 (11:30 +0100)]
*: update Makefile.common with new staticcheck (#404)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Tue, 18 Dec 2018 10:18:50 +0000 (11:18 +0100)]
Merge pull request #397 from simonpasquier/fix-go1.11.4-build
Fix go.sum after Go1.11.4 bump
Simon Pasquier [Mon, 17 Dec 2018 10:07:41 +0000 (11:07 +0100)]
Fix go.sum after Go1.11.4 bump
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Pascal Gauthier [Fri, 7 Dec 2018 15:20:36 +0000 (10:20 -0500)]
Add force preferred ip protocol (#382)
Signed-off-by: Pascal Gauthier <pgauthier@nihilisme.ca>
Brian Brazil [Tue, 4 Dec 2018 15:05:47 +0000 (15:05 +0000)]
Release 0.13.0
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Ben Kochie [Thu, 29 Nov 2018 10:33:32 +0000 (11:33 +0100)]
Merge pull request #387 from simonpasquier/fix-promu-cfg
promu: fix ldflags for Go modules
Simon Pasquier [Thu, 29 Nov 2018 10:00:54 +0000 (11:00 +0100)]
promu: fix ldflags for Go modules
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Ben Kochie [Wed, 28 Nov 2018 11:34:38 +0000 (12:34 +0100)]
Merge pull request #386 from simonpasquier/go-modules
*: support for Go modules
Simon Pasquier [Wed, 28 Nov 2018 10:54:37 +0000 (11:54 +0100)]
Fix typo
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Mon, 26 Nov 2018 14:50:53 +0000 (15:50 +0100)]
*: support for Go modules
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Tue, 27 Nov 2018 09:08:28 +0000 (10:08 +0100)]
circleci: switch to 2.1 config (#385)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Brian Brazil [Wed, 14 Nov 2018 18:00:11 +0000 (18:00 +0000)]
Signal channel should have a buffer of 1. (#381)
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Ben Kochie [Mon, 15 Oct 2018 16:29:25 +0000 (18:29 +0200)]
Update vendor github.com/prometheus/client_golang/...@v0.9.0 (#372)
Signed-off-by: Ben Kochie <superq@gmail.com>
Ivan Babrou [Thu, 4 Oct 2018 10:59:29 +0000 (03:59 -0700)]
Account response read time for http prober (#363)
Withot this change `transfer` time is near zero, because `trace.end`
time is clocked when response body is available, not when it's read.
Signed-off-by: Ivan Babrou <ibobrik@gmail.com>
Ben Kochie [Thu, 27 Sep 2018 19:31:54 +0000 (21:31 +0200)]
Update CircleCI to Go 1.11 (#367)
Signed-off-by: Ben Kochie <superq@gmail.com>
Ben Kochie [Thu, 27 Sep 2018 19:28:56 +0000 (21:28 +0200)]
Merge pull request #362 from bobrik/fix-broken-build
Fix broken build because of go fmt issue
Ivan Babrou [Thu, 27 Sep 2018 17:31:29 +0000 (10:31 -0700)]
Upgrade go10 to go11 in travis
Signed-off-by: Ivan Babrou <ibobrik@gmail.com>
Ivan Babrou [Tue, 25 Sep 2018 18:54:33 +0000 (11:54 -0700)]
Fix broken build because of go fmt issue
```
$ make
>> checking code style
! gofmt -d $(find . -path ./vendor -prune -o -name '*.go' -print) | grep '^'
diff -u ./prober/utils_test.go.orig ./prober/utils_test.go
--- ./prober/utils_test.go.orig 2018-09-25 11:52:34.
000000000 -0700
+++ ./prober/utils_test.go 2018-09-25 11:52:34.
000000000 -0700
@@ -43,7 +43,7 @@
publickey := &privatekey.PublicKey
cert := x509.Certificate{
- IsCA: true,
+ IsCA: true,
BasicConstraintsValid: true,
SubjectKeyId: []byte{1},
SerialNumber: big.NewInt(1),
make: *** [style] Error 1
```
Signed-off-by: Ivan Babrou <ibobrik@gmail.com>
Thomas Maier [Tue, 14 Aug 2018 14:38:07 +0000 (16:38 +0200)]
ensure resp.Body is discarded to avoid broken tcp sockets (#348)
Signed-off-by: Thomas Maier <contact@thomas-maier.net>
Ben Kochie [Tue, 24 Jul 2018 20:12:14 +0000 (22:12 +0200)]
Add ICMP duration metrics (#346)
* Add ICMP duration metrics
Add a gauge to measure various parts of the ICMP probe.
Signed-off-by: Ben Kochie <superq@gmail.com>
* Update travis config
Update travis config to match upstream prometheus.
Signed-off-by: Ben Kochie <superq@gmail.com>
Ask Bjørn Hansen [Wed, 13 Jun 2018 06:41:52 +0000 (23:41 -0700)]
[dns] Add serial number metric for dns soa queries (#333)
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
Arsène von Wyss [Wed, 6 Jun 2018 12:54:38 +0000 (14:54 +0200)]
For ICMP, only use RawConn for the Don't Fagment case (#329)
Signed-off-by: Arsène von Wyss <avw@gmx.ch>
Simon Pasquier [Wed, 23 May 2018 09:55:52 +0000 (11:55 +0200)]
Fix CircleCI for releases (#323)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Wed, 23 May 2018 09:18:45 +0000 (11:18 +0200)]
Update CircleCI build (#318)
* Update CircleCI build
This change upgrades the build configuration to CircleCI 2.0.
* Use machine executor for IPv6 tests
* Fix working directory for test
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Tue, 22 May 2018 09:44:41 +0000 (11:44 +0200)]
Use Makefile.common from Prometheus
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Thu, 3 May 2018 15:20:17 +0000 (17:20 +0200)]
prober: fix data races
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Simon Pasquier [Tue, 22 May 2018 09:44:03 +0000 (11:44 +0200)]
vendor: remove unused dependencies
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Manos Fokas [Mon, 16 Apr 2018 08:05:24 +0000 (11:05 +0300)]
Implemented strict yaml unmarshalling. (#310)
Signed-off-by: manosf <manosf@protonmail.com>
sgmitchell [Fri, 13 Apr 2018 18:57:07 +0000 (14:57 -0400)]
Make the history limit a configurable flag (#308)
Dmitriy Lukyanchikov [Sun, 1 Apr 2018 09:20:41 +0000 (12:20 +0300)]
Add config validation option (#306)
Brian Brazil [Tue, 27 Feb 2018 11:41:31 +0000 (11:41 +0000)]
Release 0.12.0
Brian Brazil [Tue, 27 Feb 2018 11:38:42 +0000 (11:38 +0000)]
Merge pull request #297 from prometheus/fix-travis
Fix text failures on travis
Brian Brazil [Tue, 27 Feb 2018 11:16:22 +0000 (11:16 +0000)]
Fix text failures on travis
Brian Brazil [Mon, 26 Feb 2018 10:39:07 +0000 (10:39 +0000)]
Switch travis to 1.10 also
Brian Brazil [Mon, 26 Feb 2018 10:38:27 +0000 (10:38 +0000)]
Switch to go 1.10
Brian Brazil [Fri, 26 Jan 2018 11:51:28 +0000 (11:51 +0000)]
Merge pull request #262 from thz/icmp-src-addr
allow specification of source address for probes (icmp, tcp, dns)
Tobias Hintze [Wed, 15 Nov 2017 23:50:06 +0000 (00:50 +0100)]
[probers] Allow configuration of source addresses.
This adds the configuration option source_ip_address
to modules ICMP, TCP and DNS which changes the
probe's local address.
mprasil [Fri, 26 Jan 2018 10:01:06 +0000 (10:01 +0000)]
Add example with custom CA (#289)