Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPointBuilder ¶
Types ¶
type ClientConfig ¶
type ClientConfig struct { ResponseTimeout time.Duration Username string Password string Origin string ProxyConfig *ProxyConfig tls.ClientConfig }
type Gatherer ¶
type Gatherer struct {
// contains filtered or unexported fields
}
func NewGatherer ¶
type Metric ¶
type Metric struct { Name string Mbean string Paths []string FieldName string FieldPrefix string FieldSeparator string TagPrefix string TagKeys []string // contains filtered or unexported fields }
A Metric represents a specification for a Jolokia read request, and the transformations to apply to points generated from the responses.
func NewMetric ¶
func NewMetric(config MetricConfig, defaultFieldPrefix, defaultFieldSeparator, defaultTagPrefix string) Metric
func (Metric) MatchAttributeAndPath ¶
func (Metric) MatchObjectName ¶
type MetricConfig ¶
type MetricConfig struct { Name string Mbean string Paths []string FieldName *string FieldPrefix *string FieldSeparator *string TagPrefix *string TagKeys []string }
A MetricConfig represents a TOML form of a Metric with some optional fields.
type ProxyConfig ¶
type ProxyConfig struct { DefaultTargetUsername string DefaultTargetPassword string Targets []ProxyTargetConfig }
type ProxyTargetConfig ¶
type ReadRequest ¶
Click to show internal directories.
Click to hide internal directories.