Documentation ¶
Overview ¶
Package prometheus defines a Prometheus metric implementation for DoH.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialMetrics ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func (Metrics) DoHDialInc ¶
func (c Metrics) DoHDialInc(url string)
type Settings ¶
type Settings struct { // Prometheus defines common Prometheus settings. Prometheus prom.Settings // DoTDialMetrics is the metrics interface for the // DoT dialer. It defaults to a No-op implementation. DoTDialMetrics DialMetrics }
func (*Settings) SetDefaults ¶
func (s *Settings) SetDefaults()
Click to show internal directories.
Click to hide internal directories.