mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +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
|
@ -67,6 +67,11 @@ func (r *metricRegistry) init() {
|
|||
if err != nil {
|
||||
log.Error().Err(err).Msg("telemetry/metrics: failed to register policy count metric")
|
||||
}
|
||||
|
||||
err = registerAutocertMetrics(r.registry)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("telemetry/metrics: failed to register autocert metrics")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue