Documentation ¶
Index ¶
- Variables
- func AddRequests(ptype, account, requestType string, no int, zone *string)
- func AddZoneCacheDiscarding(id dns.ZoneID)
- func DeleteAccount(ptype, account string)
- func DeleteZone(zoneid dns.ZoneID)
- func ReportAccountProviders(ptype, account string, amount int)
- func ReportRemoteAccessCertificates(count int)
- func ReportRemoteAccessLogins(namespace, client string, success bool)
- func ReportRemoteAccessRequests(namespace, client, requestType, zoneid string)
- func ReportRemoteAccessSeconds(namespace, client, requestType, zoneid, error string, duration time.Duration)
- func ReportZoneEntries(zoneid dns.ZoneID, 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"}, ) RemoteAccessLogins = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "external_dns_management_remoteaccess_logins", Help: "Total number of remote access logins", }, []string{"handler", "client", "success"}, ) RemoteAccessRequests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "external_dns_management_remoteaccess_requests", Help: "Total number of remote access requests", }, []string{"handler", "client", "type", "zoneid"}, ) RemoteAccessSeconds = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "external_dns_management_remoteaccess_seconds", Help: "Duration in seconds of completed remote access requests", Buckets: []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10, 25}, }, []string{"handler", "client", "type", "zoneid", "error"}, ) RemoteAccessCertificates = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "external_dns_management_remoteaccess_transport_credentials", Help: "Number of server-side transport credentials of remote access", }, ) )
Functions ¶
func AddRequests ¶
func AddZoneCacheDiscarding ¶ added in v0.8.4
func DeleteAccount ¶
func DeleteAccount(ptype, account string)
func DeleteZone ¶
func ReportAccountProviders ¶
func ReportRemoteAccessCertificates ¶ added in v0.12.0
func ReportRemoteAccessCertificates(count int)
func ReportRemoteAccessLogins ¶ added in v0.12.0
func ReportRemoteAccessRequests ¶ added in v0.12.0
func ReportRemoteAccessRequests(namespace, client, requestType, zoneid string)
func ReportRemoteAccessSeconds ¶ added in v0.12.0
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(zone dns.ZoneID)
func (*ZoneProviderTypes) Remove ¶
func (this *ZoneProviderTypes) Remove(zone dns.ZoneID)
Click to show internal directories.
Click to hide internal directories.