package
1.0.18
Repository: https://github.com/ppussar/mongodb_exporter.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# 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.