Documentation ¶ Index ¶ func CreateMetrics() func ResetMetrics() type Poller func NewPoller(ctx context.Context, cfg *config.Config) (*Poller, error) func (p *Poller) Close() func (p *Poller) PollLogsSendEvents(curTime time.Time) time.Time Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateMetrics ¶ added in v0.0.5 func CreateMetrics() func ResetMetrics ¶ added in v0.0.5 func ResetMetrics() Types ¶ type Poller ¶ type Poller struct { // contains filtered or unexported fields } func NewPoller ¶ func NewPoller(ctx context.Context, cfg *config.Config) (*Poller, error) func (*Poller) Close ¶ func (p *Poller) Close() func (*Poller) PollLogsSendEvents ¶ func (p *Poller) PollLogsSendEvents(curTime time.Time) time.Time Source Files ¶ View all Source files poller.go prom.go Click to show internal directories. Click to hide internal directories.