Andreas Christou
b779ce5687
AzureMonitor: Improve Log Analytics query efficiency (#74675)
* Promisify loading schema
- Move schema loading to LogsQueryEditor
- Improve typing
- Switch callbacks to promises
* Update types
* Refactor backend for new props
- Rename intersectTime
- Support setting timeColumn
- Add additional properties to logs request body
* Update applyTemplateVariables
* Update set functions
* Add new TimeManagement component
* Update LogsQueryEditor
* Hardcode timestamp column for traces queries
* Ensure timeColumn is always set for log queries
* Update tests
* Update frontend tests
* Readd type to make migration easier
* Add migration
* Add fake schema
* Use predefined type
* Update checks and defaults
* Add tests
* README updates
* README update
* Type update
* Lint
* More linting and type fixing
* Error silently
* More linting and typing
* Update betterer
* Update test
* Simplify default column setting
* Fix default column setting
* Add tracking
* Review
- Fix typo on comment
- Destructure and remove type assertion
- Break out await into two variables
- Remove lets and rename variable for clarity