Shirley
2316178565
CloudWatch: Remove dynamic labels feature toggle ( #67371 )
2023-05-02 10:48:17 +02:00
Shirley
8516e63937
CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in frontend ( #67222 )
2023-05-01 11:10:36 +03:00
Shirley
e17496d79a
CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in backend ( #66494 )
2023-04-27 11:19:45 +02:00
Shirley
d120c05608
CloudWatch: Fix test on metric stat editor statistic field ( #67064 )
2023-04-22 11:28:34 +02:00
Shirley
ae23ef5b41
CloudWatch: Refactor around handleGetRegions ( #65713 )
...
* Create minimal EC2 interface
* convert regions variable to a function returning a copy
* Add test for multiple calls to regions to check regionsCache
* Add returns to handler after error
* Refactor handleGetRegions
2023-04-11 19:55:57 +02:00
Shirley
972e611f76
CloudWatch Logs: Revert "Queries in an expression should run synchronously ( #64443 )" ( #65036 )
...
Revert "CloudWatch Logs: Queries in an expression should run synchronously (#64443 )"
This reverts commit 74436d31de .
2023-03-20 15:54:30 +01:00
Shirley
3a57304ef0
CloudWatch: Remove error for multi-value variable in logs runner ( #63522 )
...
Remove error for multi template variable in CW logs runner
2023-02-22 10:35:39 +01:00
Shirley
32b96a586f
CloudWatch: Add deprecation tooltip to Alias field ( #63115 )
...
* CloudWatch: Add deprecation tooltip to Alias field
* Add target blank
* Add noopener noreferrer
2023-02-09 17:50:29 +01:00
Shirley
cd86758a35
CloudWatch: Use grafana-aws-sdk v0.12.0 ( #62007 )
2023-01-25 09:22:33 +01:00
Shirley
06a2943cb6
Cloudwatch: Refactor logs query field ( #59503 )
...
* Refactor LogsQueryField to function component (#59503 )
2022-12-15 10:54:05 +01:00
Shirley and Erik Sundell
db145774d3
CloudWatch: Fix logs insights deeplink ( #59906 )
...
* CloudWatch: Add arns to log insights button
* start test
* convert to function component
* add tests
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2022-12-13 14:50:39 +01:00
Shirley and Erik Sundell
5c08f03512
CloudWatch: Fix deeplinks to still be able to pass log group names ( #59809 )
...
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2022-12-07 11:40:15 -05:00
Shirley
e8ed79873a
CloudWatch: return silently in case of missing log groups or incomplete query ( #59701 )
...
* Remove defaultLogGroups check in filterQuery
2022-12-07 16:37:35 +01:00
Shirley
1c5a3a7d2c
CloudWatch: Create deeplinks from log group ARNs ( #59646 )
2022-12-02 11:25:34 +01:00
Shirley
ada0c771ef
CloudWatch: Return with error message for empty logs query string ( #59584 )
2022-12-02 10:01:01 +01:00
Shirley
7cec30f0e1
CloudWatch: Fix flaky test assertions ( #59234 )
2022-11-23 17:13:47 +01:00
Shirley and Erik Sundell
c43e1a721f
CloudWatch: fix custom namespace for listing dimension keys, refactor to non-pointer types, add test assertions, rename packages ( #59106 )
...
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2022-11-22 15:59:11 +01:00
Shirley
82d09e0647
CloudWatch: Refactor test mock by removing GetMetricsData from FakeMetricsAPI ( #58355 )
2022-11-08 10:28:50 +01:00
Shirley
c2e9e797b3
CloudWatch: fix non-deterministic test ( #57831 )
2022-10-28 10:05:55 -04:00
Shirley
96beb3a3f1
Cloudwatch: refactor parsing metric data queries ( #57624 )
2022-10-27 14:10:49 +02:00
Shirley
76a3a1eda7
CloudWatch: migrate tests to metrics data query request parsing level, add tests ( #57431 )
2022-10-25 15:53:54 +02:00
Shirley
9ebed91eed
CloudWatch: Refactor to extract DataQuery grouping by region out of request parsing ( #57392 )
...
* CloudWatch: Extract request parsing grouping by region from ParseQueries
* Rename ParseQueries to ParseMetricDataQueries
2022-10-24 14:57:32 +02:00
Shirley
cadc6088db
CloudWatch: move QueryData input parsing types to separate package ( #57165 )
...
* CloudWatch: move parse request types separate package
* Move metric query constants, unexport metricDataQuery json decoding type
* Unexport isSearchExpression
2022-10-20 11:21:13 +02:00
Shirley
65939ce5b1
CloudWatch: Move logger to its own package and minor refactoring ( #57107 )
...
* Move log to its own package
* Rename test-data to testdata
* Change alias to string type
* Remove parseQueries from a method of cloudWatchExecutor
2022-10-18 04:21:18 -04:00
Shirley
09079bfb65
Upgrade to grafana-aws-sdk v0.11.0 ( #56042 )
2022-09-30 13:51:28 +02:00
Shirley
bdd0af0645
Build: Refactor cron_job_pipeline to take the cron name as a parameter ( #54899 )
2022-09-08 13:36:36 +02:00
Shirley
7f73f65bcd
CloudWatch: Refactor tests to assert struct instead of marshalled json ( #52024 )
...
* CloudWatch: Refactor tests to assert struct instead of marshalled json
* apply linter suggestion
* Move false next to average
2022-07-25 05:48:09 -04:00
Shirley and Erik Sundell
ef9e08ffcf
CloudWatch: Change aggregateResponse to return slice instead of map ( #48805 )
...
* Rename tests
* Change test names
* Change metrics from map to slice
* Add test for one output, multiple MetricDataResults
* Rename test input file
* Use map instead of iterating over the response metrics
* Rename variable
* move partial data set to query row response
* remove not used label field
* remove incorrect placeholder
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2022-05-18 09:16:38 +02:00
Shirley
5c2dee19d5
CloudWatch: Refactor tests, remove unused parameters ( #48815 )
2022-05-08 09:27:03 +02:00
Shirley
b35ca8c08d
CloudWatch: Pass label in GetMetricData API request when dynamic label feature toggle is enabled ( #48574 )
2022-05-05 13:59:23 +02:00
Shirley
27821e0bc1
CloudWatch: Migrate alias to dynamic labels ( #48555 )
2022-05-03 13:41:51 +01:00
Shirley
da035e823f
CloudWatch: Pass feature toggles to backend ( #48547 )
2022-04-29 17:47:46 +02:00
Shirley
7bb4f5cd9b
CloudWatch: Add dynamic labels feature toggle ( #48498 )
2022-04-29 11:43:04 +02:00
Shirley
79d328fcbc
CloudWatch: Add tests for data frame naming in formatAlias ( #47899 )
2022-04-21 15:11:23 +02:00
4f26129aa4
CloudWatch: Run query on blur in logs query field ( #47454 )
...
* Cloudwatch: add test to ensure RunQuery is fired onBlur of LogQuery
Also remove the `onBlur` prop for the `QueryField` in `LogsQueryField` since `QueryField` is configured to re-run
queries `onBlur` by default.
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
Co-authored-by: Isabella Siu <isabella.siu@grafana.com >
Co-authored-by: Adam Simpson <adam@adamsimpson.net >
2022-04-18 18:05:10 +00:00
Shirley
fe3a27a2ab
Fix wildcard on branches-ignore backport ( #47679 )
...
Fixes https://github.com/grafana/code-coverage/issues/11
2022-04-13 11:15:22 +02:00
Shirley
4b889eb336
Change to pointer receiver in mock call ( #47575 )
2022-04-12 16:22:28 +02:00
Shirley
91bfd7fbf0
Chore: Add code coverage workflow for cloud data sources ( #47048 )
2022-04-05 16:13:18 +02:00
Shirley
499445a5f9
Azure Monitor: Bump core plugin version ( #46776 )
...
* Azure Monitor: Bump core plugin version
* Remove updated, update learn more link
2022-03-21 19:01:26 +01:00
Shirley
438512c7ef
CloudWatch: Add tests to query input region in executeLogAlertQuery ( #46212 )
2022-03-04 11:15:36 +01:00
Shirley
e39d5382cf
CloudWatch: Update minimal policies documentation ( #45478 )
...
* Separate metrics and logs policies
* Update policy examples
Removes GetMetricStatistics which is no longer used
* WIP for testDatasource
* WIP add datasource health check test
* Undo changes on imports
2022-03-03 17:00:10 -05:00
Shirley
1255f8a76a
Unexport mocks, use aws-sdk-go helpers, rename test utilities file ( #46107 )
2022-03-03 09:42:51 +01:00
Shirley
a68a570e92
CloudWatch: Add test to executeStartQuery ( #45888 )
...
* CloudWatch: Add test to executeStartQuery
* Add test for absence of limit
* Restrict assertions to limit in some tests
2022-02-25 13:14:59 +00:00
Shirley
304185f682
CloudWatch: Fix running go test with count ( #45892 )
2022-02-25 12:20:07 +01:00
Shirley
1c1a45a880
CloudWatch: Add tests to annotations query ( #45337 )
2022-02-15 12:45:50 +01:00
Shirley
89a0c0fc37
Cloudwatch: Remove unused parameters ( #45237 )
...
* Remove unused parameters
* Remove unused context
* Make plugin context first parameter
2022-02-10 17:15:11 +01:00
Shirley
5edcc2e795
Cloudwatch: Use generic null-insertion mechanism ( #43507 )
...
* Cloudwatch: Fix nil values for a period gap in metrics
* Use fields periods for intervals
2022-02-10 10:17:45 +01:00
Shirley
67423f42a5
Update latest.json ( #45171 )
2022-02-09 18:15:44 +01:00
Shirley
75263ed7cc
Use ids instead of aria-labels ( #44012 )
2022-01-18 14:31:51 +01:00
Shirley
9f404daf9f
Cloudwatch: Improve accessibility in metrics search and query builders ( #43997 )
...
* Add more aria labels on metrics search and query builders
* Use id for Input
2022-01-14 14:56:00 +01:00
Shirley
105bf8fd94
Remove valid aggregation type check ( #43955 )
2022-01-12 15:36:56 +01:00
Shirley
ba58b34219
CloudWatch: a11y: Add missing aria labels on explore metrics/logs editor ( #43580 )
...
* CloudWatch: a11y: Add missing aria labels on explore metrics/logs editor
2022-01-05 09:46:05 +01:00
Shirley
3326c3ab7b
AzureMonitor: Exclude ( in second capturing group for CodeQL ReDoS vulnerability ( #43494 )
2021-12-23 15:10:35 +01:00
Shirley and achatterjee-grafana
5cffd98e24
Docs: Update Google Cloud Monitoring documentation ( #43135 )
...
* Update documentation
* Correct urls
* Correct provisioning data source url anchor
* Use relref and replace variable syntax section with official doc link
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/datasources/google-cloud-monitoring/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Put back 'and'
* Change the numbering to 1
* Change numbering back to 1
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-12-17 17:41:01 +01:00
Shirley
acb1f54128
Chore: Update and replace redundant wording ( #43138 )
...
* Replace redundant wording
* Add term key
* Reduce wording and move down tooltip
* Reduce margin between tooltip and button
* Correct manual margin to same as button's
2021-12-17 13:45:24 +01:00
Shirley
21656a0491
Remove reference to legacydata package ( #43075 )
...
* Remove reference to legacydata package
* Change from and to times
2021-12-14 12:58:31 +01:00