ryan
920a0c4fec
skip mssql fix
2018-04-09 13:49:13 +02:00
ryan
7d6c8aa612
add mssql and mysql
2018-04-09 13:34:35 +02:00
ryan
113bfb3d3e
don't convert to uint64
2018-04-09 13:28:32 +02:00
Penghan Wang
fbed72c89c
Merge branch 'master' into feature/add_es_alerting
2018-04-09 14:00:28 +08:00
wph95
4050fce220
add response_parser test
2018-03-28 12:35:05 +08:00
wph95
06f7332156
cleanup and add more test
2018-03-28 01:42:25 +08:00
wph95
4042e4b225
fix a terms bug and add test
2018-03-27 02:12:43 +08:00
Penghan Wang
a21afbe9a6
Merge branch 'master' into feature/add_es_alerting
2018-03-26 19:51:03 +08:00
wph95
63a200686e
- pipeline aggs support
...
- add some test
2018-03-26 19:48:57 +08:00
wph95
d6cdc2497c
Handle Interval Date Format similar to the JS variant
...
https://github.com/grafana/grafana/pull/10343/commits/7e14e272fa37df5b4d412c16845d1e525711f726
2018-03-26 16:13:14 +08:00
wph95
1e275d0cd1
set right series name
...
Signed-off-by: wph95 <wph657856467@gmail.com >
2018-03-25 02:18:28 +08:00
wph95
bc5b59737c
finished CODING PHASE 1
...
Signed-off-by: wph95 <wph657856467@gmail.com >
2018-03-24 13:06:21 +08:00
Carl Bergquist
980e078222
Merge pull request #11326 from bergquist/more_traces
...
dataproxy: adds dashboardid and panelid as tags
2018-03-23 17:13:15 +01:00
wph95
8e7d23cdeb
wip
...
Signed-off-by: wph95 <wph657856467@gmail.com >
2018-03-23 23:50:16 +08:00
Marcus Efraimsson
f0f41c2a8e
mysql: skip tests by default
2018-03-22 16:44:55 +01:00
Marcus Efraimsson
f5654f88e2
mysql: fix precision for the time column in table/annotation query mode
...
Use the ConvertSqlTimeColumnToEpochMs function to convert any native
datetime data type or epoch time (millisecond precision).
Refactored mysql implementation to make it more similar to postgres
and mssql implementations.
Added $__timeEpoch macro function with same implementation as $__time.
Added possibility to use a time column named time in addition to
the currectly supported time_sec.
Additional tests and update of existing.
Added test dashboard.
2018-03-22 15:40:46 +01:00
Marcus Efraimsson
66c03f84f5
postgres: fix precision for the time column in table/annotation query mode
...
Use the ConvertSqlTimeColumnToEpochMs function to convert any native
datetime data type or epoch time (millisecond precision).
Additional tests and update of existing due to timezone issues
running postgres on UTC and dev environment on non-utc.
Added test dashboard.
2018-03-22 15:32:33 +01:00
Marcus Efraimsson
b69ebee066
mssql: fix precision for the time column in table/annotation query mode
...
Use the ConvertSqlTimeColumnToEpochMs function to convert any native
datetime data type or epoch time (millisecond precision).
Additional tests and update of existing due to timezone issues
running MSSQL on UTC and dev environment on non-utc.
Update stored procedures test to handle more parameters.
Update test dashboard.
2018-03-22 15:23:12 +01:00
Marcus Efraimsson
b0076d4f65
mssql: remove UTC conversion in macro functions
...
Removes the macro function . Macro functions should not do UTC/timezone conversion - they should
work in the same way as postgres and mysql datasource implementations.
Grafana and Microsft SQL Server should be run on servers with UTC timezones.
2018-03-22 14:55:44 +01:00
Marcus Efraimsson
3ccadff800
mssql: fix timeGroup macro so that it properly creates correct groups
...
Earlier the division of interval was done using whole numbers resulting in that important information
was lost/too many time series merged to the same group. Now using division of floating point and rounding
up to solve the problem
2018-03-22 14:49:40 +01:00
bergquist
519fd8b2ba
graphite: adds more traces for alerting
2018-03-21 13:16:59 +01:00
Marcus Efraimsson
3cb0bc3da1
sql datasource: extract common logic for converting time column to epoch time in ms
2018-03-21 11:20:15 +01:00
Daniel Lee
e5e9d3c2f3
mssql: adds test for time should be ms in table mode
2018-03-20 14:42:29 +01:00
Daniel Lee
ae4c6e4648
mssql: fix precision for time column in table mode
...
ref #11306
2018-03-20 12:59:40 +01:00
Marcus Efraimsson
192e913b7b
mssql: add integration test to verify stored procedure usage
2018-03-19 19:56:34 +01:00
Marcus Efraimsson
8f6626e805
mssql: encrypt password in database
2018-03-19 17:32:51 +01:00
Marcus Efraimsson
449a307575
mssql: remove dynamic construction of metric column and other columns
...
This seems like a niche feature which can be solved by defining multiple queries. In the future
we'll probably add support for defining series name by alias field similar to how other datasources
have solved that, e.g. prometheus.
2018-03-19 17:14:01 +01:00
Marcus Efraimsson
d14946a135
mssql: cleanup and minor refactor
2018-03-19 13:32:04 +01:00
Marcus Efraimsson
24c0f28f41
mssql: allow host without port and fallback to default port 1433
2018-03-19 13:24:31 +01:00
Marcus Efraimsson
e97b03e930
mssql: additional integration tests
...
Metric query of table having multiple value columns
Annotation query
2018-03-16 14:42:54 +01:00
Marcus Efraimsson
f0f8006d8d
mssql: support money, smallmoney and decimal data types
2018-03-16 14:37:16 +01:00
Marcus Efraimsson
9144701fcc
mssql: disable mssql integration tests per default
2018-03-15 15:27:31 +01:00
Leonard Gram
3b03dce3c2
mssql: timeGroup fill support added.
2018-03-15 15:06:54 +01:00
Marcus Efraimsson
faf9e3f722
mssql: add timeGroup integration test
2018-03-15 14:26:53 +01:00
Leonard Gram
571556e1d8
mssql: adds fill to timeGroup macro.
2018-03-15 13:11:26 +01:00
Marcus Efraimsson
3d0f97aab9
mssql datasource: wip
2018-03-15 09:51:29 +01:00
Marcus Efraimsson
c87752102a
mssql datasource: support for timeGroup macro function
2018-03-13 22:49:49 +01:00
Marcus Efraimsson
57d46a706c
mssql datasource: additional data type tests
2018-03-13 19:54:29 +01:00
Marcus Efraimsson
d4beee2bb0
Merge branch 'master' into mssql_datasource
2018-03-13 16:03:02 +01:00
Carl Bergquist
a589f701ad
Merge pull request #10925 from mtanda/cw_high_resolution
...
(cloudwatch) support high resolution query
2018-03-08 18:06:08 +01:00
Mitsuhiro Tanda
eecbdc89eb
fix, set default highResolution setting
2018-03-08 01:18:11 +09:00
bergquist
cb223ee563
removes commented code
2018-03-07 16:40:24 +01:00
Sven Klemm
4904a051cf
use net/url to generate postgres connection url
2018-03-05 16:06:04 +01:00
Sven Klemm
4e826ff8f7
remove spaces around arguments of macros
2018-03-02 19:24:15 +01:00
Sven Klemm
f1ba9137c0
remove spaces around arguments before calling macro expansion
2018-03-02 19:20:30 +01:00
Sven Klemm
0f931f9e5e
Merge remote-tracking branch 'upstream/master' into macroengine-interpolate
2018-03-01 18:01:54 +01:00
Daniel Lee
f959ba9bcf
influxdb: escape backslashes in tag values (for alerting)
...
Closes #10957 . Backslash escaping was already implemented on the
frontend but does not work for queries executed on the backend.
2018-02-19 10:02:14 +01:00
Mitsuhiro Tanda
18c54a9341
support cloudwatch high resolution query
2018-02-15 23:35:01 +09:00
Sven Klemm
ebbc079853
improve error message for invalid/unknown datatypes ( #10834 )
2018-02-14 15:21:00 +01:00
Mitsuhiro Tanda
60b30d3e9a
add AWS/States Rekognition ( #10890 )
...
* added AWS/States
* added Rekognition
2018-02-14 15:14:38 +01:00