Versions in this module Expand all Collapse all v1 v1.0.5 Nov 9, 2021 v1.0.4 Nov 9, 2021 v1.0.3 Nov 9, 2021 v1.0.2 Nov 4, 2021 v1.0.1 Nov 3, 2021 Changes in this version + func Flatten(m map[string]interface{}) map[string]interface + func HasLocks(stat *ServerStatus) bool + func InterpretField(field string, newStat, oldStat *ServerStatus) string + func IsMMAP(stat *ServerStatus) bool + func IsMongos(stat *ServerStatus) bool + func IsReplSet(stat *ServerStatus) (res bool) + func IsWT(stat *ServerStatus) bool + func ReadARW(_ *ReaderConfig, newStat, _ *ServerStatus) string + func ReadCommand(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadConn(_ *ReaderConfig, newStat, _ *ServerStatus) string + func ReadDelete(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadDirty(c *ReaderConfig, newStat, _ *ServerStatus) (val string) + func ReadFaults(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadFlushes(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadGetMore(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadHost(_ *ReaderConfig, newStat, _ *ServerStatus) string + func ReadInsert(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadLRW(_ *ReaderConfig, newStat, oldStat *ServerStatus) (val string) + func ReadLRWT(_ *ReaderConfig, newStat, oldStat *ServerStatus) (val string) + func ReadLockedDB(_ *ReaderConfig, newStat, oldStat *ServerStatus) (val string) + func ReadMapped(c *ReaderConfig, newStat, _ *ServerStatus) (val string) + func ReadNetIn(c *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadNetOut(c *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadNonMapped(c *ReaderConfig, newStat, _ *ServerStatus) (val string) + func ReadQRW(_ *ReaderConfig, newStat, _ *ServerStatus) string + func ReadQuery(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadRepl(_ *ReaderConfig, newStat, _ *ServerStatus) string + func ReadRes(c *ReaderConfig, newStat, _ *ServerStatus) (val string) + func ReadSet(_ *ReaderConfig, newStat, _ *ServerStatus) (name string) + func ReadStatDiff(field string, newStat, oldStat *ServerStatus) string + func ReadStatField(field string, stat *ServerStatus) string + func ReadStatRate(field string, newStat, oldStat *ServerStatus) string + func ReadStorageEngine(_ *ReaderConfig, newStat, _ *ServerStatus) string + func ReadTime(c *ReaderConfig, newStat, _ *ServerStatus) string + func ReadUpdate(_ *ReaderConfig, newStat, oldStat *ServerStatus) string + func ReadUsed(c *ReaderConfig, newStat, _ *ServerStatus) (val string) + func ReadVSize(c *ReaderConfig, newStat, _ *ServerStatus) (val string) + type CacheStats struct + CurrentCachedBytes int64 + MaxBytesConfigured int64 + TrackedDirtyBytes int64 + type ClientStats struct + Readers int64 + Total int64 + Writers int64 + type ConcurrentTransStats struct + Out int64 + type ConcurrentTransactions struct + Read ConcurrentTransStats + Write ConcurrentTransStats + type ConnectionStats struct + Available int64 + Current int64 + TotalCreated int64 + type DBRecordStats struct + AccessesNotInMemory int64 + DBRecordAccesses map[string]RecordAccesses + PageFaultExceptionsThrown int64 + type DurStats struct + Commits int64 + CommitsInWriteLock int64 + Compression int64 + EarlyCommits int64 + JournaledMB int64 + TimeMs DurTiming + WriteToDataFilesMB int64 + type DurTiming struct + Dt int64 + PrepLogBuffer int64 + RemapPrivateView int64 + WriteToDataFiles int64 + WriteToJournal int64 + type ExtraInfo struct + PageFaults *int64 + type FlushStats struct + AverageMs float64 + Flushes int64 + LastFinished time.Time + LastMs int64 + TotalMs int64 + type GlobalLockStats struct + ActiveClients *ClientStats + CurrentQueue *QueueStats + LockTime int64 + TotalTime int64 + type LockStats struct + AcquireCount *ReadWriteLockTimes + AcquireWaitCount *ReadWriteLockTimes + TimeAcquiringMicros ReadWriteLockTimes + TimeLockedMicros ReadWriteLockTimes + type LockUsage struct + Namespace string + Reads int64 + Writes int64 + type MemStats struct + Bits int64 + Mapped int64 + MappedWithJournal int64 + Resident int64 + Supported interface{} + Virtual int64 + type NetworkStats struct + BytesIn int64 + BytesOut int64 + NumRequests int64 + type NodeError struct + Host string + func NewNodeError(host string, err error) *NodeError + func (ne *NodeError) Error() string + type OpcountStats struct + Command int64 + Delete int64 + GetMore int64 + Insert int64 + Query int64 + Update int64 + type QueueStats struct + Readers int64 + Total int64 + Writers int64 + type ReadWriteLockTimes struct + Read int64 + ReadLower int64 + Write int64 + WriteLower int64 + type ReaderConfig struct + HumanReadable bool + TimeFormat string + type RecordAccesses struct + AccessesNotInMemory int64 + PageFaultExceptionsThrown int64 + type ReplStatus struct + ArbiterOnly interface{} + Hosts []string + IsMaster interface{} + IsReplicaSet interface{} + Me string + Passives []string + Secondary interface{} + SetName string + type ServerStatus struct + Asserts map[string]int64 + BackgroundFlushing *FlushStats + Connections *ConnectionStats + Dur *DurStats + ExtraInfo *ExtraInfo + Flattened map[string]interface{} + GlobalLock *GlobalLockStats + Host string + LocalTime time.Time + Locks map[string]LockStats + Mem *MemStats + Network *NetworkStats + Opcounters *OpcountStats + OpcountersRepl *OpcountStats + Pid int64 + Process string + RecordStats *DBRecordStats + Repl *ReplStatus + SampleTime time.Time + ShardCursorType map[string]interface{} + StorageEngine *StorageEngine + Uptime int64 + UptimeEstimate int64 + UptimeMillis int64 + Version string + WiredTiger *WiredTiger + type StorageEngine struct + Name string + type TransactionStats struct + TransCheckpoints int64 + type WiredTiger struct + Cache CacheStats + Concurrent ConcurrentTransactions + Transaction TransactionStats