hadoopjmx

package
v3.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	genericjmx.Config `yaml:",inline"`
	// Hadoop Node Type
	NodeType nodeType `yaml:"nodeType" validate:"required"`
}

Config is the monitor-specific config with the generic config embedded

func (*Config) Validate

func (c *Config) Validate() error

Validate that the nodeType is one of our defined constants

type Monitor

type Monitor struct {
	*genericjmx.JMXMonitorCore
}

Monitor is the main type that represents the monitor

func (*Monitor) Configure

func (m *Monitor) Configure(conf *Config) error

Configure configures the hadoopjmx monitor and instantiates the generic jmx monitor

Jump to

Keyboard shortcuts

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