Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common github.com/elastic/beats/metricbeat/module/uwsgi github.com/elastic/beats/metricbeat/mb Standard library imports encoding/json fmt io io/ioutil net net/http net/url strings