Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Telegraf supervisor for agent start, stop, config reload...
Because Telegraf will send all inputs' data to all outputs, so only ONE Logtail
config will be passed to Telegraf simultaneously.
Data link: Telegraf ------ HTTP ------> Logtail ----- Protobuf ------> SLS. Logtail will work as an InfluxDB server to receive data from telegraf by HTTP protocol.
func GetTelegrafManager ¶
func (*Manager) RegisterConfig ¶
func (*Manager) UnregisterConfig ¶
type ServiceTelegraf ¶
type ServiceTelegraf struct { Detail string // contains filtered or unexported fields }
func (*ServiceTelegraf) Collect ¶
func (s *ServiceTelegraf) Collect(collector ilogtail.Collector) error
func (*ServiceTelegraf) Description ¶
func (s *ServiceTelegraf) Description() string
func (*ServiceTelegraf) Stop ¶
func (s *ServiceTelegraf) Stop() error
Click to show internal directories.
Click to hide internal directories.