appdynamics

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDynamics

type AppDynamics struct {
	config.PluginConfig

	Instances []*Instance `toml:"instances"`
}

func (*AppDynamics) Clone

func (ad *AppDynamics) Clone() inputs.Input

func (*AppDynamics) Drop

func (ad *AppDynamics) Drop()

func (*AppDynamics) GetInstances

func (ad *AppDynamics) GetInstances() []inputs.Instance

func (*AppDynamics) Name

func (ad *AppDynamics) Name() string

type Instance

type Instance struct {
	config.InstanceConfig

	config.HTTPProxy
	URLBase   string              `toml:"url_base"`
	URLVars   []map[string]string `toml:"url_vars"`
	URLVarKey []string            `toml:"url_var_label_keys"`

	URLs            []string          `toml:"-"`
	Headers         map[string]string `toml:"headers"`
	Method          string            `toml:"method"`
	FollowRedirects bool              `toml:"follow_redirects"`
	Username        string            `toml:"username"`
	Password        string            `toml:"password"`

	Period    config.Duration `toml:"period"`
	Delay     config.Duration `toml:"delay"`
	Timeout   config.Duration `toml:"timeout"`
	Precision string          `toml:"precision"`

	Filters []string `toml:"filters"`

	RequestInflight      int `toml:"request_inflight"`
	ForceRequestInflight int `toml:"force_request_inflight"`

	tls.ClientConfig

	config.UrlLabel
	// contains filtered or unexported fields
}

func (*Instance) Drop

func (ins *Instance) Drop()

func (*Instance) Gather

func (ins *Instance) Gather(slist *types.SampleList)

func (*Instance) Init

func (ins *Instance) Init() error

type Metric

type Metric struct {
	ID   int    `json:"metricId"`
	Name string `json:"metricName"`
	Path string `json:"metricPath"`

	Values []MetricValue `json:"metricValues"`
}

type MetricValue

type MetricValue struct {
	Timestamp int64 `json:"startTimeInMillis"`

	Current float64 `json:"current"`
	Min     float64 `json:"min"`
	Max     float64 `json:"max"`
	Count   float64 `json:"count"`
	Sum     float64 `json:"sum"`
	Value   float64 `json:"value"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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