package
0.0.0-20250307203412-7e5349ef2bba
Repository: https://github.com/mongodb/mongo-tools.git
Documentation: pkg.go.dev

# Packages

Main package for the mongostat tool.
No description provided by the author
No description provided by the author

# Functions

NewNodeMonitor copies the same connection settings from an instance of ToolOptions, but monitors fullHost.
No description provided by the author

# Variables

No description provided by the author

# Structs

AsyncClusterMonitor is an implementation of ClusterMonitor that writes output gotten from polling samples collected asynchronously from one or more servers.
ConfigShard holds a mapping for the format of shard hosts as they appear in the config.shards collection.
MongoStat is a container for the user-specified options and internal cluster state used for running mongostat.
NodeMonitor contains the connection pool for a single host and collects the mongostat data for that host on a regular interval.
No description provided by the author
StatOptions defines the set of options to use for configuring mongostat.
SyncClusterMonitor is an implementation of ClusterMonitor that writes output synchronized with the timing of when the polling samples are collected.

# Interfaces

ClusterMonitor maintains an internal representation of a cluster's state, which can be refreshed with calls to Update(), and dumps output representing this internal state on an interval.