Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerPlugin ¶
type DockerPlugin struct { Host string Tempfile string Method string NameFormat string Label string UseCPUPercentage bool // contains filtered or unexported fields }
DockerPlugin mackerel plugin for docker
func (DockerPlugin) FetchMetrics ¶
func (m DockerPlugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics interface for mackerel plugin
func (DockerPlugin) FetchMetricsWithAPI ¶
func (m DockerPlugin) FetchMetricsWithAPI(containers []docker.APIContainers) (map[string]interface{}, error)
FetchMetricsWithAPI use docker API to fetch metrics
func (DockerPlugin) GraphDefinition ¶
func (m DockerPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition interface for mackerel plugin
Click to show internal directories.
Click to hide internal directories.