Add new probe_ssl_last_chain_expiry_timestamp_seconds metric (#636)
authorTakuya Kosugiyama <re@itkq.jp>
Wed, 10 Jun 2020 08:20:54 +0000 (17:20 +0900)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 08:20:54 +0000 (09:20 +0100)
commit725a683985217d871319b2148586048eb48f95a3
tree138ebeab85927463baa3e02559696768fe846ff3
parent261b0eb586e91646842154a103e6137f1974c4b3
Add new probe_ssl_last_chain_expiry_timestamp_seconds metric (#636)

* Add new probe_ssl_latest_verified_chain_expiry metric

Resolves https://github.com/prometheus/blackbox_exporter/issues/340

Based on the discussion in the issue above, this metric will help determine
when the SSL/TLS certificate expiration error actually happens on clients
like a browser that attempts to verify certificates by building one or
more chains from peer certificates.

Signed-off-by: Takuya Kosugiyama <re@itkq.jp>
prober/http.go
prober/http_test.go
prober/tcp.go
prober/tcp_test.go
prober/tls.go
prober/utils_test.go