From bbb6ad1b3f5a1d83c20ef0e81ed58a1183a81e7d Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 10 Oct 2016 14:21:13 +0800 Subject: [PATCH] Enable Gnocchi plugin in grafana With this plugin, we can show the gnocchi data in grafana. TrivialFix Change-Id: Ib93ae79f1048566626f319063f4fcaec6f151a52 --- docker/grafana/Dockerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/grafana/Dockerfile.j2 b/docker/grafana/Dockerfile.j2 index e2be9d6c2c..7d03bcd49f 100644 --- a/docker/grafana/Dockerfile.j2 +++ b/docker/grafana/Dockerfile.j2 @@ -8,7 +8,8 @@ MAINTAINER {{ maintainer }} {% set grafana_packages = ['grafana'] %} {{ macros.install_packages(grafana_packages | customizable("packages")) }} -RUN usermod -a -G kolla grafana +RUN usermod -a -G kolla grafana \ + && grafana-cli plugins install sileht-gnocchi-datasource WORKDIR /usr/share/grafana