grafana / sqlds

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

Error source #99

Closed scottlepp closed 1 year ago

scottlepp commented 1 year ago

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

scottlepp commented 1 year 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.