aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/cmd/commands/env.py5
-rw-r--r--yardstick/common/constants.py6
2 files changed, 11 insertions, 0 deletions
diff --git a/yardstick/cmd/commands/env.py b/yardstick/cmd/commands/env.py
index d9c0c0a3f..ed46b84c4 100644
--- a/yardstick/cmd/commands/env.py
+++ b/yardstick/cmd/commands/env.py
@@ -15,3 +15,8 @@ class EnvCommand(object):
url = 'http://localhost:5000/yardstick/env/action'
data = {'action': 'createInfluxDBContainer'}
HttpClient().post(url, data)
+
+ def do_grafana(self, args):
+ url = 'http://localhost:5000/yardstick/env/action'
+ data = {'action': 'createGrafanaContainer'}
+ HttpClient().post(url, data)
diff --git a/yardstick/common/constants.py b/yardstick/common/constants.py
index 8fbc82f0e..07d869755 100644
--- a/yardstick/common/constants.py
+++ b/yardstick/common/constants.py
@@ -8,3 +8,9 @@ DOCKER_URL = 'unix://var/run/docker.sock'
USER = 'root'
PASSWORD = 'root'
DATABASE = 'yardstick'
+
+INFLUXDB_IMAGE = 'tutum/influxdb'
+INFLUXDB_TAG = '0.13'
+
+GRAFANA_IMAGE = 'grafana/grafana'
+GRAFANA_TAGS = '3.1.1'