Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongodbCollector ¶
type MongodbCollector struct {
*collector.BaseCollector
}
func NewMongodbCollector ¶
func NewMongodbCollector() *MongodbCollector
type MongodbRule ¶
type MongodbRule struct { Servers []string `` /* 133-byte string literal not displayed */ GatherClusterStatus bool `label:"Cluster status" json:"gather_cluster_status" description:"When true, collect cluster status." default:"true"` GatherPerdbStats bool `label:"Per DB stats" json:"gather_perdb_stats" description:"When true, collect per database stats" default:"false"` GatherColStats bool `label:"Col stats" json:"gather_col_stats" description:"When true, collect per collection stats" default:"false"` ColStatsDbs []string `` /* 175-byte string literal not displayed */ plugins.ClientConfig }
func (*MongodbRule) TelegrafInput ¶
func (p *MongodbRule) TelegrafInput() (telegraf.Input, error)
func (*MongodbRule) Validate ¶
func (p *MongodbRule) Validate() error
Click to show internal directories.
Click to hide internal directories.