Imports github.com/mattn/go-sqlite3 github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/client_golang/prometheus/promhttp Standard library imports bytes compress/gzip context database/sql encoding/json flag fmt io io/ioutil log net/http os path/filepath sync time