Imports github.com/elastic/beats/metricbeat/helper/dialer github.com/elastic/beats/metricbeat/mb github.com/pkg/errors Standard library imports fmt net net/url path strings