Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Listen string `toml:"listen"` Enabled bool `toml:"enabled"` BufferSize int `toml:"buffer-size"` }
func NewOptions ¶
func NewOptions() *Options
type UDP ¶
UDP receive metrics from UDP socket
func (*UDP) InitPrometheus ¶
func (rcv *UDP) InitPrometheus(reg prometheus.Registerer)
InitPrometheus is a stub for the receiver prom metrics. Required to satisfy Receiver interface.
func (*UDP) Stat ¶
func (rcv *UDP) Stat(send helper.StatCallback)
Click to show internal directories.
Click to hide internal directories.