Versions in this module Expand all Collapse all v1 v1.2.0 Mar 24, 2017 Changes in this version + var DbDataStats = map[string]string + var DefaultClusterStats = map[string]string + type ClusterStatus struct + JumboChunksCount int64 + type Db struct + DbStatsData *DbStatsData + Name string + type DbData struct + Fields map[string]interface{} + Name string + type DbStatLine struct + AvgObjSize float64 + Collections int64 + DataSize int64 + IndexSize int64 + Indexes int64 + Name string + NumExtents int64 + Objects int64 + Ok int64 + StorageSize int64 + type DbStats struct + Dbs []Db + type DbStatsData struct + AvgObjSize float64 + Collections int64 + DataSize int64 + Db string + GleStats interface{} + IndexSize int64 + Indexes int64 + NumExtents int64 + Objects int64 + Ok int64 + StorageSize int64 + type MetricsStats struct + TTL *TTLStats type MongoDB + GatherPerdbStats bool + type MongoStatus struct + ClusterStatus *ClusterStatus + DbStats *DbStats + ReplSetStatus *ReplSetStatus + SampleTime time.Time + ServerStatus *ServerStatus type MongodbData + DbData []DbData + func (d *MongodbData) AddDbStats() + type ReplSetMember struct + Name string + OptimeDate time.Time + State int64 + StateStr string + type ReplSetStatus struct + Members []ReplSetMember + MyState int64 type ServerStatus + Metrics *MetricsStats type StatLine + DbStatsLines []DbStatLine + DeletedDocuments int64 + JumboChunksCount int64 + NodeState string + Passes int64 + ReplLag int64 + type TTLStats struct + DeletedDocuments int64 + Passes int64 v0 v0.10.1 Jan 27, 2016 v0.10.0 Jan 9, 2016 Changes in this version + const AllOnly + const Always + const Discover + const Locks + const MMAPOnly + const MongosProcess + const Repl + const WTOnly + var DefaultReplStats = map[string]string + var DefaultStats = map[string]string + var MmapStats = map[string]string + var StatHeaders = []StatHeader + var WiredTigerStats = map[string]string + type CacheStats struct + CurrentCachedBytes int64 + MaxBytesConfigured int64 + TrackedDirtyBytes int64 + type ClientStats struct + Readers int64 + Total int64 + Writers int64 + type CollectionLockStatus struct + ReadAcquireTimeMicros int64 + ReadAcquireWaitsPercentage float64 + WriteAcquireTimeMicros int64 + WriteAcquireWaitsPercentage float64 + 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 LockStatus struct + DBName string + Global bool + Percentage float64 + 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 MongoDB struct + Servers []string + Ssl Ssl + func (*MongoDB) Description() string + func (m *MongoDB) Gather(acc inputs.Accumulator) error + func (m *MongoDB) SampleConfig() string + type MongodbData struct + Fields map[string]interface{} + StatLine *StatLine + Tags map[string]string + func NewMongodbData(statLine *StatLine, tags map[string]string) *MongodbData + func (d *MongodbData) AddDefaultStats() + type NamespacedLocks map[string]LockStatus + type NetworkStats struct + BytesIn int64 + BytesOut int64 + NumRequests int64 + 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 RecordAccesses struct + AccessesNotInMemory int64 + PageFaultExceptionsThrown int64 + type ReplStatus struct + ArbiterOnly interface{} + Hosts []string + IsMaster interface{} + IsReplicaSet interface{} + Me string + Passives []string + Secondary interface{} + SetName interface{} + type Server struct + Session *mgo.Session + Url *url.URL + type ServerStatus struct + Asserts map[string]int64 + BackgroundFlushing *FlushStats + Connections *ConnectionStats + Dur *DurStats + ExtraInfo *ExtraInfo + 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 map[string]string + Uptime int64 + UptimeEstimate int64 + UptimeMillis int64 + Version string + WiredTiger *WiredTiger + type Ssl struct + CaCerts []string + Enabled bool + type StatHeader struct + ActivateFlags int + HeaderText string + type StatLine struct + ActiveReaders int64 + ActiveWriters int64 + CacheDirtyPercent float64 + CacheUsedPercent float64 + CollectionLocks *CollectionLockStatus + Command int64 + CommandR int64 + Delete int64 + DeleteR int64 + Error error + Faults int64 + Flushes int64 + GetMore int64 + GetMoreR int64 + HighestLocked *LockStatus + Host string + Insert int64 + InsertR int64 + IsMongos bool + Key string + LastPrinted time.Time + Mapped int64 + NetIn int64 + NetOut int64 + NodeType string + NonMapped int64 + NumConnections int64 + Query int64 + QueryR int64 + QueuedReaders int64 + QueuedWriters int64 + ReplSetName string + Resident int64 + StorageEngine string + Time time.Time + Update int64 + UpdateR int64 + Virtual int64 + func NewStatLine(oldStat, newStat ServerStatus, key string, all bool, sampleSecs int64) *StatLine + type TransactionStats struct + TransCheckpoints int64 + type WiredTiger struct + Cache CacheStats + Concurrent ConcurrentTransactions + Transaction TransactionStats