sqlds

A package that assists writing SQL-driven datasources

APACHE-2.0 License

Stars
17
Committers
28

Bot releases are hidden (Show)

sqlds - Close released connections before reconnecting

Published by cletter7 almost 2 years ago

sqlds - Fix parsing macros in nested queries

Published by sasklacz almost 2 years ago

Fixes bug with parsing macros in more complex queries

sqlds - Query retries

Published by scottlepp almost 2 years ago

Use retries setting for queries not just ping.

sqlds - Mock - return results from handler

Published by scottlepp almost 2 years ago

sqlds - Support Retries, use Timeout for Ping

Published by scottlepp almost 2 years ago

  • Provides a way to perform retries where the db is temporarily unavailable.
  • Now uses the timeout setting for Ping

Also allows registering a mock driver with a handler allowing handling the Ping and Results for the mock driver.

sqlds - Fix parsing macros

Published by sasklacz about 2 years ago

Nested macros are now parsed correctly

sqlds - Driver Mock

Published by scottlepp about 2 years ago

Adds a mock driver that we can begin to use to test different scenarios in unit tests.

sqlds - Mock

Published by scottlepp about 2 years ago

Adds sql mock for cases where connectivity is blocked.

sqlds - v2.3.9

Published by iwysiu about 2 years ago

Export some of the functions in preparation for long running queries.

sqlds - v2.3.8

Published by andresmgot over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/sqlds/compare/v2.3.7...v2.3.8

sqlds - v2.3.7

Published by dprokop over 2 years ago

  • Update macros regex to support function calls as macro arguments
  • Don't retry queries that have exceeded the context deadline
sqlds - v2.3.6

Published by scottlepp over 2 years ago

make health check compatible with Grafana < 8

sqlds - v2.3.5

Published by scottlepp over 2 years ago

  • set preferred visualizations for table and timeseries formats
sqlds - v2.3.3

Published by andresmgot almost 3 years ago

sqlds - v2.3.1

Published by andresmgot almost 3 years ago

sqlds - v2.3.0

Published by andresmgot about 3 years ago

sqlds - v2.2.0

Published by andresmgot about 3 years ago

sqlds - v2.1.0

Published by andresmgot about 3 years ago

sqlds - v2.0.0

Published by andresmgot about 3 years ago

This release include two breaking changes in the Driver interface:

  • FillMode() has been replaced with Settings(backend.DataSourceInstanceSettings) that should return the FillMode and Timeout. More info here
  • Connect(backend.DataSourceInstanceSettings, json.RawMessage) has a new optional parameter (json.RawMessage) to be able to configure the connection per query. More info here.
sqlds - v1.3.0

Published by andresmgot about 3 years ago