Imports github.com/elastic/beats/libbeat/monitoring github.com/elastic/beats/heartbeat/scheduler/timerqueue golang.org/x/sync/semaphore github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/common/atomic Standard library imports context errors fmt math sync time