Commit Graph
82 Commits
Author SHA1 Message Date
Rob Best 50ab336c98 Implement DANE verification option 2020-11-01 14:24:44 +00:00
Rob BestandGitHub e05745b959 Export OCSP stapling metrics (#54)
* Export OCSP stapling metrics

* Add ocsp_response_stapled boolean

* Add missing ocsp_this_update metric to README
2020-10-27 09:10:42 +00:00
Rob Best 896b59b1fe Update deps && go 1.15 2020-10-18 16:48:23 +01:00
Rob BestandGitHub 119d3cd200 Add a configurable timeout to the module configuration (#55) 2020-10-09 16:47:21 +01:00
Rob Best 224fb62193 release 2.1.1 v2.1.1 2020-09-22 18:20:01 +01:00
Rob Best b84db808b7 Fix ssl_verified_cert_not_after typo 2020-09-22 18:10:07 +01:00
Rob Best c0f4183a7a release 2.1.0 v2.1.0 2020-09-11 19:24:45 +01:00
Rob BestandGitHub 17aa4e2d2d Add metrics for certificates in the verified chains (#48) 2020-09-11 18:20:41 +01:00
Rob BestandGitHub ddedd5f1b5 Add more information to error logs (#49) 2020-09-10 07:35:44 +01:00
Rui LopesandGitHub ac9bc318b1 add a file name extension to the generated binary when the host (e.g. windows) requires it (#47) 2020-09-03 20:02:48 +01:00
Rui LopesandGitHub b4b8471a28 build windows release (#43)
* build windows release

* build a release snapshot
2020-08-19 22:35:49 +01:00
Rob Best b2ed4e6d4e release 2.0.0 v2.0.0 2020-06-22 17:02:48 +01:00
Rob BestandGitHub 89eff28fac Add starttls for smtp, imap and ftp (#36) 2020-06-22 16:50:21 +01:00
Rob BestandGitHub 1c8bd16057 Add proxy_url parameter to https configuration (#35)
This supports the use of more than one proxy server per exporter instance.
2020-06-17 16:48:59 +01:00
Rob BestandGitHub 801179eae7 Move to a modules/probers model, like the blackbox_exporter. (#34)
There are a number of reasons for this change:
- Modules allow a single instance of the exporter to be configured with numerous
different tls configs. Previously you had to run a different exporter for each
combination.
- Adding new and more complicated options to the exporter should be easier with
modules than if I was to go down the route of accepting configuration directly through url params
- I prefer defining a specific prober (https,tcp) over using the URL to guess
what the user wants
2020-06-17 16:29:21 +01:00
Rob Best 5ca5c8ccb9 release 1.0.1 v1.0.1 2020-06-16 17:25:09 +01:00
Rob BestandGitHub dc2882c1f5 Fix emailAddresses (#33) 2020-06-16 17:23:18 +01:00
Rob BestandGitHub 8ef058ebfb Modify build and release processes (#32)
- Don't use promu and upstream Prometheus Makefiles. I don't have a clear
process for keeping them in sync with the upstream and I don't think they add
much value.
- Use the same ldflags in goreleaser and the Makefile
- Run goreleaser from the Makefile so custom env vars can be injected
- Update to go 1.14
2020-06-16 17:18:16 +01:00
Rob BestandGitHub 41830d450f Fix connection leak (#31)
Connections were being left around after requests and in some cases this could
result in file descriptor errors when open files built up.

Closing the http response body and the tcp connection, as well as disabling http
keep alives seems to resolve this.
2020-06-05 13:59:50 +01:00
Rob BestandGitHub 1305aac408 renew test certificates (#28) 2020-05-18 22:08:15 +01:00
Rob Best b7cdf62493 update release process notes in README v1.0.0 2020-03-13 10:26:31 +00:00
Rob Best c98cb10e4f cut 1.0.0 release 2020-03-13 10:14:53 +00:00
Rob BestandGitHub 66ae153296 add a grafana dashboard (#25) 2020-03-12 18:06:37 +00:00
Rob Best 13519dd2da add goreleaser
This makes cutting a new release infinitely easier
2020-03-12 17:40:03 +00:00
Rob BestandGitHub e3477cf63c add TLS version metric (#24) 2020-03-08 18:50:25 +00:00
Rob Best 80765ab97d add a github action to build the docker image 2020-03-08 18:04:43 +00:00
Rob Best 78ce406ce2 fix tests v1.0.0-rc.0 2020-02-25 08:52:04 +00:00
Rob Best f81a0d9bc7 1.0.0-rc.0 2020-02-25 08:17:53 +00:00
Rob BestandGitHub 72736d25c9 Merge pull request #20 from ribbybibby/labels
move metadata out of metrics and into labels
2020-02-25 08:10:08 +00:00
Rob Best 11e3e4c216 move metadata out of metrics and into labels 2020-01-24 17:47:51 +00:00
Rob Best 000c8a8907 add tests for notBefore and notAfter 2020-01-24 17:43:35 +00:00
Rob Best 486b47fd9d describe not before metric 2020-01-24 17:39:12 +00:00
Rob Best 0983ffdba6 use the parsed target when connecting with the http client 2019-12-18 19:26:31 +00:00
Rob Best 874f02f403 fix docker instructions in README 2019-12-18 10:48:50 +00:00
Rob Best 5b927d85bd fix example queries in README 2019-12-08 20:40:43 +00:00
Rob Best 81ff845a10 bump go version in .promu.yaml 2019-12-08 19:59:52 +00:00
Rob Best 008952960e build with go 1.13 explicitly in the Dockerfile 2019-12-08 19:59:33 +00:00
Rob Best 0a4a4023d4 remove unnecessary STATICCHECK_IGNORE from Makefile 2019-12-08 19:58:31 +00:00
Rob Best 6d5223cb4b use promhttp.Handler()
allows the removal of SA1019 linter ignore
2019-12-08 19:33:55 +00:00
Rob BestandGitHub 0ec420e918 Merge pull request #11 from hans-d/GO-113
make it work with Go 1.13
2019-12-08 19:10:58 +00:00
Hans Donner 81504f6140 make it work with Go 1.13 2019-11-26 19:44:55 +01:00
Rob Best 606f4f6032 0.6.0 v0.6.0 2019-09-21 10:40:45 +01:00
Rob Best f91d97c220 Add TOC to README 2019-09-21 10:28:49 +01:00
Rob Best cfab972f8f Use https or tcp client based on target address
There are some advantages to using a http client over tcp. For instance,
using http allows you to take advatange of a http proxy, which may be necessary
in some environments.

This commit puts the http client back, alongside tcp, and decides which one to use
based on the target address.
2019-09-21 10:28:49 +01:00
Rob BestandGitHub 10353fe7fb Merge pull request #7 from ricardbejarano/docker-image
Rewritten Dockerfile into a better image
2019-08-21 12:55:24 +01:00
Ricard Bejarano 5a1b013445 rewritten dockerfile 2019-07-05 15:44:06 +02:00
Rob Best 215029534e Improve tests and remove reliance on external websites 2019-04-10 14:24:18 +01:00
Rob Best 30c8ffb7c3 Fix private key decryption in tests v0.5.0 2019-03-24 20:43:14 +00:00
Rob Best 4c3308f819 Update Makefile and build process to match recent prometheus projects. Address issues thrown up by new tests. 2019-03-24 19:34:32 +00:00
Rob Best a36358fd5d Fix tests 2019-03-24 18:47:16 +00:00