mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
17 lines
416 B
Go
17 lines
416 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/backend/datasource"
|
|
"github.com/grafana/grafana-plugin-sdk-go/backend/log"
|
|
)
|
|
|
|
func main() {
|
|
// Created as described at https://grafana.com/developers/plugin-tools/introduction/backend-plugins
|
|
if err := datasource.Manage("tempo", NewDatasource, datasource.ManageOpts{}); err != nil {
|
|
log.DefaultLogger.Error(err.Error())
|
|
os.Exit(1)
|
|
}
|
|
}
|