Documentation ¶
Overview ¶
Package exporter implements the collectors and metrics handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotGetTopologyLabels = fmt.Errorf("cannot get topology labels")
ErrCannotGetTopologyLabels Cannot read topology labels.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter holds Exporter methods and attributes.
type Opts ¶
type Opts struct { CompatibleMode bool DiscoveringMode bool GlobalConnPool bool DirectConnect bool URI string Path string WebListenAddress string IndexStatsCollections []string CollStatsCollections []string Logger *logrus.Logger DisableDiagnosticData bool DisableReplicasetStatus bool }
Opts holds new exporter options.
type ShardingChangelogStats ¶
type ShardingChangelogStats struct {
Items *[]ShardingChangelogSummary
}
ShardingChangelogStats is an array of Sharding changelog stats.
type ShardingChangelogSummary ¶
type ShardingChangelogSummary struct { ID *ShardingChangelogSummaryID `bson:"_id"` Count float64 `bson:"count"` }
ShardingChangelogSummary Sharding Changelog Summary.
type ShardingChangelogSummaryID ¶
ShardingChangelogSummaryID Sharding Changelog Summary ID.
Click to show internal directories.
Click to hide internal directories.