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