mongodb

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL