jolokia_agent

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	config.InstanceConfig

	URLs            []string               `toml:"urls"`
	Username        string                 `toml:"username"`
	Password        string                 `toml:"password"`
	ResponseTimeout config.Duration        `toml:"response_timeout"`
	Metrics         []jolokia.MetricConfig `toml:"metric"`

	DefaultTagPrefix      string `toml:"default_tag_prefix"`
	DefaultFieldPrefix    string `toml:"default_field_prefix"`
	DefaultFieldSeparator string `toml:"default_field_separator"`

	tls.ClientConfig
	// contains filtered or unexported fields
}

func (*Instance) Gather

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

func (*Instance) Init

func (ins *Instance) Init() error

type JolokiaAgent

type JolokiaAgent struct {
	config.PluginConfig
	Instances []*Instance `toml:"instances"`
}

func (*JolokiaAgent) Clone

func (r *JolokiaAgent) Clone() inputs.Input

func (*JolokiaAgent) GetInstances

func (r *JolokiaAgent) GetInstances() []inputs.Instance

func (*JolokiaAgent) Name

func (r *JolokiaAgent) Name() string

Jump to

Keyboard shortcuts

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