Documentation ¶
Index ¶
Constants ¶
View Source
const TelnetFormatTagsRegexp string = `([0-9A-Za-z-\._\%\&\#\;\/]+)=([0-9A-Za-z-\._\%\&\#\;\/]+)`
TelnetFormatTagsRegexp - contains the regexp to parse the tags
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetdataHandler ¶
type NetdataHandler struct {
// contains filtered or unexported fields
}
NetdataHandler - handles netdata telnet format data
func NewNetdataHandler ¶
func NewNetdataHandler(regexpCacheDuration string, collector *collector.Collector, logger *zap.Logger) *NetdataHandler
NewNetdataHandler - creates the new handler
func (*NetdataHandler) Handle ¶
func (nh *NetdataHandler) Handle(line string)
Handle - extracts the points received by telnet
func (*NetdataHandler) SourceName ¶
func (nh *NetdataHandler) SourceName() string
sourceName - returns the connection type name
type OpenTSDBHandler ¶
type OpenTSDBHandler struct {
// contains filtered or unexported fields
}
OpenTSDBHandler - handles opentsdb telnet format data
func NewOpenTSDBHandler ¶
func NewOpenTSDBHandler(collector *collector.Collector, logger *zap.Logger) *OpenTSDBHandler
NewOpenTSDBHandler - creates the new handler
func (*OpenTSDBHandler) Handle ¶
func (otsdbh *OpenTSDBHandler) Handle(line string)
Handle - extracts the points received by telnet
func (*OpenTSDBHandler) SourceName ¶
func (otsdbh *OpenTSDBHandler) SourceName() string
sourceName - returns the connection type name
Click to show internal directories.
Click to hide internal directories.