diff --git a/docs/conf.py b/docs/conf.py index e9b237057..54d66105f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ # The short X.Y version. version = '1.10' # The full version, including alpha/beta/rc tags. -release = '1.10.2' +release = '1.10.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/config_reference.rst b/docs/config_reference.rst index 881e1e853..997110bda 100644 --- a/docs/config_reference.rst +++ b/docs/config_reference.rst @@ -988,44 +988,4 @@ Telegraf ``10s`` 10 seconds ``2m`` - 2 minutes - -YASM -==== - -``panels`` (dict) ------------------ -*\- (no description).* **Required.** - -:valueschema: - :schema: - :default_signals: - :default: - True - :type: - boolean - :host: - :required: - True - :type: - string - :signals: - :required: - False - :type: - list - :tags: - :required: - True - :type: - string - :type: - dict - -``timeout`` (integer) ---------------------- -*\- (no description). Default:* ``120`` - -``verbose_logging`` (boolean) ------------------------------ -*\- (no description). Default:* ``False`` \ No newline at end of file + 2 minutes \ No newline at end of file diff --git a/docs/core_and_modules.rst b/docs/core_and_modules.rst index 667bda526..75e852d23 100644 --- a/docs/core_and_modules.rst +++ b/docs/core_and_modules.rst @@ -756,72 +756,53 @@ Disable phantom first (unless you really want to keep it active alongside at you # pandora_config.yml - pools: [{ - "name": "dummy pool", - "gun": {"type": "log"}, - "ammo": { - "type": "dummy/log", - "AmmoLimit": 10000000 - }, - "result": { - "type": "phout", - "destination": "./phout.log" - }, - "shared-limits": false, - "user-limiter": {"type": "unlimited"}, - "startup-limiter": { - "type": "periodic", - "batch": 1, - "max": 5, - "period": "0.5s" - } - } - ] + pools: + - id: HTTP pool # pool name (for your choice) + gun: + type: http # gun type + target: example.com:80 # gun target + ammo: + type: uri # ammo format + file: ./ammo.uri # ammo file path + result: + type: phout # report format (phout is compatible for Yandex.Tank) + destination: ./phout.log # report file name + + rps: # RPS scheduler - controls throughput over test + type: line # linear growth load + from: 1 # from 1 responses per second + to: 5 # to 5 responses per second + duration: 2s # for 2 seconds + + startup: # startup scheduler - control the level of parallelism + type: once # start 5 instances + times: 5 # + + +You may specify pandora config contents in tank's config file via ```config_content``` option. +This option has more priority over config_file option. + +Create ```ammo.uri``` file, put your ammo inside and start the test. -Schedules ---------- - -The first schedule type is ``periodic`` schedule. It is defined as ``periodic(, , )``. -Pandora will issue one batch of size ``batch_size``, once in ``period`` seconds, maximum of ``limit`` ticks. Those ticks may be -used in different places, for example as a limiter for user startups or as a limiter for each user request rate. - -Example: -:: - - startup_schedule = periodic(2, 0.1, 100) - user_schedule = periodic(10, 15, 100) - shared_schedule = 0 - -Start 2 users every 0.1 seconds, 100 batches, maximum of 2 * 100 = 200 users. Each user will issue requests in batches of 10 requests, every 15 seconds, maximum -of 100 requests. All users will read from one ammo source. - -Second schedule type is ``linear``. It is defined like this: ``linear(, ,