Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoDBPlugin ¶
type MongoDBPlugin struct { URL string Username string Password string Source string KeyPrefix string Verbose bool }
MongoDBPlugin mackerel plugin for mongo
func (MongoDBPlugin) FetchMetrics ¶
func (m MongoDBPlugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics interface for mackerelplugin
func (MongoDBPlugin) GraphDefinition ¶
func (m MongoDBPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition interface for mackerelplugin
func (MongoDBPlugin) LabelPrefix ¶ added in v0.73.0
func (m MongoDBPlugin) LabelPrefix() string
func (MongoDBPlugin) MetricKeyPrefix ¶ added in v0.73.0
func (m MongoDBPlugin) MetricKeyPrefix() string
MetricKeyPrefix returns the metrics key prefix
Click to show internal directories.
Click to hide internal directories.