grafana / sqlds

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

Error source #99

Closed scottlepp closed 10 months ago

scottlepp commented 11 months ago

define a default error source for SLOs. these can be overridden from the plugin

scottlepp commented 10 months ago

@cletter7 these are defaults. If you return a pluginerror from the connect method of the plugin, it will override the default that is defined here. I think its unlikely that by the time the plugin is released and battle tested that it will have implementation errors when connecting to a sql database, but yes it's possible and you can override the default.