By default same value that was hardcoded is used, but with the
new flag added the number of scrapes can be increased to any value.
Signed-off-by: Pau Freixes <pfreixes@gmail.com>
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()