Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DNSExpiration is a metric for exposing how long until a machine's DNS // record will be removed from Cloud DNS. DNSExpiration = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "autojoin_dns_expiration", Help: "The amount of time before a DNS record will be removed", }, []string{ "hostname", }, ) // RequestHandlerDuration is a histogram that tracks the latency of each request handler. RequestHandlerDuration = promauto.NewHistogramVec( prometheus.HistogramOpts{ Name: "autojoin_request_handler_duration", Help: "A histogram of latencies for each request handler.", }, []string{"path", "code"}, ) // GarbageCollectorOperations counts garbage collection operations by type and result. GarbageCollectorOperations = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "autojoin_gc_operations_total", Help: "Total number of garbage collector operations by type and result", }, []string{"operation", "result"}, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.