Skip to content

grafana/google-sheets-datasource

Google Sheets data source

Visualize your Google Spreadsheets with Grafana

Visualize temperature date in Grafana Google Spreadsheets data source

Average temperatures in Google Sheets

Documentation

Check the docs for information on how to use the data source.

Development guide

This is a basic guide on how to set up your local environment, make the desired changes and see the result with a fresh Grafana installation.

Requirements

You need to install the following first:

Running the development version

Compiling the Backend

If you have made any changes to any go files, you can use mage to recompile the plugin.

mage buildAll

Compiling the Frontend

After you made the desired changes, you can build and test the new version of the plugin using yarn:

yarn run dev # builds and puts the output at ./dist

The built plug-in will be in the dist/ directory.

Docker Compose

To test the plug-in running inside Grafana, we recommend using our Docker Compose setup:

docker-compose up

Test spreadsheet

Need at publicly available spreadsheet to play around with? Feel free to use this demo spreadsheet that is suitable for visualization in graphs and in tables.