Commit Graph

15 Commits

Author SHA1 Message Date
Kevin Yu
6f8852095e
CloudWatch: Remove core imports from CloudWatchRequest (#81422)
* CloudWatch: Remove core imports from CloudWatchRequest and use appEvents for notifications

* add error message to variable query editor multi filters

* fix tests

* fix lint

* fix lint

* add test for non multi-variable

* pr comments
2024-02-06 22:22:41 +02:00
Isabella Siu
4fa6bad7c0
CloudWatch: Remove dependency on local TemplateSrv (#79283) 2024-01-09 16:52:37 -05:00
Isabella Siu
d894f4cc79
CloudWatch: Correctly quote metric names with special characters (#78958) 2023-12-01 14:37:09 -05:00
Isabella Siu
c6232351f2
CloudWatch Logs: Support fetching fields in monaco editor (#78244) 2023-11-29 10:37:23 -05:00
Isabella Siu
72a085ea20
Cloudwatch: Add DB_PERF_INSIGHTS to Metric Math (#77241) 2023-10-26 16:08:52 -04:00
Isabella Siu
2054c53877
CloudWatch Logs: Add pattern command to syntax (#76152) 2023-10-16 10:46:17 -04:00
Kevin Yu
44a1f10b10
Cloudwatch Logs: Add autosuggest to logs query editor (#71800)
* Cloudwatch: Add autosuggest to logs query editor

* move getSuggestion to LogsCompletionItemProvider

* remove debug stuff

* add tests

* fix lint
2023-07-18 14:26:11 -07:00
Kevin Yu
31e142633d
CloudWatch Logs: Add getStatementPosition function for Monaco editor (#70724)
* CloudWatch Logs: Add getStatementPosition function for Monaco editor

* Add test cases

* add command and function arg positions

* remove unneeded statement position

* remove debug stuff

* remove unneeded cases

* add filterarg

* remove editor changes

* fix tests

* fix lint

* add debug for testing

* Revert "add debug for testing"

This reverts commit 22dd0e7a77eb43dbed7c065c246da04cddfa1afc.
2023-07-17 13:43:48 -07:00
Kevin Yu
ee28e9320c
Cloudwatch Logs: Update language definition for Monaco editor (#71402) 2023-07-12 09:25:24 -07:00
Kevin Yu
a2a890e85b
Cloudwatch: Add comment and regexp to TokenTypes interface (#71399)
* Cloudwatch: Add comment and regexp to TokenTypes interface

* fix lint
2023-07-11 14:43:08 -07:00
Isabella Siu
5a831d877a
CloudWatch Logs: add monaco editor feature flag and types (#69871) 2023-06-12 09:49:52 -04:00
Isabella Siu
268d09affd
CloudWatch Logs: Create monarch language syntax (#69741) 2023-06-08 14:45:29 -04:00
Kevin Yu
96453c6e69
CloudWatch: Fix cachedQueries insights not being updated for metric queries (#65495) 2023-04-03 06:31:14 -07:00
Kevin Yu
75f89e67af
Cloudwatch Logs: Fix log group names not interpolating with multiple variables (#64567)
* Cloudwatch Logs: Fix log group names not interpolating with multiple variables

* fix test
2023-03-10 11:00:35 -08:00
Erik Sundell
78184f37c4
Cloudwatch: Restructure languages in plugin root (#61490)
Co-authored-by: Isabella Siu <isabella.siu@grafana.com>
2023-01-19 14:04:28 -05:00