package
2.37.0+incompatible
Repository: https://github.com/percona/mongodb_exporter.git
Documentation: pkg.go.dev

# Functions

DefaultTestClient returns the default MongoDB connection used for tests.
GetenvDefault gets a variable from the environment and returns its value or the spacified default if the variable is empty.
GetImageNameForDefault returns image name and version of running default test mongo container.
No description provided by the author
LoadJSON loads a file and returns the result of unmarshaling it into a bson.M structure.
No description provided by the author
TestClient returns a new MongoDB connection to the specified server port.

# Constants

MongoDBConfigServer1Port MongoDB config server primary Port.
MongoDBS1PrimaryPort MongoDB Shard 1 Primary Port.
MongoDBS1Secondary1Port MongoDB Shard 1 Secondary 1 Port.
MongoDBS1Secondary2Port MongoDB Shard 1 Secondary 2 Port.
MongoDBStandAloneEncryptedPort MongoDB standalone encrypted instance Port.
MongoDBStandAlonePort MongoDB stand alone instance Port.
MongosPort MongoDB mongos Port.

# Structs

No description provided by the author

# Type aliases