grafana / sqlds

A package that assists writing SQL-driven datasources
Apache License 2.0
17 stars 12 forks source link

Healthcheck fails when Connect throws error #44

Closed yesoreyeram closed 1 month ago

yesoreyeram commented 3 years ago

After migrating to the managed data source, CheckHealth doesn't throw an actual health check error if the Connect throws an error. If the Connect method throws error, healthcheck failed with the generic error message Plugin health check failed

image

shelldandy commented 1 month ago

Seems like this has been fixed for a while in https://github.com/grafana/grafana-plugin-sdk-go/pull/389