grafana / google-sheets-datasource

The Google Sheets data source plugin allows you to visualize Google Spread Sheets data in a Grafana dashboards.
https://grafana.com/docs/plugins/grafana-googlesheets-datasource/latest/
Apache License 2.0
161 stars 28 forks source link
google-sheets-datasource google-sheets-plugin grafana grafana-datasource grafana-plugins

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

For the plugin documentation, visit plugin documentation website.

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.