tsdbBenchWriteCmd:=tsdbBenchCmd.Command("write","Run a write performance benchmark.")
benchWriteOutPath:=tsdbBenchWriteCmd.Flag("out","Set the output path.").Default("benchout").String()
benchWriteNumMetrics:=tsdbBenchWriteCmd.Flag("metrics","Number of metrics to read.").Default("10000").Int()
benchWriteNumScrapes:=tsdbBenchWriteCmd.Flag("scrapes","Number of scrapes to simulate.").Default("3000").Int()
benchSamplesFile:=tsdbBenchWriteCmd.Arg("file","Input file with samples data, default is ("+filepath.Join("..","..","tsdb","testdata","20kseries.json")+").").Default(filepath.Join("..","..","tsdb","testdata","20kseries.json")).String()