Imports github.com/pkg/errors go.elastic.co/apm/v2/apmconfig go.elastic.co/apm/v2/internal/apmversion go.elastic.co/apm/v2/internal/configutil Standard library imports bytes context crypto/tls crypto/x509 encoding/json encoding/pem fmt io io/ioutil math/rand mime/multipart net/http net/textproto net/url os path strconv strings sync/atomic time