Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RequestCount = promauto.NewCounterVec(prometheus.CounterOpts{ Namespace: plugin.Namespace, Subsystem: pluginName, Name: "requests_total", Help: "Counter of requests made per upstream.", }, []string{"to"}) RcodeCount = promauto.NewCounterVec(prometheus.CounterOpts{ Namespace: plugin.Namespace, Subsystem: pluginName, Name: "responses_total", Help: "Counter of responses received per upstream.", }, []string{"rcode", "to"}) RequestDuration = promauto.NewHistogramVec(prometheus.HistogramOpts{ Namespace: plugin.Namespace, Subsystem: pluginName, Name: "request_duration_seconds", Buckets: plugin.TimeBuckets, Help: "Histogram of the time each request took.", }, []string{"to", "rcode", "type"}) )
Functions ¶
This section is empty.
Types ¶
type DoHProxy ¶
DoHProxy is a simplified DNS proxy using a generic upstream interface.
type UpstreamHTTPS ¶
type UpstreamHTTPS struct {
// contains filtered or unexported fields
}
UpstreamHTTPS is the upstream implementation for DNS over HTTPS service.
Click to show internal directories.
Click to hide internal directories.