Skip to content

Commit

Permalink
Fix tutorial config indents
Browse files Browse the repository at this point in the history
  • Loading branch information
direvius committed Apr 25, 2018
1 parent 4757b3d commit 985f7d9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Create a file on a server with Yandex.Tank: **load.yaml**
.. code-block:: yaml
phantom:
address: 203.0.113.1:80 # [Target's address]:[target's port]
uris:
- /
load_profile:
load_type: rps # schedule load by defining requests per second
schedule: line(1, 10, 10m) # starting from 1rps growing linearly to 10rps during 10 minutes
address: 203.0.113.1:80 # [Target's address]:[target's port]
uris:
- /
load_profile:
load_type: rps # schedule load by defining requests per second
schedule: line(1, 10, 10m) # starting from 1rps growing linearly to 10rps during 10 minutes
console:
enabled: true # enable console output
telegraf:
Expand Down Expand Up @@ -74,13 +74,13 @@ have following lines:
.. code-block:: yaml
phantom:
address: 203.0.113.1:80 # [Target's address]:[target's port]
uris:
- /uri1
- /uri2
load_profile:
load_type: rps # schedule load by defining requests per second
schedule: const(10, 10m) # starting from 1rps growing linearly to 10rps during 10 minutes
address: 203.0.113.1:80 # [Target's address]:[target's port]
uris:
- /uri1
- /uri2
load_profile:
load_type: rps # schedule load by defining requests per second
schedule: const(10, 10m) # starting from 1rps growing linearly to 10rps during 10 minutes
console:
enabled: true # enable console output
telegraf:
Expand Down Expand Up @@ -381,9 +381,9 @@ Now, our basic config looks like that:
phantom:
address: 203.0.113.1:443
load_profile:
load_type: rps
schedule: line(1, 10, 10m)
load_profile:
load_type: rps
schedule: line(1, 10, 10m)
ssl: true
.. note::
Expand Down

0 comments on commit 985f7d9

Please sign in to comment.