Add ElasticSearch exporter plugin

This elastic search exporter plugin allows user to export
results directly to the elasticsearch or dump to the ifle.
The implementation of this plugin is similar to other
exporters that user can call simply from command line, like:

   rally task export --type elasticsearch --to ./results_dump.txt

  or

   rally task export --type elasticsearch --to https://user:pass@xxx.com

Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com>

Change-Id: I59e8eeaaf666708923df98018c01ebfed4a0cc39
This commit is contained in:
Amy Ge 2017-07-27 19:34:46 -07:00 committed by Boris Pavlovic
parent 52c4a0b27b
commit cea0886286
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ alembic>=0.8.10,<=0.9.5 # MIT
decorator>=3.4.0,<=4.1.2 # new BSD License
Jinja2>=2.8,!=2.9.0,!=2.9.1,!=2.9.2,!=2.9.3,!=2.9.4,<=2.9.6 # BSD
jsonschema>=2.0.0,!=2.5.0,<3.0.0 # MIT
morph
netaddr>=0.7.13,!=0.7.16,<=0.7.19 # BSD
oslo.config>=4.0.0,!=4.3.0,!=4.4.0,<=4.12.0 # Apache Software License
oslo.db>=4.24.0,<=4.26.0 # Apache Software License

View File

@ -138,6 +138,8 @@ function run () {
gzip -9 rally-plot/new_results.json
rally task export --type junit-xml --to rally-plot/junit.xml
gzip -9 rally-plot/junit.xml
rally task export --type elastic --to rally-plot/elasticsearch.txt
gzip -9 rally-plot/elasticsearch.txt
# NOTE(stpierre): if the sla check fails, we still want osresources.py
# to run, so we turn off -e and save the return value