boulder/cmd/admin-revoker
Phil Porada 17fb1b287f
cmd: Export prometheus metrics for TLS cert notBefore and notAfter fields (#6836)
Export new prometheus metrics for the `notBefore` and `notAfter` fields
to track internal certificate validity periods when calling the `Load()`
method for a `*tls.Config`. Each metric is labeled with the `serial`
field.

```
tlsconfig_notafter_seconds{serial="2152072875247971686"} 1.664821961e+09
tlsconfig_notbefore_seconds{serial="2152072875247971686"} 1.664821960e+09
```

Fixes https://github.com/letsencrypt/boulder/issues/6829
2023-04-24 16:28:05 -04:00
..
main.go cmd: Export prometheus metrics for TLS cert notBefore and notAfter fields (#6836) 2023-04-24 16:28:05 -04:00
main_test.go Remove ReuseValidAuthz code (#6686) 2023-02-28 17:57:16 -05:00