Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComputeEnginePlugin ¶
type ComputeEnginePlugin struct { Project string InstanceName string MonitoringService *monitoring.Service Option *Option Tempfile string }
ComputeEnginePlugin is mackerel plugin for Google Compute Engine
func (ComputeEnginePlugin) FetchMetrics ¶
func (p ComputeEnginePlugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics fetches metrics from Google Monitoring API
func (ComputeEnginePlugin) GraphDefinition ¶
func (p ComputeEnginePlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition is return graphdef
Click to show internal directories.
Click to hide internal directories.