influxdb/cmd/influx_stress
Jonathan A. Sternberg 477d6231db Update source files to pass vet checks for go 1.7
The vet checks for some files did not pass for go 1.7. As part of a
preliminary start to making go 1.7 work with this software, go vet
should pass.

Also updated the gogo/protobuf dependency which fixed the code generator
to work with go 1.7 too. Ran `go generate` on the entire repository to
ensure every file was up to date.
2016-09-14 15:01:22 -05:00
..
examples Add querying across cluster 2015-12-02 14:49:23 -08:00
README.md Add v2 stress test 2016-04-21 11:03:43 -07:00
influx_stress.go Update source files to pass vet checks for go 1.7 2016-09-14 15:01:22 -05:00

README.md

influx_stress

If you run into any issues with this tool please mention @jackzampolin when you create an issue.

Ways to run

influx_stress

This runs a basic stress test with the default config For more information on the configuration file please see the default.

influx_stress -config someConfig.toml

This runs the stress test with a valid configuration file located at someConfig.tom

influx_stress -v2 -config someConfig.iql

This runs the stress test with a valid v2 configuration file. For more information about the v2 stress test see the v2 stress README.

Flags

If flags are defined they overwrite the config from any file passed in.

-addr string

IP address and port of database where response times will persist (e.g., localhost:8086)

default = "http://localhost:8086"

-config string

The relative path to the stress test configuration file.

default = config

-cpuprofile filename

Writes the result of Go's cpu profile to filename

default = no profiling

-database string

Name of database on -addr that influx_stress will persist write and query response times

default = "stress"

-tags value

A comma separated list of tags to add to write and query response times.

default = ""