Documentation ¶
Index ¶
- Variables
- func NewCloudWatchApmPlugin(log hclog.Logger) apm.APM
- type CloudWatchApmPlugin
- func (p *CloudWatchApmPlugin) PluginInfo() (*base.PluginInfo, error)
- func (p *CloudWatchApmPlugin) Query(q string, r sdk.TimeRange) (sdk.TimestampedMetrics, error)
- func (p *CloudWatchApmPlugin) QueryMultiple(q string, r sdk.TimeRange) ([]sdk.TimestampedMetrics, error)
- func (p *CloudWatchApmPlugin) SetConfig(config map[string]string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginID = plugins.PluginID{ Name: pluginName, PluginType: sdk.PluginTypeAPM, } PluginConfig = &plugins.InternalPluginConfig{ Factory: func(l hclog.Logger) interface{} { return NewCloudWatchApmPlugin(l) }, } )
Functions ¶
Types ¶
type CloudWatchApmPlugin ¶
type CloudWatchApmPlugin struct {
// contains filtered or unexported fields
}
func (*CloudWatchApmPlugin) PluginInfo ¶
func (p *CloudWatchApmPlugin) PluginInfo() (*base.PluginInfo, error)
func (*CloudWatchApmPlugin) Query ¶
func (p *CloudWatchApmPlugin) Query(q string, r sdk.TimeRange) (sdk.TimestampedMetrics, error)
func (*CloudWatchApmPlugin) QueryMultiple ¶
func (p *CloudWatchApmPlugin) QueryMultiple(q string, r sdk.TimeRange) ([]sdk.TimestampedMetrics, error)
Click to show internal directories.
Click to hide internal directories.