aboutsummaryrefslogtreecommitdiffstats
path: root/api/resources/write_hosts.py
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2018-12-18 18:26:23 +0000
committerEmma Foley <emma.l.foley@intel.com>2019-02-11 11:53:27 +0000
commit4ac123951f5571d44ec01b680941b95203653c64 (patch)
treec489ccc1bcaab40a3da1a894dc645bca174b7156 /api/resources/write_hosts.py
parent0738c2544e3220a3e0fd80a77ab1f2800f90533e (diff)
Add ability to get data from different DBs in influx
In order to get data from Barometer, the influx helper need to be updated to recognise different DBs. This patch adds an optional arg to specify which database to use. By default, the configured dispatcher for Yardstick is used. Limitation: The new change hard codes barometer DB name to be used, and assumes that it is in the same instance of Influx as the Yardstick dispatcher. This can be extended later to make it configurable, however, a new config option would have to be introduced. JIRA: YARDSTICK-1593 Change-Id: Idee9c3491d6bf7b549e014edd9ff031312cf0ec2 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'api/resources/write_hosts.py')
0 files changed, 0 insertions, 0 deletions