]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Improves documentation for Grafana Setting 24511/head
authorKanika Murarka <kmurarka@redhat.com>
Wed, 10 Oct 2018 07:34:22 +0000 (13:04 +0530)
committerKanika Murarka <kmurarka@redhat.com>
Thu, 11 Oct 2018 09:49:44 +0000 (15:19 +0530)
Fixes: http://tracker.ceph.com/issues/36371
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
doc/mgr/dashboard.rst

index 26538382ff959524f4a42323bc83bb5bca5daae4..5473a7cbdeb9e03fc4628180063856c60be808a4 100644 (file)
@@ -261,7 +261,8 @@ Grafana on your preferred hosts, proceed with the following steps.
 
     $ ceph mgr module enable prometheus
 
-More details can be found on the `documentation <http://docs.ceph.com/docs/master/mgr/prometheus/>`_ of the prometheus module.
+More details can be found on the `documentation <http://docs.ceph.com/docs/master/
+mgr/prometheus/>`_ of the prometheus module.
 
 #. Add the corresponding scrape configuration to Prometheus. This may look
    like::
@@ -287,7 +288,19 @@ More details can be found on the `documentation <http://docs.ceph.com/docs/maste
         grafana-cli plugins install vonage-status-panel
         grafana-cli plugins install grafana-piechart-panel
 
-#. Add the Dashboards to Grafana by importing them
+#. Add the Dashboards to Grafana:
+
+   Dashboards can be added to Grafana by importing dashboard jsons. 
+   Following command can be used for downloading json files::
+       
+       wget https://raw.githubusercontent.com/ceph/ceph/master/monitoring/grafana/dashboards/<Dashboard-name>.json
+
+   You can find all the dashboard jsons `here <https://github.com/ceph/ceph/tree/
+   master/monitoring/grafana/dashboards>`_ .
+
+   For Example, for ceph-cluster overview you can use::
+       
+        wget https://raw.githubusercontent.com/ceph/ceph/master/monitoring/grafana/dashboards/ceph-cluster.json
 
 #. Configure Grafana in `/etc/grafana/grafana.ini` to adapt anonymous mode::