Debian Codegraph @

cmd/influx_stress/README.md

raw
1 # `influx_stress`
2
3 If you run into any issues with this tool please mention @jackzampolin when you create an issue.
4
5 ## Ways to run
6
7 ### `influx_stress`
8 This runs a basic stress test with the [default config](https://github.com/influxdata/influxdb/blob/master/stress/stress.toml) For more information on the configuration file please see the default.
9
10 ### `influx_stress -config someConfig.toml`
11 This runs the stress test with a valid configuration file located at `someConfig.tom`
12
13 ### `influx_stress -v2 -config someConfig.iql`
14 This runs the stress test with a valid `v2` configuration file. For more information about the `v2` stress test see the [v2 stress README](https://github.com/influxdata/influxdb/blob/master/stress/v2/README.md).
15
16 ## Flags
17
18 If flags are defined they overwrite the config from any file passed in.
19
20 ### `-addr` string
21 IP address and port of database where response times will persist (e.g., localhost:8086)
22
23 `default` = "http://localhost:8086"
24
25 ### `-config` string
26 The relative path to the stress test configuration file.
27
28 `default` = [config](https://github.com/influxdata/influxdb/blob/master/stress/stress.toml)
29
30 ### `-cpuprofile` filename
31 Writes the result of Go's cpu profile to filename
32
33 `default` = no profiling
34
35 ### `-database` string
36 Name of database on `-addr` that `influx_stress` will persist write and query response times
37
38 `default` = "stress"
39
40 ### `-tags` value
41 A comma separated list of tags to add to write and query response times.
42
43 `default` = ""