# Packages
No description provided by the author
# Functions
GetRequestOpts makes exporter.Opts structure from request filters and default options.
GetSeedListFromSRV converts mongodb+srv URI to flat connection string.
New connects to the database and returns a new Exporter instance.
NewGathererWrapper creates a new GathererWrapped with the given Gatherer and additional labels.
OverallTargetsHandler is a handler to scrape all the targets in one request.
Runs the main web-server.
# Constants
ArbiterState is the state of an arbiter in a replica set.
CommunityEdition shows that MongoDB is Community edition.
EnterpriseEdition shows that MongoDB is Enterprise edition.
MongoDBVendor means that MongoDB provided by Mongo.
PerconaVendor means that MongoDB provided by Percona.
PrimaryState is the state of the primary node in a replica set.
SecondaryState is the state of a secondary node in a replica set.
UnknownState is the state of an unknown node in a replica set.
# Variables
ErrCannotGetTopologyLabels Cannot read topology labels.
No description provided by the author
No description provided by the author
# Structs
Exporter holds Exporter methods and attributes.
GathererWrapped is a wrapper for prometheus.Gatherer that adds labels to all metrics.
Opts holds new exporter options.
ServerOpts is the options for the main http handler.
ShardingChangelogStats is an array of Sharding changelog stats.
ShardingChangelogSummary Sharding Changelog Summary.
ShardingChangelogSummaryID Sharding Changelog Summary ID.
# Type aliases
ServerMap stores http handlers for each host.