Documentation ¶
Index ¶
- type NetdataHandler
- type OpenTSDBHandler
- func (otsdbh *OpenTSDBHandler) GetLogger() *logh.ContextualLogger
- func (otsdbh *OpenTSDBHandler) GetSourceType() *constants.SourceType
- func (otsdbh *OpenTSDBHandler) GetValidationService() *validation.Service
- func (otsdbh *OpenTSDBHandler) Handle(line string, ip string) bool
- func (otsdbh *OpenTSDBHandler) SilenceLogs() bool
Constants ¶
This section is empty.
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) GetLogger ¶
func (nh *NetdataHandler) GetLogger() *logh.ContextualLogger
GetLogger - returns the logger
func (*NetdataHandler) GetSourceType ¶
func (nh *NetdataHandler) GetSourceType() *constants.SourceType
GetSourceType - returns the source type
func (*NetdataHandler) GetValidationService ¶
func (nh *NetdataHandler) GetValidationService() *validation.Service
GetValidationService - returns the validation service instance
func (*NetdataHandler) Handle ¶
func (nh *NetdataHandler) Handle(line, ip string) bool
Handle - extracts the points received by telnet
func (*NetdataHandler) SilenceLogs ¶
func (nh *NetdataHandler) SilenceLogs() bool
SilenceLogs - checks the configuration to silence all validation logs
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) GetLogger ¶
func (otsdbh *OpenTSDBHandler) GetLogger() *logh.ContextualLogger
GetLogger - returns the logger
func (*OpenTSDBHandler) GetSourceType ¶
func (otsdbh *OpenTSDBHandler) GetSourceType() *constants.SourceType
GetSourceType - returns the source type
func (*OpenTSDBHandler) GetValidationService ¶
func (otsdbh *OpenTSDBHandler) GetValidationService() *validation.Service
GetValidationService - returns the validation service instance
func (*OpenTSDBHandler) Handle ¶
func (otsdbh *OpenTSDBHandler) Handle(line string, ip string) bool
Handle - extracts the points received by telnet
func (*OpenTSDBHandler) SilenceLogs ¶
func (otsdbh *OpenTSDBHandler) SilenceLogs() bool
SilenceLogs - checks the configuration to silence all validation logs