Commit Graph

80 Commits (2474511d03def2b1d31fb723d7b12bd0cad8dbb9)

Author SHA1 Message Date
Kyle Brandt e5bf3027fc
Refactor: Move sql_engine to sub package of tsdb (#18991) 6 years ago
Bernard Duggan a0bb01103e MySQL/Postgres/MSSQL: Add parsing for day, weeks and year intervals in macros (#13086) 7 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 7 years ago
Oleg Gaidarenko 54c1bf0cc9
Chore: a bit of spring cleaning (#16710) 7 years ago
Andrej Ocenas 66f6e16916
Security: Store datasource passwords encrypted in secureJsonData (#16175) 7 years ago
Andrej Ocenas 09b9b595b2 Add check for Env before log 7 years ago
Ander Arguiñano 3801a75131 FIxed syntaxis mistake unixEpochNanoFrom and unixEpochNanoTo 7 years ago
Ander Arguiñano 9105625f24 Added unixEpochNanoTo and unixEpochNanoFrom macros to postgresql 7 years ago
Ander Arguiñano 4d8d2a9690 Renamed unixEpochFilterNano to unixEpochNanoFilter 7 years ago
Sven Klemm 4c51e8df20 Don't cut off subsecond precision for postgres macros 7 years ago
Ander Arguiñano 1a67a8db80 Nanosecond timestamp support postgresql 7 years ago
Marcus Efraimsson 624e5e5b3d
let each sql datasource handle timeFrom and timeTo macros 7 years ago
Mario Trangoni 18e127db2a pkg/tsdb/*: Fix do not pass a nil Context 7 years ago
Mario Trangoni afab9085eb pkg/tsdb/postgres/postgres_test.go: pass context.Background() instead of nil 7 years ago
Sven Klemm 744e8617ff add postgres test for global 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 837388d13e Use variable in newPostgresMacroEngine 7 years ago
Sven Klemm 3955133f7e Don't pass datasource to newPostgresMacroEngine 7 years ago
Sven Klemm 3552a4cb86 refactor timescaledb handling in MacroEngine 7 years ago
Sven Klemm bfe28ee061 Add $__unixEpochGroup macro to postgres datasource 7 years ago
Sven Klemm d81a23becf Refactor setting fillmode 7 years ago
Sven Klemm d2984f3b0f fix rebase error 7 years ago
Sven Klemm c3aad10047 change timescaledb to checkbox instead of select 7 years ago
Sven Klemm b987aee7cf add timescaledb option to postgres datasource 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 dc22e24642 add compatibility code to handle pre 5.3 usage 7 years ago
Sven Klemm 42f1892826 Add $__timeGroupAlias to postgres macros 7 years ago
Sven Klemm 43295f9c18 remove alias from postgres $__timeGroup macro 7 years ago
Sven Klemm f9d6c88a55 add testcase for metric column as prefix 7 years ago
Marcus Efraimsson 2f3851b915
postgres: use new sql engine 7 years ago
Marcus Efraimsson 93e73919e8
fix code style 8 years ago
yogyrahmawan 26aa575cb4 escaping ssl mode on postgres param 8 years ago
Sven Klemm 84d7743939 fix pre gui queries shortcircuit 8 years ago
Marcus Efraimsson d2f31a716f
remove unnecessary conversions 8 years ago
Sven Klemm c2c22c142b [postgres] fix timeGroup macro rounding (#12468) 8 years ago
Marcus Efraimsson de0d409a23
Revert "Opportunities to unindent code (unindent)" 8 years ago
Karsten Weiss 893a91af3a Use opportunities to unindent code (unindent) 8 years ago
Marcus Efraimsson cf43007531
postgres: fix value columns conversion to float when using timeseries query 8 years ago
Sven Klemm 5dc36afe71 calculate datetime for timeFrom and timeTo macro in go 8 years ago
Karsten Weiss f61e69ce75 Simplify comparison to bool constant (gosimple) 8 years ago
Sven Klemm a2a7d3d436 add GetFromAsTimeUTC and GetToAsTimeUTC and use them in timeFilter macro 8 years ago
Daniel Lee 9337972a0f sqlds: fix text in comments for tests 8 years ago
Sven Klemm 6d3da9a73d remove postgresversion and convert unix timestamp in go 8 years ago
Sven Klemm 9b61ffb48a make timefilter macro aware of pg version 8 years ago
Mario Trangoni 91fb2e07ce pkg: fix codespell issues 8 years ago
Marcus Efraimsson a86ee304ff
tsdb: remove unnecessary type casts in sql data sources macro engines 8 years ago
Marcus Efraimsson f5586b1270
tsdb: sql data sources should handle time ranges before epoch start correctly 8 years ago
Marcus Efraimsson 0317ecbf0d
postgres: support running multiple postgres integration tests 8 years ago