Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common/schema github.com/elastic/beats/metricbeat/module/postgresql github.com/elastic/beats/libbeat/common/schema/mapstrstr github.com/elastic/beats/metricbeat/mb Standard library imports context fmt time