Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PDAddr string StatusAddr string Log log.Config `toml:"log" json:"log"` Logger *zap.Logger LogProps *log.ZapProperties StoreCount int `toml:"store-count" json:"store-count"` RegionCount int `toml:"region-count" json:"region-count"` KeyLength int `toml:"key-length" json:"key-length"` Replica int `toml:"replica" json:"replica"` LeaderUpdateRatio float64 `toml:"leader-update-ratio" json:"leader-update-ratio"` EpochUpdateRatio float64 `toml:"epoch-update-ratio" json:"epoch-update-ratio"` SpaceUpdateRatio float64 `toml:"space-update-ratio" json:"space-update-ratio"` FlowUpdateRatio float64 `toml:"flow-update-ratio" json:"flow-update-ratio"` Sample bool `toml:"sample" json:"sample"` Round int `toml:"round" json:"round"` // contains filtered or unexported fields }
Config is the heartbeat-bench configuration.
Click to show internal directories.
Click to hide internal directories.