Imports github.com/olivere/elastic/v7 github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp golang.org/x/sync/errgroup Standard library imports context crypto/rand encoding/hex errors flag log log/syslog net/http os os/signal syscall time