Commit Graph

81 Commits (f95b4b3882ab2e738b4bd9f6f53f27833d51e72a)

Author SHA1 Message Date
Marcus Efraimsson 624e5e5b3d
let each sql datasource handle timeFrom and timeTo macros 7 years ago
Marcus Efraimsson 97b22aa5a9
mysql: fix timeFilter macro should respect local time zone 7 years ago
Yuan Liu f640df7a2c
simplify code 7 years ago
Yuan Liu 36dbc5f51c
Add socket support for mysql data source 7 years ago
Mario Trangoni 18e127db2a pkg/tsdb/*: Fix do not pass a nil Context 7 years ago
Mario Trangoni 3632e9c756 pkg/tsdb/mysql/mysql_test.go: pass context.Background() instead of nil 7 years ago
Sven Klemm af22213462 remove generic macros from macros_test and add integration test for generic macros 7 years ago
Sven Klemm 94d6d51726 move timeFrom, timeTo, unixEpochFrom and unixEpochTo macros to sql_engine 7 years ago
Sven Klemm 0254a29e35 Interpolate $__interval in backend for alerting with sql datasources (#13156) 7 years ago
Sven Klemm fbc67a1c64 add $__unixEpochGroup to mysql datasource 7 years ago
Sven Klemm d81a23becf Refactor setting fillmode 7 years ago
Sven Klemm ee7602ec1f change fillmode from last to previous 7 years ago
Sven Klemm bfc66a7ed0 add fillmode "last" to sql datasource 7 years ago
Sven Klemm b71d10a7a4 add $__timeGroupAlias to mysql and mssql 7 years ago
Sven Klemm e487fabcd5 add metric column prefix test for mysql 7 years ago
Marcus Efraimsson 27db454012
mysql: use new sql engine 7 years ago
Marcus Efraimsson d2f31a716f
remove unnecessary conversions 7 years ago
Sven Klemm 1601f6d17c [mysql] fix $__timeGroup rounding (#12469) 7 years ago
Austin Winstanley a0e8437f8f Used PostgreSQL TSDB as a model the set up the __timeFilter, __timeFrom, and __timeTo macros for Microsoft SQL and MySQL 7 years ago
Austin Winstanley 105b3d6804 Switched MySQL and MSSQL macros for timeFilter and related to use BETWEEN and calculate UNIX time server side instead of database side. Fixes #11618 #11619 7 years ago
Leonard Gram 50d1519a91 build: mysql integration testing on ci. 7 years ago
Marcus Efraimsson de0d409a23
Revert "Opportunities to unindent code (unindent)" 7 years ago
Karsten Weiss 893a91af3a Use opportunities to unindent code (unindent) 7 years ago
Marcus Efraimsson 346577b664
mysql: fix value columns conversion to float when using timeseries query 7 years ago
Karsten Weiss f61e69ce75 Simplify comparison to bool constant (gosimple) 7 years ago
Daniel Lee 9337972a0f sqlds: fix text in comments for tests 7 years ago
Marcus Efraimsson a86ee304ff
tsdb: remove unnecessary type casts in sql data sources macro engines 7 years ago
Marcus Efraimsson f5586b1270
tsdb: sql data sources should handle time ranges before epoch start correctly 7 years ago
Marcus Efraimsson 6cb891dca8
mysql: use a datetime column with microsecond precision in test 7 years ago
Marcus Efraimsson af62646624
mysql: fix precision for time columns in time series query mode 7 years ago
Marcus Efraimsson 5c120c2c11
mysql: mysql tests should use a db server with UTC 7 years ago
ryan 7d6c8aa612 add mssql and mysql 7 years ago
Marcus Efraimsson f0f41c2a8e mysql: skip tests by default 7 years ago
Marcus Efraimsson f5654f88e2 mysql: fix precision for the time column in table/annotation query mode 7 years ago
Sven Klemm 4e826ff8f7 remove spaces around arguments of macros 7 years ago
Daniel Lee 6d13645206 mysql: update to use ColumnTypes interface in new version 7 years ago
Sven Klemm cb15d9cbdd add missing value fill code to mysql datasource 8 years ago
Sven Klemm b86a42fffe pass tsdbQuery to transformToTimeSeries and transformToTable to get 8 years ago
Sven Klemm b6df91d56b pass Query to MacroEngine Interpolate 8 years ago
Daniel Lee 5dd9582520 mysql: add data source support for Azure MySql 8 years ago
Sven Klemm 34da0711ab add __timeGroup macro for mysql (#9596) 8 years ago
Daniel Lee d1c9760fa8 Postgres Data Source (#9475) 8 years ago
bergquist ed661767f8 follow go idiom and return error as second param 8 years ago
bergquist a45e2ec9c3 context is reserved for go's context 8 years ago
bergquist 16b5b9f6be make ds a param for Query 8 years ago
bergquist 7f9f388293 rename executor into tsdbqueryendpoint 8 years ago
bergquist 0229d28d64 remove unused structs 8 years ago
bergquist 55f1b36e31 refactor response flow 8 years ago
mxlxm c5400ffe76 mysql: use collation instead of charset (#9156) 8 years ago
Torkel Ödegaard c92317bafa fix: fixed gofmt formating for #9091 8 years ago