# Functions
NewCollector constructor initializes every descriptor and returns a pointer to the collector.
NewConnection opens a connection to mongoDB by using the given uri.
NewHttpServer creates a new instance of the HttpServer.
ReadConfig Parses given config content.
ReadConfigFile Initializes a Config instance from a given file path.
RegisterHealthChecks initializes health checks for the Exporter and returns an http handler func.
# Structs
Collector queries one prometheus metric from mongoDB.
Config Root config struct.
Connection to mongoDB.
HttpServer serves endpoints from the given Config.
Metric Collector configuration.