Documentation ¶
Index ¶
- Variables
- func NewPrometheusPlugin(log hclog.Logger) apm.APM
- type APMPlugin
- func (a *APMPlugin) PluginInfo() (*base.PluginInfo, error)
- func (a *APMPlugin) Query(q string, r sdk.TimeRange) (sdk.TimestampedMetrics, error)
- func (a *APMPlugin) QueryMultiple(q string, r sdk.TimeRange) ([]sdk.TimestampedMetrics, error)
- func (a *APMPlugin) 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 NewPrometheusPlugin(l) }, } )
Functions ¶
Types ¶
type APMPlugin ¶
type APMPlugin struct {
// contains filtered or unexported fields
}
func (*APMPlugin) PluginInfo ¶
func (a *APMPlugin) PluginInfo() (*base.PluginInfo, error)
func (*APMPlugin) QueryMultiple ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.