Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Requests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "total_provider_requests", Help: "Total requests per provider type and credential set", }, []string{"providertype", "accounthash", "requesttype"}, ) Accounts = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "account_providers", Help: "Total number of providers per account", }, []string{"providertype", "accounthash"}, ) Entries = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dns_entries", Help: "Total number of dns entries per hosted zone", }, []string{"providertype", "zone"}, ) )
Functions ¶
func AddRequests ¶
func DeleteAccount ¶
func DeleteAccount(ptype, account string)
func DeleteZone ¶
func DeleteZone(zone string)
func ReportAccountProviders ¶
func ReportZoneEntries ¶
Types ¶
type ZoneProviderTypes ¶
type ZoneProviderTypes struct {
// contains filtered or unexported fields
}
func (*ZoneProviderTypes) Add ¶
func (this *ZoneProviderTypes) Add(ptype, zone string)
func (*ZoneProviderTypes) Remove ¶
func (this *ZoneProviderTypes) Remove(zone string) string
Click to show internal directories.
Click to hide internal directories.