Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitStat ¶
func InitStat(statsCfg *StatsConfig)
func LogAerospikeErrorStats ¶
func LogAerospikeErrorStats()
func LogCacheFailedGetStats ¶
func LogCacheFailedGetStats(errorString string)
func LogCacheFailedPutStats ¶
func LogCacheFailedPutStats(errorString string)
func LogCacheMissStats ¶
func LogCacheMissStats()
func LogCacheRequestedGetStats ¶
func LogCacheRequestedGetStats()
func LogCacheRequestedPutStats ¶
func LogCacheRequestedPutStats()
Types ¶
type StatsConfig ¶
type StatsConfig struct { Host string `mapstructure:"host"` Port string `mapstructure:"port"` DCName string `mapstructure:"dc_name"` DefaultHostName string `mapstructure:"default_hostname"` UseHostName bool `mapstructure:"use_hostname"` PublishInterval int `mapstructure:"publish_interval"` PublishThreshold int `mapstructure:"publish_threshold"` Retries int `mapstructure:"retries"` DialTimeout int `mapstructure:"dial_timeout"` KeepAliveDuration int `mapstructure:"keep_alive_duration"` MaxIdleConnections int `mapstructure:"max_idle_connections"` MaxIdleConnectionsPerHost int `mapstructure:"max_idle_connections_per_host"` }
Click to show internal directories.
Click to hide internal directories.