Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paveldanilin/grafana-backend-plugin-example
Usage of the Grafana plugin SDK
https://github.com/paveldanilin/grafana-backend-plugin-example
datasource grafana grafana-plugin grafana-plugin-sdk pluginv2 sdk
Last synced: 25 days ago
JSON representation
Usage of the Grafana plugin SDK
- Host: GitHub
- URL: https://github.com/paveldanilin/grafana-backend-plugin-example
- Owner: paveldanilin
- Created: 2020-05-31T13:06:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-31T13:07:42.000Z (over 4 years ago)
- Last Synced: 2024-12-23T11:56:25.944Z (28 days ago)
- Topics: datasource, grafana, grafana-plugin, grafana-plugin-sdk, pluginv2, sdk
- Language: Go
- Size: 6.44 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Test resource plugin for Grafana 6.7.x
Just an example of usage [grafana-plugin-sdk](https://github.com/grafana/grafana-plugin-sdk-go) to build a resource plugin.
### Build
`go build -o test-plugin_windows_amd64.exe ./pkg`
### Install
Copy `/dist` folder to a Grafana plugin directory and restart Grafana service.### Test
`http:///api/plugins/grafana-backend-plugin/resources`
The result
```json
{
"code": 3345,
"message": "You are awesome"
}
```