Skip to content

Instantly share code, notes, and snippets.

@attakei
Last active January 9, 2020 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save attakei/d9b1bbe1dce608873da125d0e624ace3 to your computer and use it in GitHub Desktop.
Save attakei/d9b1bbe1dce608873da125d0e624ace3 to your computer and use it in GitHub Desktop.
# Traial example for yandex-tank
## Usage
```bash
docker-compose run tank
```
version: '2'
services:
tank:
image: direvius/yandex-tank
volumes:
- ./:/var/loadtest
- $SSH_AUTH_SOCK:/ssh-agent
environment:
SSH_AUTH_SOCK: /ssh-agent
phantom:
address: 'google.com:443'
ssl: true
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:
enabled: false # let's disable telegraf monitoring for the first time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment