Documentation ¶
Index ¶
- Variables
- func AddRequests(ptype, account, requestType string, no int, zone *string)
- func AddZoneCacheDiscarding(ptype, zone string)
- func DeleteAccount(ptype, account string)
- func DeleteZone(zone string)
- func ReportAccountProviders(ptype, account string, amount int)
- func ReportZoneEntries(ptype, zone string, amount int, stale int)
- func UpdateOwnerStatistic(statistic *statistic.EntryStatistic, types utils.StringSet)
- type ZoneProviderTypes
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Requests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "external_dns_management_total_provider_requests", Help: "Total requests per provider type and credential set", }, []string{"providertype", "accounthash", "requesttype"}, ) ZoneRequests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "external_dns_management_requests_per_zone", Help: "Requests per provider type, credential set, and zone", }, []string{"providertype", "accounthash", "requesttype", "zone"}, ) ZoneCacheDiscardings = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "external_dns_management_zone_cache_discardings", Help: "Discardings of zone cache per provider type and zone", }, []string{"providertype", "zone"}, ) Accounts = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "external_dns_management_account_providers", Help: "Total number of providers per account", }, []string{"providertype", "accounthash"}, ) Entries = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "external_dns_management_dns_entries", Help: "Total number of dns entries per hosted zone", }, []string{"providertype", "zone"}, ) StaleEntries = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "external_dns_management_dns_entries_stale", Help: "Total number of stale dns entries per hosted zone", }, []string{"providertype", "zone"}, ) Owners = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "external_dns_management_dns_owners", Help: "Total number of dns entries per owner", }, []string{"owner", "providertype", "provider"}, ) )
Functions ¶
func AddRequests ¶
func AddZoneCacheDiscarding ¶ added in v0.8.4
func AddZoneCacheDiscarding(ptype, zone string)
func DeleteAccount ¶
func DeleteAccount(ptype, account string)
func DeleteZone ¶
func DeleteZone(zone string)
func ReportAccountProviders ¶
func ReportZoneEntries ¶
func UpdateOwnerStatistic ¶ added in v0.7.12
func UpdateOwnerStatistic(statistic *statistic.EntryStatistic, types utils.StringSet)
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.