Skip to content

Commit

Permalink
reset correct metrics for certrequests (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
izolight authored Jun 3, 2024
1 parent 97ba226 commit 2215ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exporters/certRequestExporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ func (c *CertRequestExporter) ExportMetrics(bytes []byte, certrequest, certreque
}

func (c *CertRequestExporter) ResetMetrics() {
metrics.SecretExpirySeconds.Reset()
metrics.SecretNotAfterTimestamp.Reset()
metrics.CertRequestExpirySeconds.Reset()
metrics.CertRequestNotAfterTimestamp.Reset()
}

0 comments on commit 2215ebd

Please sign in to comment.