Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `yaml:",inline" acceptsEndpoints:"true"` Host string `yaml:"host" validate:"required"` Port uint16 `yaml:"port" validate:"required"` // Set to `true` when monitoring a master Spark node IsMaster bool `yaml:"isMaster" default:"false"` // Should be one of `Standalone` or `Mesos` or `Yarn`. Cluster metrics will // not be collected on Yarn. Please use the collectd/hadoop monitor to gain // insights to your cluster's health. ClusterType sparkClusterType `yaml:"clusterType" validate:"required"` CollectApplicationMetrics *bool `yaml:"collectApplicationMetrics" default:"false"` EnhancedMetrics *bool `yaml:"enhancedMetrics" default:"false"` // contains filtered or unexported fields }
Config is the monitor-specific config with the generic config embedded
func (*Config) PythonConfig ¶
PythonConfig returns the embedded python.Config struct from the interface
Click to show internal directories.
Click to hide internal directories.