Imports github.com/DataDog/datadog-agent/pkg/api/util github.com/DataDog/datadog-agent/pkg/config github.com/DataDog/datadog-agent/pkg/util/retry github.com/cihub/seelog Standard library imports encoding/json fmt io/ioutil net/http net/url os path/filepath strings time