boulder/observer
Preston Locke 8477ba38e3
boulder-observer: Add a CRL prober type (#6349)
This PR is a follow-up to #6277 and #6290 to add a new prober type to
boulder-observer for monitoring CRLs, making use of the new prober-specific
metrics capability to define the following new metrics:

- `obs_crl_this_update` the Unix timestamp of the CRL's thisUpdate value
- `obs_crl_next_update` the Unix timestamp of the CRL's nextUpdate value
- `obs_crl_revoked_cert_count` the number of certificates listed in the CRL

**Configuration:** Each defined CRL monitor takes a single configuration option,
a URL that specifies the location of the CRL to monitor.

**Metrics:** The three CRL-specific metrics described above are only published
at /metrics if at least one valid monitor is defined in the config.yml. The
metrics have a single label `url` that is set to the URL configured for the
monitor
2022-09-15 11:44:56 -07:00
..
probers boulder-observer: Add a CRL prober type (#6349) 2022-09-15 11:44:56 -07:00
mon_conf.go boulder-observer: Add support for prober specific metrics (#6290) 2022-09-02 10:40:03 -07:00
mon_conf_test.go Improve error checking paradigm (#5920) 2022-02-01 14:42:43 -07:00
monitor.go Fixup staticcheck and stylecheck, and violations thereof (#5897) 2022-01-20 16:22:30 -08:00
obs_conf.go boulder-observer: Add a CRL prober type (#6349) 2022-09-15 11:44:56 -07:00
obs_conf_test.go boulder-observer: Add support for prober specific metrics (#6290) 2022-09-02 10:40:03 -07:00
observer.go boulder-observer: Add a CRL prober type (#6349) 2022-09-15 11:44:56 -07:00