Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FramingOptions ¶
type FramingOptions struct { Listen string `toml:"listen"` MaxMessageSize uint32 `toml:"max-message-size"` Enabled bool `toml:"enabled"` BufferSize int `toml:"buffer-size"` }
func NewFramingOptions ¶
func NewFramingOptions() *FramingOptions
type Options ¶
type Options struct { Listen string `toml:"listen"` Enabled bool `toml:"enabled"` BufferSize int `toml:"buffer-size"` Compression string `toml:"compression"` }
func NewOptions ¶
func NewOptions() *Options
type TCP ¶
TCP receive metrics from TCP connections
func (*TCP) HandleConnection ¶
func (*TCP) InitPrometheus ¶
func (rcv *TCP) InitPrometheus(reg prometheus.Registerer)
func (*TCP) Stat ¶
func (rcv *TCP) Stat(send helper.StatCallback)
Click to show internal directories.
Click to hide internal directories.