Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dogstatsd ¶
type Dogstatsd struct { Next plugin.Handler // Address of the dogstatsd agent to push metrics to. Addr string // Size of the socket buffer used to push metrics to the dogstatsd agent. BufferSize int // Time interval between flushes of metrics to the dogstasd agent. FlushInterval time.Duration // Reg is the prometheus registry used by the metrics plugin where all // metrics are registered. Reg *prometheus.Registry // Those flags control whether this plugin instance is allowed to report // go and process metrics. This is used because those metrics are global // so it is OK if only a single plugin pushes them to the dogstatsd agent. EnableGoMetrics bool EnableProcessMetrics bool // ZoneNames is the list of zones that this plugin reports metrics for. ZoneNames []string // contains filtered or unexported fields }
Dogstatsd is the implementation of the dogstasd coredns plugin.
Click to show internal directories.
Click to hide internal directories.