Documentation ¶
Index ¶
- Variables
- func AddACMEAccountRegistration(issuerKey utils.IssuerKeyItf, uri, email string)
- func AddACMEOrder(issuerKey utils.IssuerKeyItf, success bool, count int, renew bool)
- func AddActiveACMEDNSChallenge(issuerKey utils.IssuerKeyItf)
- func DeleteCertEntries(issuertype string, issuerKey utils.IssuerKeyItf)
- func DeleteObjectEntriesExpire(namespace, name string)
- func RemoveActiveACMEDNSChallenge(issuerKey utils.IssuerKeyItf)
- func ReportCertEntries(issuertype string, issuerKey utils.IssuerKeyItf, count int)
- func ReportCertObjectExpire(namespace, name string, unixSeconds int64)
- func ReportCertificateSecrets(classification string, count int)
- func ReportOverdueCerts(count int)
- func ReportRevokedCerts(count int)
Constants ¶
This section is empty.
Variables ¶
var ( // ACMEAccountRegistrations is the cert_management_acme_account_registrations gauge. ACMEAccountRegistrations = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cert_management_acme_account_registrations", Help: "ACME account registrations", }, []string{"uri", "email", "issuer"}, ) // ACMETotalOrders is the cert_management_acme_orders counter. ACMETotalOrders = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "cert_management_acme_orders", Help: "Number of ACME orders", }, []string{"issuer", "success", "dns_challenges", "renew"}, ) // ACMEActiveDNSChallenges is the cert_management_acme_active_dns_challenges gauge. ACMEActiveDNSChallenges = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cert_management_acme_active_dns_challenges", Help: "Currently active number of ACME DNS challenges", }, []string{"issuer"}, ) // CertEntries is the cert_management_cert_entries gauge. CertEntries = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cert_management_cert_entries", Help: "Total number of certificate objects per issuer", }, []string{"issuertype", "issuer"}, ) // CertObjectExpire is the cert_management_cert_entries_expire gauge. CertObjectExpire = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cert_management_cert_object_expire", Help: "Expire date as Unix time (the number of seconds elapsed since January 1, 1970 UTC) for each certificate object", }, []string{"namespace", "name"}, ) // OverdueCertificates is the cert_management_overdue_renewal_certificates gauge. OverdueCertificates = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "cert_management_overdue_renewal_certificates", Help: "Number of certificate objects with certificate's renewal overdue", }, ) // RevokedCertificates is the cert_management_revoked_certificates gauge. RevokedCertificates = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "cert_management_revoked_certificates", Help: "Number of certificate objects with revoked certificate", }, ) // CertificateSecrets is the cert_management_secrets gauge. CertificateSecrets = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cert_management_secrets", Help: "Number of certificate secrets per classification", }, []string{"classification"}, ) )
Functions ¶
func AddACMEAccountRegistration ¶
func AddACMEAccountRegistration(issuerKey utils.IssuerKeyItf, uri, email string)
AddACMEAccountRegistration increments the ACMEAccountRegistrations counter.
func AddACMEOrder ¶ added in v0.12.0
func AddACMEOrder(issuerKey utils.IssuerKeyItf, success bool, count int, renew bool)
AddACMEOrder increments the ACMETotalOrders counter.
func AddActiveACMEDNSChallenge ¶
func AddActiveACMEDNSChallenge(issuerKey utils.IssuerKeyItf)
AddActiveACMEDNSChallenge increments the ACMEActiveDNSChallenges gauge.
func DeleteCertEntries ¶
func DeleteCertEntries(issuertype string, issuerKey utils.IssuerKeyItf)
DeleteCertEntries deletes a CertEntries gauge entry.
func DeleteObjectEntriesExpire ¶ added in v0.12.0
func DeleteObjectEntriesExpire(namespace, name string)
DeleteObjectEntriesExpire deletes a CertObjectExpire gauge entry.
func RemoveActiveACMEDNSChallenge ¶
func RemoveActiveACMEDNSChallenge(issuerKey utils.IssuerKeyItf)
RemoveActiveACMEDNSChallenge decrements the ACMEActiveDNSChallenges gauge.
func ReportCertEntries ¶
func ReportCertEntries(issuertype string, issuerKey utils.IssuerKeyItf, count int)
ReportCertEntries sets the CertEntries gauge
func ReportCertObjectExpire ¶ added in v0.12.0
ReportCertObjectExpire sets a CertObjectExpire gauge entry.
func ReportCertificateSecrets ¶ added in v0.12.0
ReportCertificateSecrets sets the CertificateSecrets gauge
func ReportOverdueCerts ¶ added in v0.12.0
func ReportOverdueCerts(count int)
ReportOverdueCerts sets the OverdueCertificates gauge
func ReportRevokedCerts ¶ added in v0.12.0
func ReportRevokedCerts(count int)
ReportRevokedCerts sets the RevokedCertificates gauge
Types ¶
This section is empty.