Erik Sundell
116b6188a6
CloudWatch: Region template query fix ( #20661 )
...
* Make region an optional parameter
* Test region template query
2019-11-27 17:06:11 +01:00
Erik Sundell
ec18e2bfc3
CloudWatch: Remove HighResolution toggle since it's not being used ( #20440 )
...
* Remove highres flag since it's not being used
* Remove not used code. Init id field correctly
* Fix broken tests
* Remove GMS related calculations
* Rename period field
* Add breaking changes to changelog. Also update upgrading docs
* Update snapshot
* Update docs after feedback
* Changes after feedback
2019-11-20 13:34:44 +01:00
kay delaney
ca3dff99e8
Chore: Bumps prettier version for new typescript syntax support ( #20463 )
...
* Chore: Bumps prettier version for new typescript syntax support
* Ran new version of prettier against the codebase
2019-11-19 13:59:39 +00:00
Erik Sundell
38d5abfadb
CloudWatch: Make sure period variable is being interpreted correctly ( #20447 )
...
* Make sure variable is interpreted before parsing int
* Use correct datatype in tests
2019-11-19 12:36:50 +01:00
kay delaney
e0a2d4beac
Grafana/Loki: Adds support for new Loki endpoints and metrics ( #20158 )
...
* Grafana/Loki: Adds support for new Loki endpoints and metrics
* Adds `/loki/` prefix to new loki endpoints and updates response interfaces
* Improved legacy support
* Removed changes related to plugin.json and added Loki-specific hacks
* Fixes live streaming for legacy loki datasources
2019-11-15 16:38:25 +01:00
Erik Sundell
00bef917ee
CloudWatch: Datasource improvements ( #20268 )
...
* CloudWatch: Datasource improvements
* Add statistic as template variale
* Add wildcard to list of values
* Template variable intercept dimension key
* Return row specific errors when transformation error occured
* Add meta feedback
* Make it possible to retrieve values without known metrics
* Add curated dashboard for EC2
* Fix broken tests
* Use correct dashboard name
* Display alert in case multi template var is being used for some certain props in the cloudwatch query
* Minor fixes after feedback
* Update dashboard json
* Update snapshot test
* Make sure region default is intercepted in cloudwatch link
* Update dashboards
* Include ec2 dashboard in ds
* Do not include ec2 dashboard in beta1
* Display actual region
2019-11-14 10:59:41 +01:00
Dominik Prokop
9b7748ec13
Chore: Reorg packages ( #20111 )
...
Primarily- moving majority of the types and utils from @grafana/ui to @grafana/data
* Move types from grafana-ui to grafana-data
* Move valueFormats to grafana-data
* Move utils from grafana-ui to grafana-data
* Update imports in grafana-ui
* revert data's tsconfig change
* Update imports in grafana-runtime
* Fix import paths in grafana-ui
* Move rxjs to devDeps
* Core import updates batch 1
* Import updates batch 2
* Imports fix batch 3
* Imports fixes batch i don't know
* Fix imorts in grafana-toolkit
* Fix imports after master merge
2019-10-31 10:48:05 +01:00
Erik Sundell
69691fbd6e
Add data link from panel to cloudwatch console ( #20061 )
...
* Add data link from panel to cloudwatch console
* Change conf variable name
* Fixes according to pr feedback
* Cleanup. Fix broken tests
2019-10-29 17:02:55 +01:00
Tobias Skarhed
0ef4060b98
Chore: Fix about 200 noImplicitAny errors ( #18067 )
...
* Fix 200 ish errors
* Add interface
2019-07-16 11:35:42 +02:00
Tobias Skarhed
e1cec1069c
noImplicitAny: 1670 errors ( #18035 )
...
* Sub 2000 errors
* Down to 1670 errors
* Minor fixes
2019-07-11 17:05:45 +02:00
Ryan McKinley
fcdc29746f
@grafana/data: export dateMath and rangeUtil ( #17971 )
2019-07-05 23:43:12 -07:00
Ryan McKinley
3f15170914
Refactor: move some files to @grafana/data ( #17952 )
...
* moving to data WIP
* more refactoring
* add missing test
* mock full path
* remove sinon from grafana-ui
2019-07-06 08:05:53 +02:00
Ryan McKinley
1d8786e3a6
DataSource Plugins: consistent generics order <TQuery,TOptions> ( #16936 )
...
* consistent TQuery,TOptions
* add json for azure
* cloudwatch
2019-05-08 09:37:50 +02:00
Ryan McKinley
d881976c9d
Refactor: move datemath to grafana/ui ( #16890 )
...
* move datemath to grafana/ui
* don't reference @grafana/ui from its own component
2019-05-06 12:36:42 +02:00
Mitsuhiro Tanda
8f167c47e3
CloudWatch: Fix template variable expand bug ( #16405 )
...
CloudWatch: Fix template variable issues
2019-04-12 14:00:41 +02:00
Mitsuhiro Tanda
d7d20a5b10
CloudWatch: fix color order ( #16408 )
...
* fix cloudwatch color order
* fix test
* use for-of
2019-04-12 13:57:39 +02:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
jeroenvollenbrock
28aafcd789
cloudwatch: Add tests for resource_arn template query
2019-02-05 18:37:05 +01:00
Adam Palaniuk
58a156ba03
Update check for invalid percentile statistics
2018-10-11 14:00:34 -05:00
Mitsuhiro Tanda
6ed1cbd5bb
set unit for CloudWatch GetMetricStatistics result
2018-10-09 17:02:56 +09:00
Patrick O'Carroll
0f326f18dc
changed functions to arrowfunctions for only-arrow-functions rule ( #13127 )
2018-09-04 15:55:41 +02:00
Patrick O'Carroll
b8d82df97e
added no-angle-bracket-type-assertion rule and updatet files to follow rule ( #13115 )
2018-09-03 11:30:44 +02:00
Torkel Ödegaard
314b645857
tslint: changing vars -> const ( #13034 )
2018-08-26 18:43:07 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Tobias Skarhed
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
Mitsuhiro Tanda
9b50c9038b
skip backend request if extended statistics is invalid. ( #12495 )
...
* check extended statistics pattern
* check extended statistics pattern
* Revert "check extended statistics pattern"
This reverts commit 52c7b1a972636d5f5729e64ae5e00e6fae329257.
* add test
* fix test
2018-07-11 11:23:38 -07:00
Tobias Skarhed
e51f208a49
Cleanup and remove some jest.fn()
2018-07-09 15:42:34 +02:00
Tobias Skarhed
6670acd082
Remove irrelevant tests and templateSrv stub
2018-07-09 12:52:56 +02:00
Tobias Skarhed
74bf80962d
Add mock to test files
2018-07-04 14:32:22 +02:00
Tobias Skarhed
a37a0c7be3
Remove comments
2018-07-04 14:32:22 +02:00
Tobias Skarhed
42ba0dc73f
Karma to Jest: Cloudwatch datasource
2018-07-04 14:32:22 +02:00
Daniel Lee
b2187b70a7
Merge pull request #11990 from mtanda/issue_11925
...
fix "Cloudwatch panel does not allow arbitrary variable values in query"
2018-06-21 18:00:49 +02:00
Tobias Skarhed
8666c77cc9
Karma to Jest: time_srv ( #12303 )
...
* Begin Karma to Jest: time_srv
* Remove experimental fix
* location search stubs for each test
* Fix issue where time service was not available for other tests
2018-06-18 09:47:23 -07:00
Mitsuhiro Tanda
e65cf5cbb5
fix directly specified variable rendering
2018-05-28 11:28:08 +09:00
Torkel Ödegaard
3a1f52d8a2
prettier: ran on all files again, sorry. now settings are defined in package.json
2017-12-21 08:39:31 +01:00
Torkel Ödegaard
85879a7014
prettier: change to single quoting
2017-12-20 12:33:33 +01:00
Torkel Ödegaard
fadfc665e4
tech: ran pretttier on all typescript files
2017-12-19 16:06:54 +01:00
Torkel Ödegaard
cafed8ce8f
Merge branch 'master' into develop
2017-12-12 13:19:07 +01:00
Mikael Olenfalk
8e7166b5c4
Explicitly specify default region in CloudWatch datasource ( #9440 )
...
The datasource uses the default region in the query if the region
is "" in the settings. However setting the region to an empty string
is almost impossible and rendered incorrectly.
This commit introduces a special value "default" for region which
is shown in the drop down and is translated to the default region
of the data source when performing queries.
2017-12-11 09:37:27 +01:00
Torkel Ödegaard
e98af1b3fa
updated libs and fixed new typescript errors
2017-11-27 12:14:57 +01:00
Torkel Ödegaard
119f5427af
fix: fix cloudwatch metricFindQuery error that stopped it working completely, fixes #9876
2017-11-16 13:06:24 +01:00
Mitsuhiro Tanda
ae4bcdd54b
fix query inspector for cloudwatch
2017-11-12 00:41:14 +09:00
Mitsuhiro Tanda
7edc95cc35
(cloudwatch) fix cloudwatch query error over 24h ( #9536 )
...
fix cloudwatch query error over 24h
2017-10-16 08:31:05 +02:00
Mitsuhiro Tanda
c140d7aa06
re-implement annotation query
2017-09-29 13:45:11 +09:00
Mitsuhiro Tanda
8243ac39c2
fix parameter format
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
ea704306a0
fix test
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
01d2aa8af0
fix test
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
83b79dd624
fix test
2017-09-29 13:44:00 +09:00
Mitsuhiro Tanda
39607d09d7
(cloudwatch) alerting
2017-09-29 13:44:00 +09:00
Torkel Ödegaard
73295ab3ed
tech: upgrade of systemjs to 0.20.x working
2017-09-28 14:08:59 +02:00