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, telnetConfig *structs.GlobalTelnetServerConfiguration, validationService *validation.Service) *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, telnetConfig *structs.GlobalTelnetServerConfiguration, validationService *validation.Service) *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.