Isabella Siu
146c90d59e
CloudWatch: fix log explorer context ( #52118 )
2022-07-19 13:59:30 -04:00
Isabella Siu
8ba8e1df83
CloudWatch: fix variable query migration with json template variables ( #51207 )
...
* CloudWatch: fix variable query migration with json template variables
* fix error messages
* changes for reviews
* fix lint
* fix betterer
2022-06-23 14:23:56 -04:00
Erik Sundell
fcbe0059c2
CloudWatch: Allow hidden queries to be executed in case an ID is provided ( #50987 )
...
* allow hidden queries in case an id is provided
* cleanup test
* name tests properly
2022-06-17 10:24:38 +02:00
Kevin Yu
dca0453c2e
CloudWatch: Add multi-value template variable support for log group names in logs query builder ( #49737 )
...
* Add multi-value template variable support for log group names
* add test for multi-value template variable for log group names
* add test
2022-06-01 10:23:31 -07:00
Isabella Siu
b80934617b
CloudWatch: Use scopedVars in expressions ( #49178 )
...
* CloudWatch: Use scopedVars in expressions
* fix spec test
2022-05-26 17:03:55 -04:00
Erik Sundell
3106af9eec
Cloudwatch: Set time zone offset in GMD request ( #48772 )
...
* set timezone offset in case feature is enabled
* add unit tests
* add unit tests
* remove unused import
2022-05-16 12:15:54 +02:00
Isabella Siu
74c2c2ccf0
CloudWatch: add generic filter component to variable editor ( #47907 )
...
* CloudWatch: add generic filter component to variable editor
* remove multi-text-select object
* remove hidden
* andres comments
* migration between 8.5 and this
* add waitFors to tests
* more await tweaks
* actually fix tests
* use popoverContent tooltip
* fix template variable handling
* prettier fix
* fix prettier 2
* feat: make tooltip links in query variable editor clickable
* fix template stuff
Co-authored-by: Adam Simpson <adam@adamsimpson.net>
2022-04-29 16:42:59 -04:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Isabella Siu
b1c68b5a12
CloudWatch: filter alert queries ( #47222 )
2022-04-04 12:06:31 -04:00
Erik Sundell
8e08128f83
CloudWatch: List all metrics properly in SQL autocomplete ( #45898 )
...
* make sure right value is passed for metric
* add unit test
2022-03-02 10:46:17 +01:00
Erik Sundell
1df040eb23
CloudWatch: Remove error message when using multi-valued template vars in region field ( #45886 )
...
* don't show error message when using multi-valued template variables in region field
* add unit tests
* remove commented code
2022-02-28 09:28:27 +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
renovate[bot]
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-02 12:02:32 +00:00
Erik Sundell
c3208c1850
allow search queries without dimensions ( #42800 )
2021-12-07 12:43:01 +01:00
Erik Sundell
bab78a9e64
CloudWatch: Add support for AWS Metric Insights ( #42487 )
...
* add support for code editor and builder
* refactor cloudwatch migration
* Add tooltip to editor field (#56 )
* add tooltip
* add old tooltips
* Bug bash feedback fixes (#58 )
* make ASC the default option
* update sql preview whenever sql changes
* don't allow queries without aggregation
* set default value for aggregation
* use new input field
* cleanup
* pr feedback
* prevent unnecessary rerenders
* use frame error instead of main error
* remove not used snapshot
* Use dimension filter in schema picker (#63 )
* use dimension key filter in group by and schema labels
* add dimension filter also to code editor
* add tests
* fix build error
* fix strict error
* remove debug code
* fix annotation editor (#64 )
* fix annotation editor
* fix broken test
* revert annotation backend change
* PR feedback (#67 )
* pr feedback
* removed dimension filter from group by
* add spacing between common fields and rest
* do not generate deep link for metric queries (#70 )
* update docs (#69 )
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
* fix lint problem caused by merge conflict
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-11-30 10:53:31 +01:00
Andrej Ocenas
802ffa3f03
CloudWatch Logs: Add selected region to autocomplete requests ( #42194 )
...
* Add region to get fields query
* Fix and add tests
2021-11-26 13:33:34 +01:00
Andrej Ocenas
e237ff20a9
CloudWatch Logs: Add retry strategy for hitting max concurrent queries ( #39290 )
...
* Add error passing and retry strategy
* Change generic error to specific one
* Make the error more generic
* Refactor retry strategy
* Add retry that handles multiple queries
* Rollback some backend changes
* Remove simple retry strategy
* Add comments
* Add tests
* Small test fixes
* Add log timeout config
* Fix tests
* Fix tests
* Add validation
* Remove commented code and add comment
* Fix snapshots
* Remove unnecessary cast
2021-11-17 21:46:13 +01:00
Erik Sundell
eb40723bcb
Cloudwatch: Enable dimension filtering when loading dimension values ( #41566 )
...
* fix dimension filter
* refactor tests
* add comments
* fix typo
2021-11-11 16:48:35 +01:00
Andrej Ocenas
8cf7e520e8
CloudWatch Logs: Fix variable interpolation in queries ( #40899 )
...
* Interpolate variables in queries
* Remove test
2021-10-26 11:40:49 +02:00
Andrej Ocenas
515d6afec3
CloudWatch Logs: Disable query path using websockets (Live) feature ( #39231 )
...
* Use only non live branch for querying logs.
* Update tests
* fix lint
2021-09-15 16:28:34 +02:00
Andrej Ocenas
fb1c31e1b6
CloudWatch Logs: Add link to Xray data source for trace IDs in logs ( #39135 )
...
* Refactor log query handling
* Add link to config page
* Change message about missing xray to alert
* Add xrayTraceLinks
* Fix typo in field name
* Fix tests and lint
* Move test
* Add test for trace id link
* lint
2021-09-14 17:02:41 +02:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Erik Sundell
64d600f971
Cloudwatch: Move deep link creation to the backend ( #30206 )
...
* get meta data from dataframe meta
* gmdMeta is not used anymore
* wip: move deep link creation to backend
* Refactor backend. Remove not used front end code
* Unit test deep links. Remove not used frontend tests
* remove reference to gmdmeta
* fix goimports error
* fixed after pr feedback
* more changes according to pr feedback
* fix lint issue
* fix bad math expression check and fix bad test
* Decrease nesting
* put link on first data field only
2021-01-13 15:30:09 +01:00
Hugo Häggmark
b6efebd92c
Elastic: Fixes so templating queries work ( #30003 )
...
* Elastic: Fixes so templating queries work
* Chore: fixes test
* Fix: fixes getFields from metricFindQuery
2021-01-07 10:26:56 +00:00
Hugo Häggmark
b904e0c621
Chore: Removes observableTester ( #29369 )
2020-11-26 10:32:02 +01:00
Hugo Häggmark
32d4c8c6bc
CloudWatch: Support request cancellation properly ( #28865 )
2020-11-19 14:10:38 +01:00
Zoltán Bedi
6dbf1f830a
Cloudwatch: Fix duplicate metric data ( #28642 )
...
* Cloudwatch: Fix duplicate metric data
* Refactor reduce function to for of
2020-10-29 17:05:36 +01:00
kay delaney
2ac1bfcc79
Datasource/CloudWatch: More robust handling of different query modes ( #25691 )
...
* Datasource/CloudWatch: More robust handling of different query modes
A small refactor which changes how the CloudWatch datasource handles
multiple queries with different query modes. Groundwork for future
Logs/Metrics unification work.
2020-07-09 13:11:13 +01:00
Hugo Häggmark
e2ba0731e2
Chore: Upgrades jQuery and @types/jQuery ( #25651 )
...
* Chore: upgrades jQuery and @types/jQuery
* Chore: reduce strict null errors
* Fixed issue in graphite func editor
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-06-18 11:35:11 +02:00
Andrej Ocenas
d385045d16
CloudWatch/Logs: Add error message when log groups are not selected ( #24361 )
...
* Add error message
* Fix empty check
2020-05-11 12:53:42 +02:00
Andrej Ocenas
bfaec17c51
CloudWatch logs: Fix default region interpolation and reset log groups on region change ( #24346 )
2020-05-06 17:54:24 +02:00