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 github.com/lib/pq Standard library imports fmt time database/sql