Alerting: Fix rule editor issues with Azure Monitor data source (#41317)
* properly set query type * set default unit from data when found * make AlertQueryRunner take into account ds.filterQuery * fix tests * feedback after pr Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
This commit is contained in:
@@ -170,15 +170,6 @@ class DataSourceWithBackend<
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Override to skip executing a query
|
||||
*
|
||||
* @returns false if the query should be skipped
|
||||
*
|
||||
* @virtual
|
||||
*/
|
||||
filterQuery?(query: TQuery): boolean;
|
||||
|
||||
/**
|
||||
* Apply template variables for explore
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user