Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grafana/google-sheets-datasource
Load Google Sheets in grafana
https://github.com/grafana/google-sheets-datasource
Last synced: about 2 months ago
JSON representation
Load Google Sheets in grafana
- Host: GitHub
- URL: https://github.com/grafana/google-sheets-datasource
- Owner: grafana
- License: apache-2.0
- Created: 2020-01-24T04:30:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T10:09:19.000Z (about 2 months ago)
- Last Synced: 2024-07-27T11:10:50.801Z (about 2 months ago)
- Language: Go
- Size: 45.1 MB
- Stars: 126
- Watchers: 128
- Forks: 27
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Google Sheets data source
Visualize your Google Spreadsheets with Grafana
![Visualize temperature date in Grafana Google Spreadsheets data source](https://raw.githubusercontent.com/grafana/google-sheets-datasource/main/src/docs/img/dashboard.png)
![Average temperatures in Google Sheets](https://raw.githubusercontent.com/grafana/google-sheets-datasource/main/src/docs/img/spreadsheet.png)
## Documentation
Check the [docs](https://github.com/grafana/google-sheets-datasource/blob/main/src/README.md) 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:
- [Mage](https://magefile.org/)
- [Yarn](https://yarnpkg.com/)
- [Docker Compose](https://docs.docker.com/compose/)## Running the development version
### Compiling the Backend
If you have made any changes to any `go` files, you can use [mage](https://github.com/magefile/mage) to recompile the plugin.
```sh
mage buildAll
```### Compiling the Frontend
After you made the desired changes, you can build and test the new version of the plugin using `yarn`:
```sh
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:
```sh
docker-compose up
```### Test spreadsheet
Need at publicly available spreadsheet to play around with? Feel free to use [this](https://docs.google.com/spreadsheets/d/1TZlZX67Y0s4CvRro_3pCYqRCKuXer81oFp_xcsjPpe8/edit?usp=sharing) demo spreadsheet that is suitable for visualization in graphs and in tables.