Releases: grafana/sqlds
v3.4.1
What's Changed
- slo - capture query and health duration - label with error source by @scottlepp in #122
Full Changelog: v3.4.0...v3.4.1
v3.4.0
What's Changed
- Docs: Add release instructions by @kevinwcyu in #115
- Return ExecutedQueryString even when an error is returned by @gabor in #117
- capture duration and label with error source by @scottlepp in #116
- test: fix Next() method by @gabor in #120
- unit-tests for zero-rows-returned situations by @gabor in #119
New Contributors
Full Changelog: v3.3.0...v3.4.0
v3.3.0
What's Changed
- Chore: update grafana-plugin-sdk-go to v0.231.0 by @kevinwcyu in #114
New Contributors
- @kevinwcyu made their first contribution in #114
Full Changelog: v3.2.0...v3.3.0
v3.2.0
What's Changed
- Add CODEOWNERS file by @adamyeats in #104
- Add a multi timeseries return format by @iwysiu in #106
- Use functions migrated to sqlutil by @njvrzm in #107
New Contributors
- @adamyeats made their first contribution in #104
- @njvrzm made their first contribution in #107
Full Changelog: v3.1.0...v3.2.0
Compatibility
This release moves some functionality to data/sqlutil
in the plugin sdk. Aliases remain for compatibility but are deprecated. New code should use the functionality in sqlutil
.
v3.1.0
v3.0.0
Fix bug with macros
Macros now handle multi param function args.
Before if your macro was select * from foo where $__params(FUNC(foo, bar))
it would parse the macro params as ["FUNC(foo", "bar)"]
It will now parse the params as ["FUNC(foo, bar)"]
Improve Query testing with QueryFailTimes
Adds a QueryFailTimes option to the DriverOpts so testing a query failing a certain number of times only becomes possible
Test driver
Adds a test driver for testing scenarios that are difficult to reproduce with a real database
Query errors
Adds a flag to return all query errors so health check shows more detail