plugin

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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

func NewCloudWatchApmPlugin

func NewCloudWatchApmPlugin(log hclog.Logger) apm.APM

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 (*CloudWatchApmPlugin) QueryMultiple

func (p *CloudWatchApmPlugin) QueryMultiple(q string, r sdk.TimeRange) ([]sdk.TimestampedMetrics, error)

func (*CloudWatchApmPlugin) SetConfig

func (p *CloudWatchApmPlugin) SetConfig(config map[string]string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL