Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresPlugin ¶
type PostgresPlugin struct { Host string Port string Username string Password string SSLmode string Prefix string Timeout int Tempfile string Option string }
PostgresPlugin mackerel plugin for PostgreSQL
func (PostgresPlugin) FetchMetrics ¶
func (p PostgresPlugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics interface for mackerelplugin
func (PostgresPlugin) GraphDefinition ¶
func (p PostgresPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition interface for mackerelplugin
func (PostgresPlugin) MetricKeyPrefix ¶ added in v0.29.0
func (p PostgresPlugin) MetricKeyPrefix() string
MetricKeyPrefix retruns the metrics key prefix
Click to show internal directories.
Click to hide internal directories.