Change db flag message

pull/5239/head
Michael Desa 2015-12-29 13:12:05 -08:00
parent ebd9b9978e
commit 7c025d8497
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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)