All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
This release should show no feature changes. Some underlying packages have been updated, which should improve stability and security but not have any other noticeable impact.
- Fixed some typos in the readme
- Removed the upper Grafana version constraint for the plugin
- Update grafana plugin sdk for the backend
- Updated grafana buildkit and test tool versions for the frontend
This release moved to a new underlying SQLite library: https://pkg.go.dev/modernc.org/sqlite. This should have no big
changes to regular queries but can have effects on more subtle configurations (e.g. path options). Fore more information
see the Changed
section below.
This library has no dependency on CGO, which allows much easier cross-compilation for other systems. This way the
plugin has a much simpler build process now and also supports more platforms (see information below under Added
)
- Added new platforms to the release: Darwin (MacOS) for ARM (Apple Silicon) and FreeBSD for AMD64
- Changed the underlying SQLite library to: https://pkg.go.dev/modernc.org/sqlite. While the general SQLite features and especially queries should remain unchanged by this, path options need to be checked for compatibility with the new library now. Please refer to the link above for more information on the options.
- No separate release is created anymore for ARM v7. ARM v6 should suffice for all devices. If that is not the case for your device, please open a new issue.
- An additional option
securePathOptions
has been added in case the user wants to protect some options (typically credentials). For examples see here: https://github.com/mattn/go-sqlite3#connection-string
The plugin now supports adding a Path Prefix and Options to the SQLite connection string.
- Ability to provide a prefix and options in the connection string. For examples see here: https://github.com/mattn/go-sqlite3#connection-string
- slightly changed the Plugin Health Check (when adding the data source) to provide better error messages.
- conversion errors during a query are now logged at DEBUG level to avoid too large log files.
This release adds support for sub second precision for unix time.
- When using numeric values for a timestamp in SQLite (unix timestamp) the plugin now supports precision below the second (at nanosecond precision)
This release adds the JSON extension to the compiled SQLite code.
- JSON extension for SQLite
This release adds testing against Grafana v8.1.0 and fixes an issue with query variables.
- Query variables can now also be used in Grafana v8.X.X
This release fixes some long standing issues that prevented the right use of the alerting feature of the plugin even though it was enabled already.
- Using the
$__from
and$__to
variables for alerting - Fixing a caching bug for the query (for alerting)
All current Raspberry Pi Zero and 1 models have an ARMv6 architecture. All other models (2 Mod. B v1.2, 3 and 4) have an 64Bit ARMv8 architecture. As only the Raspberry Pi 2 Mod. B has an ARMv7 architecture this is not used as default anymore. The Raspberry Pi 2 Mod. B will require a manual installation and all others will be handled via the Grafana CLI.
- Using ARMv6 instead of ARMv7 as 32Bit ARM default
- More debug level logging from the plugin
- The type inference of columns in the backend is now ignoring the letter casing
- The response of the plugin includes the final query as metadata and can be checked in the inspector now
- Macro
unixEpochGroupSeconds
:- replace time columns with an expression to group by
- Allow filling up missing values with
NULL
- return additional time formatted column for time-series formats as normal values (previously they were skipped)
- Experimental support for MacOS (no static linking)
- Showing better error messages for certain fail conditions of the plugin health check (e.g. permission error)
- Fixed bug preventing using query variables when SQLite is the default datasource (<= Grafana 7.4)
- Enabled the
alerting
feature for the plugin (no code change)
No breaking change was introduced but due to code stability the first major version is released.
- variables like
$__interval
and$__interval_ms
are supported now
-
Changing plugin name to SQLite
-
added category to plugin.json for better grouping on the Grafana homepage
-
updated Readme after first official release of plugin on Grafana homepage
- Documentation about the time conversion in the README and in the query editor help text.
- Correct handling of "NUMERIC" columns with mixed data (e.g. float and integer)
-
Added option to explicitly convert backend data frame to time series:
-
This requires the initial data frame to be in a Long Format
-
The resulting time series consists of one data frame per metric
-
- Releasing arm6 (RaspberryPi Zero) as separate distribution (Github only)
- Renamed the arm7 executable to arm (newer Raspberry Models should run fine now)
- Different content of zip file published with Github release according to new Grafana v7.3 standards
- Query variables are now supported
- The plugin is now signed
- For Signing grafana-toolkit 7.3.3 was necessary. The grafana version to test against was bumped to version 7.3.3
- Fixed: Handling of NULL values in queries is now correct
First "working" version
- Fixed: Plugin files in the zip file are now executable