Marcus Efraimsson
3cecc0b54e
Merge pull request #12301 from franciscocpg/cloudwatch-app-sync
...
Adding Cloudwatch AWS/AppSync metrics and dimensions
2018-07-31 11:38:31 +02:00
Jason Pereira
88d8072be3
add aws_dx to cloudwatch datasource
2018-07-30 15:51:15 +01:00
Marcus Efraimsson
38a52c2489
mssql: update tests
2018-07-30 13:50:52 +02:00
Marcus Efraimsson
e32cf75c2d
fix usage of metric column types so that you don't need to specify metric alias
2018-07-30 13:50:18 +02:00
Sven Klemm
3aa4790979
add tests for metric column prefix to mssql
2018-07-27 18:13:19 +02:00
Sven Klemm
e487fabcd5
add metric column prefix test for mysql
2018-07-27 17:59:59 +02:00
Sven Klemm
7905c29875
adjust metric prefix code to sql engine refactor
2018-07-27 15:34:04 +02:00
Sven Klemm
f9d6c88a55
add testcase for metric column as prefix
2018-07-27 15:32:54 +02:00
Marcus Efraimsson
02ba467bf1
Merge pull request #12730 from marefr/sql_refactor
...
SQL datasources - backend refactor
2018-07-27 14:13:19 +02:00
Marcus Efraimsson
e43feb7bfa
use const for rowlimit in sql engine
2018-07-27 13:21:40 +02:00
Marcus Efraimsson
ab8fa0de74
elasticsearch: support reversed index patterns
...
Now both [index-]pattern and pattern[-index] are supported
2018-07-26 21:39:02 +02:00
Marcus Efraimsson
4f7882cda2
mssql: use new sql engine
2018-07-26 18:11:10 +02:00
Marcus Efraimsson
27db454012
mysql: use new sql engine
2018-07-26 18:10:45 +02:00
Marcus Efraimsson
2f3851b915
postgres: use new sql engine
2018-07-26 18:10:17 +02:00
Marcus Efraimsson
d42cea5d42
refactor sql engine to make it hold all common code for sql datasources
2018-07-26 18:09:42 +02:00
Mitsuhiro Tanda
055d208a32
fix invalid reference
2018-07-25 11:27:43 +09:00
Marcus Efraimsson
e921f3b673
Merge pull request #12698 from mtanda/cw_400_err
...
CloudWatch backend return 400 if user input error
2018-07-24 16:43:22 +02:00
Marcus Efraimsson
05da21c6d7
Merge pull request #12678 from yogyrahmawan/escape_postgres_parameters
...
postgres; escape ssl mode parameter
2018-07-24 11:15:21 +02:00
Marcus Efraimsson
93e73919e8
fix code style
2018-07-24 11:03:46 +02:00
Mitsuhiro Tanda
d9bf894383
return 400 if user input error
2018-07-24 17:06:55 +09:00
Daniel Lee
5129ea8f87
Merge pull request #11624 from mtanda/cw_get_metric_data
...
CloudWatch GetMetricData support
2018-07-22 21:34:07 +02:00
yogyrahmawan
26aa575cb4
escaping ssl mode on postgres param
2018-07-22 08:04:57 +07:00
Torkel Ödegaard
e413f026b9
fix: postgres/mysql engine cache was not being used, fixes #12636 ( #12642 )
2018-07-18 07:21:32 -07:00
Torkel Ödegaard
c6bcf13d78
Devenv testdata dashboards ( #12615 )
...
* devenv: working on dev env setup & dashboards
* devenv: refactored testdata app to a built in datasource instead, and moved dashboards to a devenv provisioned dashboards
2018-07-16 03:12:13 -07:00
Bryan T. Richardson
daf0c374b3
Added BurstBalance metric to list of AWS RDS metrics.
2018-07-10 10:11:39 -06:00
yogy rahmawan
8b32dc5847
move go vet out of scripts and fixing warning ( #12552 )
2018-07-09 23:25:32 -07:00
Mitsuhiro Tanda
77220456b6
improve error message
2018-07-09 13:11:50 +09:00
Mitsuhiro Tanda
40ed235b3b
support GetMetricData
2018-07-09 13:11:50 +09:00
Marcus Efraimsson
d90d4ce55d
Merge pull request #12402 from AustinWinstanley/macros/sql
...
mysql,mssql: improve $__timeFilter, $__timeFrom, $__timeTo macros
The $__timeFilter macro now uses a BETWEEN with timestamps instead of
comparing epochs
The $__timeFrom and $__timeTo macros now return strings of format
YYYY-MM-DDThh:mm:ssZ instead of epoch
2018-07-04 20:01:43 +02:00
Marcus Efraimsson
d2f31a716f
remove unnecessary conversions
2018-07-04 12:16:39 +02:00
Sven Klemm
1601f6d17c
[mysql] fix $__timeGroup rounding ( #12469 )
...
* fix $__timeGroup rounding for mysql
* revert accidentally commented out line
2018-07-01 06:59:05 -07:00
Sven Klemm
f017c04a65
[mssql] fix $__timeGroup rounding ( #12470 )
...
* fix $__timeGroup rounding for mssql
* revert enabling of mssql integration tests
2018-07-01 06:57:02 -07:00
Sven Klemm
c2c22c142b
[postgres] fix timeGroup macro rounding ( #12468 )
...
* fix timeGroup tests to check for correct grouping
* do explicit floor rounding in $__timeGroup macro
* fix typo in comments
2018-07-01 06:55:46 -07:00
Austin Winstanley
a0e8437f8f
Used PostgreSQL TSDB as a model the set up the __timeFilter, __timeFrom, and __timeTo macros for Microsoft SQL and MySQL
2018-06-29 03:48:14 +00:00
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
2018-06-25 20:11:58 +00:00
Marcus Efraimsson
c02dd7462a
cloudwatch: handle invalid time range
2018-06-15 15:48:25 +02:00
Francisco Guimarães
acdc2bf100
Adding Cloudwatch AWS/AppSync metrics and dimensions
2018-06-15 10:11:32 -03:00
bergquist
c63533f004
tests: rewrite into table tests
2018-06-14 20:33:36 +02:00
bergquist
bf4ee9bcc6
influxdb: adds mode func to backend
...
closes #12286
2018-06-14 20:33:22 +02:00
Sławek Piotrowski
9db964bf35
Fix typo: eleasticsearch -> elasticsearch ( #12184 )
2018-06-06 13:09:16 -07:00
Marcus Efraimsson
38906acda9
elasticsearch: sort bucket keys to fix issue wth response parser tests
2018-06-04 15:15:47 +02:00
Marcus Efraimsson
b8ff3b1e3f
remove dead code
2018-05-31 19:05:32 +02:00
Marcus Efraimsson
dcac63936b
elasticsearch: minor refactor
...
Handle all replacements if interval template variables in the client.
Fix issue with client and different versions.
Adds better tests of the client
2018-05-31 19:02:20 +02:00
Marcus Efraimsson
28f0acd854
Merge branch 'master' into feature/add_es_alerting
2018-05-31 16:33:07 +02:00
Leonard Gram
50d1519a91
build: mysql integration testing on ci.
2018-05-30 16:27:47 +02:00
Kim Christensen
48fc5edda1
Support InfluxDB count distinct aggregation ( #11658 )
...
influxdb: support count distinct aggregation
2018-05-30 09:22:16 +02:00
Marcus Efraimsson
048ac3089b
Merge branch 'master' into feature/add_es_alerting
2018-05-29 14:36:52 +02:00
Christophe Le Guern
3ba3fd9a59
Add new regions to handleGetRegions function ( #12082 )
...
As public/app/plugins/datasource/cloudwatch/partials/config.html and this file differ between the AWS regions available, I've updated the latest so they share the same data.
In that way, the regions() method in dashboards returns the same list as the frontend does.
2018-05-29 14:26:33 +02:00
Leonard Gram
e6f2811b21
sql: seconds epochs are now correctly converted to ms.
...
Closes #12061
2018-05-29 08:44:03 +02:00
Marcus Efraimsson
4752d7884a
elasticsearch: adds some more/better debug logging to client
2018-05-25 10:31:56 +02:00