Imports github.com/elastic/beats/libbeat/testing github.com/elastic/beats/metricbeat/beater github.com/elastic/beats/metricbeat/mb/module github.com/elastic/beats/libbeat/cmd/instance github.com/spf13/cobra Standard library imports fmt os