CloudWatch: Make match exact toggle false by default (#113314)
This commit is contained in:
@@ -461,7 +461,7 @@ describe('datasource', () => {
|
||||
expect((datasource.getDefaultQuery(CoreApp.PanelEditor) as CloudWatchDefaultQuery).metricEditorMode).toEqual(
|
||||
MetricEditorMode.Builder
|
||||
);
|
||||
expect((datasource.getDefaultQuery(CoreApp.PanelEditor) as CloudWatchDefaultQuery).matchExact).toEqual(true);
|
||||
expect((datasource.getDefaultQuery(CoreApp.PanelEditor) as CloudWatchDefaultQuery).matchExact).toEqual(false);
|
||||
});
|
||||
it('should set default values from logs query', () => {
|
||||
const defaultLogGroups = [{ name: 'logName', arn: 'logARN' }];
|
||||
|
||||
@@ -24,7 +24,7 @@ export const DEFAULT_METRICS_QUERY: Omit<CloudWatchMetricsQuery, 'refId'> = {
|
||||
metricEditorMode: MetricEditorMode.Builder,
|
||||
sql: undefined,
|
||||
sqlExpression: '',
|
||||
matchExact: true,
|
||||
matchExact: false,
|
||||
};
|
||||
|
||||
export const DEFAULT_ANNOTATIONS_QUERY: Omit<CloudWatchAnnotationQuery, 'refId'> = {
|
||||
|
||||
Reference in New Issue
Block a user