Change db flag message
parent
ebd9b9978e
commit
7c025d8497
|
@ -12,7 +12,7 @@ import (
|
|||
var (
|
||||
config = flag.String("config", "", "The stress test file")
|
||||
cpuprofile = flag.String("cpuprofile", "", "Write the cpu profile to `filename`")
|
||||
db = flag.String("db", "", "name of the database where the stress test will take place")
|
||||
db = flag.String("db", "", "target database within test system for write and query load")
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -662,7 +662,7 @@ func (o *outputConfig) HTTPHandler(method string) func(r <-chan response, rt *Ti
|
|||
tags := o.tags
|
||||
tags["method"] = method
|
||||
fields := map[string]interface{}{
|
||||
"response_time": p.Timer.Elapsed(),
|
||||
"response_time": float64(p.Timer.Elapsed()),
|
||||
}
|
||||
pt, _ := client.NewPoint("performance", tags, fields, p.Time)
|
||||
bp.AddPoint(pt)
|
||||
|
|
Loading…
Reference in New Issue