Documentation ¶
Index ¶
- Variables
- func AddACMEAccountRegistration(server, email string)
- func AddACMEObtain(issuer string, success bool, count int, renew bool)
- func AddActiveACMEDNSChallenge(issuer string)
- func DeleteCertEntries(issuertype, issuer string)
- func RemoveActiveACMEDNSChallenge(issuer string)
- func ReportCertEntries(issuertype, issuer string, count int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ACMEAccountRegistrations is the acme_account_registrations counter. ACMEAccountRegistrations = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "acme_account_registrations", Help: "Number of ACME account registrations", }, []string{"server", "email"}, ) // ACMETotalObtains is the acme_obtains counter. ACMETotalObtains = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "acme_obtains", Help: "Total number of ACME obtains", }, []string{"issuer", "success", "dns_challenges", "renew"}, ) // ACMEActiveDNSChallenges is the acme_active_dns_challenges gauge. ACMEActiveDNSChallenges = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "acme_active_dns_challenges", Help: "Currently active number of ACME DNS challenges", }, []string{"issuer"}, ) // CertEntries is the cert_entries gauge. CertEntries = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cert_entries", Help: "Total number of cert entries per issuer", }, []string{"issuertype", "issuer"}, ) )
Functions ¶
func AddACMEAccountRegistration ¶
func AddACMEAccountRegistration(server, email string)
AddACMEAccountRegistration increments the ACMEAccountRegistrations counter.
func AddACMEObtain ¶
AddACMEObtain increments the ACMETotalObtains counter.
func AddActiveACMEDNSChallenge ¶
func AddActiveACMEDNSChallenge(issuer string)
AddActiveACMEDNSChallenge increments the ACMEActiveDNSChallenges gauge.
func DeleteCertEntries ¶
func DeleteCertEntries(issuertype, issuer string)
DeleteCertEntries deletes a CertEntries gauge entry.
func RemoveActiveACMEDNSChallenge ¶
func RemoveActiveACMEDNSChallenge(issuer string)
RemoveActiveACMEDNSChallenge decrements the ACMEActiveDNSChallenges gauge.
func ReportCertEntries ¶
ReportCertEntries sets the CertEntries gauge
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.