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` ClusterType sparkClusterType `yaml:"clusterType" validate:"required"` CollectApplicationMetrics bool `yaml:"collectApplicationMetrics" default:"false"` EnhancedMetrics bool `yaml:"enhancedMetrics" default:"false"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.