Commit Graph

53 Commits (bfe28ee061ea42b27057c582f0b436cf12c46e88)

Author SHA1 Message Date
Sven Klemm bfe28ee061 Add $__unixEpochGroup macro to postgres 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 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
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
Marcus Efraimsson 1783c534fd
postgres: fix precision for time columns in time series query mode 8 years ago
ryan 1c9ebd5bd8 fix test 8 years ago
ryan 113bfb3d3e don't convert to uint64 8 years ago
Marcus Efraimsson 66c03f84f5 postgres: fix precision for the time column in table/annotation query mode 8 years ago
Sven Klemm 4904a051cf use net/url to generate postgres connection url 8 years ago
Sven Klemm f1ba9137c0 remove spaces around arguments before calling macro expansion 8 years ago
Sven Klemm ebbc079853 improve error message for invalid/unknown datatypes (#10834) 8 years ago
Sven Klemm 6cdd901ec6 fix typo 8 years ago
Sven Klemm c1282e8ea8 implement missing value fill functionality for postgres 8 years ago
Sven Klemm e2a3590d8b allow optional 3rd argument to timeGroup to control filling missing 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
Sven Klemm ce809de1ed postgres: change $__timeGroup macro to include "AS time" column alias (#10119) 8 years ago
Sven Klemm c80eadcdf4 handle native postgres datetime types in annotation queries (#9986) 8 years ago
Sven Klemm 373389c920 treat any text column in timeseries query as metric name unless column (#9985) 8 years ago
Sven Klemm 26ab25b7c0 dont loose subsecond precision when dealing with timestamp or (#9851) 8 years ago
Sven Klemm 9e6a7dcb90 properly escape components of connection string (#9850) 8 years ago
Sven Klemm 108f582ec4 sync documentation, add remark about to_timestamp and redshift (#9841) 8 years ago
Sven Klemm a503c1d39c change default sslmode for postgres to verify-full (#9736) 8 years ago
Sven Klemm 34da0711ab add __timeGroup macro for mysql (#9596) 8 years ago
Sven Klemm b2d880c6de modify $__timeGroup macro so it can be used in select clause (#9527) 8 years ago
Daniel Lee d1c9760fa8 Postgres Data Source (#9475) 8 years ago