From cea08862868dbbdb0c4ea93c56990db65b8998f7 Mon Sep 17 00:00:00 2001 From: Amy Ge Date: Thu, 27 Jul 2017 19:34:46 -0700 Subject: [PATCH] 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 Change-Id: I59e8eeaaf666708923df98018c01ebfed4a0cc39 --- requirements.txt | 1 + tests/ci/rally_gate_functions.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 875f97c4..7b0e75a1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/tests/ci/rally_gate_functions.sh b/tests/ci/rally_gate_functions.sh index c693cca9..3974453f 100644 --- a/tests/ci/rally_gate_functions.sh +++ b/tests/ci/rally_gate_functions.sh @@ -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