Skip to content

Commit

Permalink
influx plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
direvius committed Jan 18, 2016
1 parent 6911046 commit 7d11f17
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,40 @@ Options
* **web_port** - graphite frontend port, default: 8080
* **template** - template file. Default: Tank/Plugins/graphite.tpl

InfluxDB
^^^^^^^^
Influx uplink plugin uploads data to `InfluxDB <https://influxdata.com>`_ storage.
Different tests will be tagged with unique IDs.

Configuration:

::

[tank]
; Enable InfluxDB plugin:
plugin_influx=yandextank.plugins.InfluxUplink

[influx]
; Tank name (to distinguish data from different tanks):
tank_tag = MyTank
; Address and of InfluxDB instance:
address = example.org
port = 8086

; If you have grafana connected to your InfluxDB, you
; can specify grafana parameters and tank will generate
; a link to your test:
grafana_root = http://example.org/grafana/
grafana_dashboard=tank-dashboard

Options
'''''''

* **address** - graphite server
* **port** - graphite backend port (where to send data), default: 2003
* **web_port** - graphite frontend port, default: 8080
* **template** - template file. Default: Tank/Plugins/graphite.tpl

Loadosophia
^^^^^^^^^^^
When test has been finished, module upload to Loadosophia.org test artifacts: file with answer times and files with monitoring data. The link will be shown in console output.
Expand Down
2 changes: 1 addition & 1 deletion yandextank/plugins/InfluxUplink/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, core):
self.decoder = None

def get_available_options(self):
return ["address", "port", "tank_tag"]
return ["address", "port", "tank_tag", "grafana_root", "grafana_dashboard"]

def start_test(self):
self.start_time = datetime.datetime.now()
Expand Down

0 comments on commit 7d11f17

Please sign in to comment.