Skip to content

paveldanilin/grafana-backend-plugin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test resource plugin for Grafana 6.7.x

Just an example of usage grafana-plugin-sdk 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://<your-grafana-host>/api/plugins/grafana-backend-plugin/resources

The result

{
    "code": 3345,
    "message": "You are awesome"
}

Releases

No releases published

Packages

No packages published

Languages