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"` // Cluster name of this solr cluster. Cluster string `yaml:"cluster"` // EnhancedMetrics boolean to indicate whether stats from /metrics are needed EnhancedMetrics *bool `yaml:"enhancedMetrics" default:"false"` // IncludeMetrics metric names from the /admin/metrics endpoint to include (valid when EnhancedMetrics is "false") IncludeMetrics []string `yaml:"includeMetrics"` // ExcludeMetrics metric names from the /admin/metrics endpoint to exclude (valid when EnhancedMetrics is "true") ExcludeMetrics []string `yaml:"excludeMetrics"` // 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.