Mitsuhiro Tanda
18c54a9341
support cloudwatch high resolution query
2018-02-15 23:35:01 +09:00
Willy Hu (IS-TW)
725e23ef7d
Cloudwatch dimension_values add dimension filter.
...
issue #10029
e.g.
- dimension_values($region, $namespace, cpu_usage_system, cpu)
- dimension_values($region, $namespace, disk_used_percent, device, {"InstanceId": "$instance_id"})
- dimension_values($region, $namespace, disk_used_percent, path, {"InstanceId": "$instance_id", "device": "$device"})
2018-02-12 10:13:55 +00:00
Chris Rice
dba93d8240
Renamed "Period" to "Min period" in CloudWatch query editor ( #10665 )
2018-01-31 14:14:34 +01:00
hannes
eefcb3080a
fix typo in parameter. ( #10613 )
...
* options.scopedVars was called without 'd', so a undefined was passed
to the function convertDimensionFormat()
2018-01-26 14:10:17 +01:00
nicolasguyomar
66d7884b48
Add eu-west-3 in cloudwatch datasource default's region ( #10477 )
...
* Add eu-west-3 as a possible default datasource
* Add eu-west-3 as a possible default datasource
2018-01-10 12:07:04 +01:00
Torkel Ödegaard
27835f373e
cleanup: removed unused typescript typings import
2018-01-04 10:12:02 +01:00
Carl Bergquist
7a8a52a145
Merge pull request #10362 from grafana/cloudwatch-file-to-ts
...
migrated datasource to ts
2017-12-28 13:44:18 +01:00
Patrick O'Carroll
54c502ae4d
fixed error
2017-12-28 09:44:37 +01:00
Patrick O'Carroll
0c5314cec7
migrated datasource to ts
2017-12-27 13:25:40 +01:00
Lichun Wei
2559259763
new aws region cn-northwest-1 ( #10353 )
...
see http://docs.aws.amazon.com/general/latest/gr/rande.html for regions
2017-12-27 09:34:12 +01: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
22643eb109
cloudwatch: fixed optimized build issue, fixes #10174
2017-12-18 14:36:34 +01:00
Patrick O'Carroll
3b783216fa
added select-wrapper to where it was missing for unified look
2017-12-13 15:05:43 +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
Patrick O'Carroll
27e486d678
converted 3 .js files to .ts ( #9958 )
...
* converted files from .js to .ts
2017-11-22 10:11:50 +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
ebcb8be19a
add period alias
2017-11-01 18:47:21 +09:00
Torkel Ödegaard
4aa227dd84
[Tech]: Start migrating to Jest for tests ( #9610 )
...
* tech: investigating karma + jest mix
* tech: migrating tests to jest
* tech: moved anoter test file to jest
* test: migrated two more test files to jest
* test: updated readme and made test fail to verify that it causes CI build failure
* tech: added code coverage for jest tests
* tech: testing codecov coverage
* tech: migrated more tests
* tech: migrated template srv to typescript and the tests to jest
* tech: minor build fix
* tech: build fixes
* build: another attempt at fixing go test with coverage
2017-10-22 07:03:26 +02:00
Mitsuhiro Tanda
0f87279ab8
fix template variable expanding
2017-10-17 18:11:21 +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
40b11654fd
show error message when cloudwatch datasource can't add
2017-10-16 13:05:53 +09:00
Patrick O'Carroll
50e2f7e366
Checkbox fixes ( #9400 )
...
* fixing checkboxes
* deleted old file, fixed checkboxes
* minor change
2017-10-03 13:23:05 +02:00
Mitsuhiro Tanda
5850ae51b1
fix, add targetContainsTemplate()
2017-09-29 13:45:11 +09:00
Mitsuhiro Tanda
468e8c13ee
move extend statistics handling code to backend
2017-09-29 13:45:11 +09:00
Mitsuhiro Tanda
e1fe15e094
fix annotation query
2017-09-29 13:45:11 +09:00
Mitsuhiro Tanda
bf5268c0b4
fix time
2017-09-29 13:45:11 +09:00
Mitsuhiro Tanda
d98d8a404f
fix dimension convertion
2017-09-29 13:45:11 +09: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
4b34ff5b83
refactor cloudwatch frontend code
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
e4de6332de
refactor cloudwatch frontend code
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
ea704306a0
fix test
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
1dcc51adce
re-implement dimension_values()
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
78e3556e95
remove performEC2DescribeInstances()
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
8fba6dcb0d
re-implement ec2_instance_attribute()
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
cf23734d7d
re-implement ebs_volume_ids()
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
01d2aa8af0
fix test
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
fe3d3bc384
porting other suggestion
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
feed90c0e2
re-implement get regions
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
62d84c1e14
(cloudwatch) move query parameter to 'parameters'
2017-09-29 13:44:01 +09:00
Mitsuhiro Tanda
83b79dd624
fix test
2017-09-29 13:44:00 +09:00
Mitsuhiro Tanda
728e96e134
fix invalid query filter
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
Torkel Ödegaard
b8d9722b4f
tech: removing unused variables from typescript files, and making tslint rules more strict
2017-09-21 16:40:18 +02:00
Ryan Patterson
a20c419583
Fully fill out nulls in cloudfront data source ( #9268 )
...
Summary:
Previously, cloudwatch data sources would only fill in a single null value if
there was missing data. This results in behavior described in #9267 . This
resolves that issue by filling the entire missing period with null values. The
null values can then be interpreted as normal by the graphing frontend.
Test Plan:
Used on a data source that had missing data for many consecutive periods.
Ensured that the graph remained at 0 across the entire window.
2017-09-18 11:12:52 +02:00
Torkel Ödegaard
f6100dd8eb
ux: success/error alerts refactoring, #9214
2017-09-12 09:05:32 +02:00
Torkel Ödegaard
5d2054323b
Merge branch 'aws-instance-attribute-tags' of https://github.com/paco3346/grafana into paco3346-aws-instance-attribute-tags
2017-08-01 09:38:58 +02:00
Torkel Ödegaard
73a1a262ef
Merge branch 'v4.4.x'
2017-07-31 22:33:36 +02:00
Torkel Ödegaard
0fcc87010a
fix: cloudwatch fix for templating namespace argument to metrics tempalting function, fixes #8965
2017-07-31 22:30:49 +02:00
Mitsuhiro Tanda
91a533d948
(cloudwatch) high resolution custom metrics ( #8958 )
...
* support 1 second resolution Custom Metrics
* upgrade to aws-sdk-go v1.10.18
* simplify period calculation
* add test
* fix period calculation bug
2017-07-31 21:19:19 +02:00
Daniel Lee
3a075be7e9
cloudwatch: make dimension text in alias popover clearer
2017-07-07 18:17:05 +02:00
Michael Ambrose
f0169656ba
Added test to for Cloudwatch EC2 tag selection
2017-06-07 16:53:49 -04:00
Michael Ambrose
525da95f49
Updated cloudwatch plugin to allow specific tag selection
...
Tags come back from AWS as a key value pair inside an array
This array is now converted to an object
Tags can be selected when using the 'ec2_instance_attribute' query
Example: `ec2_instance_attribute(us-east-1, Tags.Name, { "tag:Grafana": [ "true" ] })`
2017-06-07 16:53:49 -04:00
柯豪
b7a1ff753a
update name for AWS credentials ( #8287 )
2017-05-04 11:44:36 +02:00
Mitsuhiro Tanda
62d11c147b
(cloudwatch) fix dimension value find query ( #8159 )
2017-04-19 07:12:59 +02:00
Torkel Ödegaard
c68fffcd6d
ux: popover forms
2017-04-13 20:28:13 +02:00
Daniel Lee
69bec98962
chore: update all grafana.org urls to .com
2017-03-21 15:37:55 +01:00
Mitsuhiro Tanda
68bb417db9
support [[var]] in cloudwatch datasource ( #7649 )
...
* support [[var]] form in cloudwatch datasource
* support multi variable in single dimension
* fix test
2017-02-23 15:02:35 +01:00
bergquist
163036591d
tech(build): fixes broken build
2017-01-30 15:04:55 +01:00
Kerim Satirli
797e2ea25d
Adds London and Canada AWS Regions
2016-12-27 14:10:36 +01:00
Torkel Ödegaard
330c1b945e
refactor(datasource): refactoring datasource secure json fields handling, #6697 , #6692
2016-12-14 21:06:10 +01:00
Torkel Ödegaard
b38e9b0cac
fix(cloudwatch): removed debugger statement
2016-12-14 20:40:02 +01:00
Torkel Ödegaard
c3920bfba1
fix(cloudwatch): fixed broken cloudwatch edit page, #6697
2016-12-14 20:38:35 +01:00
Mitsuhiro Tanda
5f6a3ecd56
(cloudwatch) don't expand variable when panel or row repeat is used ( #6618 )
...
* (cloudwatch) don't expand variable when panel or row repeat is used
* fix test
2016-12-06 08:16:41 +01:00
Mitsuhiro Tanda
be26c017f6
(cloudwatch) percentile support ( #6634 )
...
* support extended statistics
* handle different response format for extended statistics
2016-12-06 08:12:30 +01:00
bergquist
7bc1c3cc1c
feat(cloudwatch): make it possible to reset keys
...
closes #6697
2016-11-24 16:37:33 +01:00
bergquist
3d21f06d5b
tech(cloudwatch): store keys in secure json blob
2016-11-24 14:16:52 +01:00
bergquist
1695aece0c
feat(cloudwatch): add authtype dropdown to config page
2016-11-24 14:00:05 +01:00
bergquist
64784db870
feat(cloudwatch): adds access and secret key to edit config page
2016-11-24 14:00:05 +01:00
Mitsuhiro Tanda
9740752c1e
(cloudwatch) long retention support ( #6547 )
2016-11-16 10:50:33 +01:00
Andrew McDonald
b98f817d68
Fix for cloudwatch datasource requesting too many datapoints ( #6544 )
...
The range checking in _getPeriod appeared to be using a different variable than the period that had just been calculated for its bounds checks.
2016-11-11 08:54:44 +01:00
Roger Swingle
69ff13adce
add govcloud
2016-11-07 13:56:29 -05:00
Mitsuhiro Tanda
888619d74e
(cloudwatch) add region
2016-10-18 12:28:20 +09:00
mkm85
977cdd5933
Fix cloudwatch multivalue ( #6282 )
...
* Fixed missing contains variable problem
* allow All option to be used in cloudwatch templating
2016-10-17 11:33:28 +02:00
Peter Dave Hello
bf4c3f3ae6
optimize png images using zopflipng ( #6197 )
2016-10-05 15:57:50 +02:00
bergquist
96ca69c5a9
tech(cloudwatch): extract method
2016-10-03 10:31:07 +02:00
bergquist
6b7015799c
Merge branch 'cloudwatch_interval' of https://github.com/mtanda/grafana into mtanda-cloudwatch_interval
2016-10-03 08:51:33 +02:00
Mitsuhiro Tanda
71b5007ec7
refactor
2016-09-20 11:04:23 +09:00
Mitsuhiro Tanda
07cce5f6bd
refactor
2016-09-20 11:04:23 +09:00
Mitsuhiro Tanda
481cc01242
(cloudwatch) add test for expand templater variables
2016-09-20 11:04:23 +09:00
Mitsuhiro Tanda
540436e9d5
inject templateSrv
2016-09-20 11:04:23 +09:00
Mitsuhiro Tanda
490141da82
(cloudwatch) expand multi select template variable
2016-09-20 11:03:35 +09:00
Torkel Ödegaard
649d9f9177
tech(lodash): upraded lodash to 4.15.0, closes #6021
2016-09-14 09:17:10 +02:00
Torkel Ödegaard
0fa0066cd9
tech(lodash): began migration work
2016-09-13 22:10:44 +02:00
Mitsuhiro Tanda
07d355851e
(cloudwatch) assume role support ( #5065 )
...
* (cloudwatch) assume role support
* save godep
* (cloudwatch) add assumeRoleArn field
* (cloudwatch) set cred provider for sts
* (cloudwatch) fix test
2016-05-18 07:54:24 +02:00
Torkel Ödegaard
0ebd921bbb
feat(query editors): updated cloudwatch to new form styles
2016-04-27 11:07:26 +02:00
Mitsuhiro Tanda
ab9abee67b
(cloudwatch) add test for interval variable
2016-04-20 01:27:44 +09:00
Mitsuhiro Tanda
2e5a1328a8
(cloudwatch) support interval template variable
2016-04-19 22:57:34 +09:00
Torkel Ödegaard
e307ada374
ux(): tooltip improvement
2016-04-15 19:56:39 -04:00
Torkel Ödegaard
905d31442c
fix(annotations): make sure a data source that supports annotations is used in annotation editor when creating new
2016-04-12 10:16:40 -04:00
Daniel Lee
45b90972dc
feat(plugins): adds a readme for every native plugin
2016-03-30 23:33:30 +02:00
Torkel Ödegaard
82ad5a632d
tech(): fixed broken tests due to angularjs upgrade
2016-03-28 20:44:32 +02:00
Mitsuhiro Tanda
381a48f21d
(cloudwatch) remove duplicative attribute
2016-03-16 15:41:52 +09:00
Torkel Ödegaard
82eb32a71e
ux(): initial pass at new card / list design, #4364
2016-03-15 09:15:24 +01:00