boulder/ocsp
Aaron Gable 65443f8657
Add response age histogram to ocsp-responder (#5193)
There are various technical requirements on the maximum age of
an OCSP response. Although ocsp-updater has mechanisms to ensure
that all certificates have responses which are sufficiently recent,
there is the possibility of a bug which results in some OCSP
responses escaping its notice.

This change adds a historgram metric to ocsp-responder which collects
the ages (i.e. now minus the `thisUpdate` timestamp) of the OCSP
respones which it serves. The histogram has equal buckets in 12-hour
increments. During normal operation, the first 7 such buckets
(representing ages 0 to 3.5 days) should have roughly equal counts,
while the latter 7 buckets (3.5 to 7 days) should be empty.

Fixes #5080
2020-12-10 16:43:04 -08:00
..
testdata ocsp-responder: Integrate CFSSL OCSP responder code (#4461) 2019-10-07 14:05:37 -04:00
responder.go Add response age histogram to ocsp-responder (#5193) 2020-12-10 16:43:04 -08:00
responder_test.go Add response age histogram to ocsp-responder (#5193) 2020-12-10 16:43:04 -08:00