Documentation ¶
Index ¶
Constants ¶
View Source
const (
NamespaceProxy = "proxy"
)
Variables ¶
View Source
var InfoConfigPath string
Functions ¶
func LoadConfig ¶
func LoadConfig() error
func NewPikaExporter ¶
Types ¶
type InfoConfig ¶
type InfoConfig struct { Server bool `toml:"server"` Data bool `toml:"data"` Clients bool `toml:"clients"` Stats bool `toml:"stats"` CPU bool `toml:"cpu"` Replication bool `toml:"replication"` Keyspace bool `toml:"keyspace"` Execcount bool `toml:"execcount"` Commandstats bool `toml:"commandstats"` Rocksdb bool `toml:"rocksdb"` Cache bool `toml:"cache"` Info bool InfoAll bool }
var InfoConf *InfoConfig
func (*InfoConfig) CheckInfo ¶
func (c *InfoConfig) CheckInfo()
Click to show internal directories.
Click to hide internal directories.