Documentation ¶
Overview ¶
Package mongodb is a Metricbeat module that contains MetricSets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetMongodb ¶
func AssetMongodb() string
AssetMongodb returns asset data. This is the base64 encoded gzipped contents of ../metricbeat/module/mongodb.
func NewDirectSession ¶
NewDirectSession estbalishes direct connections with a list of hosts. It uses the supplied dialInfo parameter as a template for establishing more direct connections
Types ¶
type MetricSet ¶
type MetricSet struct { mb.BaseMetricSet DialInfo *mgo.DialInfo }
MetricSet type defines all fields of the MetricSet
func NewMetricSet ¶
func NewMetricSet(base mb.BaseMetricSet) (*MetricSet, error)
NewMetricSet creates a new instance of the MetricSet
type ModuleConfig ¶
ModuleConfig contains the common configuration for this module
Click to show internal directories.
Click to hide internal directories.