mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 08:27:26 +02:00
autocert: add metrics for renewal count, total and next expiration (#2019)
This commit is contained in:
parent
7eac4283ed
commit
4cc697ace4
4 changed files with 102 additions and 0 deletions
|
@ -4,6 +4,9 @@ package metrics
|
|||
|
||||
// metrics
|
||||
const (
|
||||
AutocertRenewalsTotal = "autocert_renewals_total"
|
||||
AutocertCertificatesTotal = "autocert_certificates_total"
|
||||
AutocertCertificateNextExpiresSeconds = "autocert_certificate_next_expires_seconds"
|
||||
// ConfigLastReloadTimestampSeconds is unix timestamp when configuration was last reloaded
|
||||
ConfigLastReloadTimestampSeconds = "config_last_reload_success_timestamp"
|
||||
// ConfigLastReloadSuccess is set to 1 if last configuration was successfully reloaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue