Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricZone = "zone" ZoneType = "type" ZoneTypePrivate = "private" ZoneTypePublic = "public" )
Variables ¶
View Source
var ( ZoneInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metricNamespace, Subsystem: MetricZone, Name: "info", Help: "Info about cluster DNS zone", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }, []string{ MetricZone, ZoneType, "resource_group", "tenant_id", "subscription_id", }) ClusterZoneRecords = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metricNamespace, Subsystem: MetricZone, Name: "records_sum", Help: "Info about cluster", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }, []string{ MetricZone, ZoneType, }) RecordInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metricNamespace, Subsystem: metricRecordSet, Name: "info", Help: "Info about existing record set", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }, []string{ MetricZone, ZoneType, "fqdn", "ip", "ttl", }) AzureRequestError = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: metricAzure, Name: "errors_total", Help: "Total number of errors for an Azure API call", }, []string{"method"}) AzureRequest = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: metricAzure, Name: "total", Help: "Total number of Azure API calls", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }, []string{"method"}) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.