From 077e0003d41746a0052564ee1487d981f125cec9 Mon Sep 17 00:00:00 2001 From: Dawud Date: Thu, 14 Mar 2024 13:21:57 +0000 Subject: Change logic for plugins in grafana image build Co-authored-by: Will Szumski Change-Id: I2b1c95395aeefb2ccb1d8edf415eee0f98c52190 --- doc/source/admin/image-building.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/source/admin') diff --git a/doc/source/admin/image-building.rst b/doc/source/admin/image-building.rst index f0c0e84c1..9f47d4701 100644 --- a/doc/source/admin/image-building.rst +++ b/doc/source/admin/image-building.rst @@ -298,6 +298,23 @@ To remove a package from that list, say ``locales``, one would do: # Horizon {% set horizon_packages_remove = ['locales'] %} +An example of this is the Grafana plugins, which are mentioned in the next +section. + +Grafana plugins +^^^^^^^^^^^^^^^ + +Additional Grafana plugins can be installed by adding the plugin name to the +``grafana_plugins_append`` list. Plugins can also be removed by adding the +plugin name to the ``grafana_plugins_remove`` list. Additionally the entire +list can be overridden by setting the ``grafana_plugins_override`` variable. + +.. code-block:: ini + + grafana_plugins_append: + - grafana-piechart-panel + - vonage-status-panel + Python packages build options ----------------------------- @@ -401,6 +418,7 @@ Some of these plugins used to be enabled by default but, due to their release characteristic, have been excluded from the default builds. Please read the included ``README.rst`` to learn how to apply them. + Additions functionality ----------------------- -- cgit v1.2.3