Cloud Monitoring: Fix naming and warnings (#82271)

This commit is contained in:
Alyssa Bull
2024-02-09 11:22:44 -07:00
committed by GitHub
parent 7f109c885d
commit 77111a0714
8 changed files with 56 additions and 62 deletions

View File

@@ -16,7 +16,7 @@ func main() {
// from Grafana to create different instances of SampleDatasource (per datasource
// ID). When datasource configuration changed Dispose method will be called and
// new datasource instance created using NewSampleDatasource factory.
if err := datasource.Manage("grafana-cloud-monitoring-datasource", NewDatasource, datasource.ManageOpts{}); err != nil {
if err := datasource.Manage("stackdriver", NewDatasource, datasource.ManageOpts{}); err != nil {
log.DefaultLogger.Error(err.Error())
os.Exit(1)
}