Commit Graph

18 Commits (06c24476dca2a65aee76a8d7534cf2bb2d5858c0)

Author SHA1 Message Date
Ryan McKinley 7627b55ef4
TSDB: add deprecation comments to many tsdb structs (#33281) 4 years ago
Marcus Efraimsson b82c510581
Postgres/MySQL/MSSQL: Don't return connection failure details to the client (#32408) 4 years ago
Marcus Efraimsson 5985c199ae
SQL: Fix so that all captured errors are returned from sql engine (#32353) 4 years ago
Arve Knudsen b79e61656a
Introduce TSDB service (#31520) 4 years ago
Arve Knudsen c2cad26ca9
Chore: Disable default golangci-lint filter (#29751) 5 years ago
Kyle Brandt 0cb29d337a
Expressions: Move GEL into core as expressions (#29072) 5 years ago
Arve Knudsen 676d393ec9
Chore: Fix issues reported by staticcheck; enable stylecheck linter (#28866) 5 years ago
Arve Knudsen 574553ec7b
Chore: Fix issues found by staticcheck (#28802) 5 years ago
Arve Knudsen a078e40238
Settings: Rename constants/variables to follow Go naming standards (#28002) 5 years ago
Arve Knudsen a5d9196a53
Chore/fix lint issues (#27704) 5 years ago
Arve Knudsen 7896836deb
Chore: Reduce TSDB Go code complexity (#26401) 5 years ago
Arve Knudsen d4e4cb4c71
Chore: Enable Go linter gocritic (#26224) 5 years ago
Ryan McKinley 2a6ac88a73
QueryInspector: add common way to show the raw query (#25204) 5 years ago
Noval Agung Prayogo ea35ae4d1f
Chore: Update the xorm dependency (#22376) 5 years ago
Jerry Ylilammi e27ab89aed Postgres/MySQL/MSSQL: Adds support for region annotations (#20752) 6 years ago
Marcus Efraimsson 3de693af49
MySQL: Limit datasource error details returned from the backend (#19373) 6 years ago
Marcus Efraimsson 19f3ec4891
MySQL, Postgres, MSSQL: Only debug log when in development (#19239) 6 years ago
Kyle Brandt e5bf3027fc
Refactor: Move sql_engine to sub package of tsdb (#18991) 6 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 6 years ago
Marcus Efraimsson 624e5e5b3d
let each sql datasource handle timeFrom and timeTo macros 7 years ago
Sven Klemm 94d6d51726 move timeFrom, timeTo, unixEpochFrom and unixEpochTo macros to sql_engine 7 years ago
Axel Pirek dd09ece8c9 Make max open, max idle connections and connection max life time configurable 7 years ago
Axel Pirek e35f06b938 Run all sql data source queries for one panel concurrently 7 years ago
Sven Klemm 0254a29e35 Interpolate $__interval in backend for alerting with sql datasources (#13156) 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
Marcus Efraimsson 4962bf9d44
remove info logging 7 years ago
Marcus Efraimsson e32cf75c2d
fix usage of metric column types so that you don't need to specify metric alias 7 years ago
Sven Klemm 7905c29875 adjust metric prefix code to sql engine refactor 7 years ago
Marcus Efraimsson e43feb7bfa
use const for rowlimit in sql engine 7 years ago
Marcus Efraimsson d42cea5d42
refactor sql engine to make it hold all common code for sql datasources 7 years ago
Torkel Ödegaard e413f026b9
fix: postgres/mysql engine cache was not being used, fixes #12636 (#12642) 7 years ago
Leonard Gram e6f2811b21 sql: seconds epochs are now correctly converted to ms. 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 76bd2aea44
sql datasource: extract common logic for converting value column to float 7 years ago
Karsten Weiss 25bb0b5569 Remove unused return value assignment (gosimple) 7 years ago
Marcus Efraimsson a314890f89
tsdb: add support for more data types when converting sql time column to epoch (ms) 7 years ago
Marcus Efraimsson 3cb0bc3da1 sql datasource: extract common logic for converting time column to epoch time in ms 7 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 b2fbb2691b sql: small fix to error handling 8 years ago
Daniel Lee d1c9760fa8 Postgres Data Source (#9475) 8 years ago