Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sol1 Ansible Roles
sol1-influxdb
Commits
22fb3104
Commit
22fb3104
authored
Jan 27, 2016
by
Ross McDonald
Browse files
Updated stress command to send results data to specified endpoint.
parent
5c70b92e
Changes
2
Show whitespace changes
Inline
Side-by-side
tasks/stress.yml
View file @
22fb3104
...
...
@@ -8,11 +8,11 @@
when
:
influxdb_run_stress
-
name
:
Run stress tool
command
:
influx_stress -config {{ influxdb_configuration_dir }}/stress.toml
command
:
influx_stress -config {{ influxdb_configuration_dir }}/stress.toml
{% if influxdb_stress_metric_endpoint != None %}-addr "{{ influxdb_stress_metric_endpoint }}" {% endif %}{% if influxdb_stress_metric_database != None %}-database "{{ influxdb_stress_metric_database }}" {% endif %}{% if influxdb_stress_metric_tags != None %}-tags "{{ influxdb_stress_metric_tags }}" {% endif %}
register
:
influx_stress_run
when
:
influxdb_run_stress
-
name
:
Display
run
output
-
name
:
Display
stress results
output
debug
:
var
:
influx_stress_run.stdout
when
:
influxdb_run_stress
vars/main.yml
View file @
22fb3104
...
...
@@ -22,6 +22,12 @@ influxdb_template_configuration: yes
# If yes, will run a templatized stress test against a target instance
influxdb_run_stress
:
no
# Destination for influx_stress metrics (ie http://localhost:8086)
influxdb_stress_metric_endpoint
:
# Destination database for influx_stress metrics
influxdb_stress_metric_database
:
# Tag string to pass to influx_stress (ie tag1=orange,tag2=banana)
influxdb_stress_metric_tags
:
# If supplied, will check for presence of database, and error if not found (useful for upgrade
# testing).
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment