Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf conf Conf = &Config{} )
Functions ¶
Types ¶
type Collectors ¶
type Collectors struct {
Nodes []string `toml:"nodes"`
}
Collectors collector config
type Config ¶
type Config struct { Log *log.Config `toml:"log"` HBase *HBaseConfig `toml:"hbase"` InfluxDB *InfluxDBConfig `toml:"influx_db"` OpsLog *OpsLog `toml:"ops_log"` Collectors *Collectors `toml:"collectors"` }
Config config.
type HBaseConfig ¶
type HBaseConfig struct { Namespace string `toml:"namespace"` Addrs string `toml:"addrs"` RPCQueueSize int `toml:"rpc_queue_size"` FlushInterval xtime.Duration `toml:"flush_interval"` EffectiveUser string `toml:"effective_user"` RegionLookupTimeout xtime.Duration `toml:"region_lookup_timeout"` RegionReadTimeout xtime.Duration `toml:"region_read_timeout"` }
HBaseConfig hbase config
Click to show internal directories.
Click to hide internal directories.