Installing on a local Grafana:
For local instances, plugins are installed and updated via a simple CLI command.
Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.
1Install the Data Source
Use the grafana-cli tool to install Sun and Moon from the commandline:
grafana-cli plugins install fetzerch-sunandmoon-datasource
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.
Note: Grafana 3.0 or greater is required to install and use plugins. Download Grafana latest.
2Configure the Data SourceAccessed from the Grafana main menu, newly installed data sources can be added immediately within the section.Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.
To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.