CloudWatch Logs: Support Log Anomalies query type (#113067)

This commit is contained in:
Ida Štambuk
2025-10-29 18:47:33 +01:00
committed by GitHub
parent de88abafdd
commit 30bd4e7dba
19 changed files with 1080 additions and 35 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ func Test_executeSyncLogQuery(t *testing.T) {
executeSyncLogQuery = origExecuteSyncLogQuery
})
t.Run("when query mode is 'Logs' and does not include type or subtype", func(t *testing.T) {
t.Run("when query mode is 'Logs Insights' and does not include type or subtype", func(t *testing.T) {
origExecuteSyncLogQuery := executeSyncLogQuery
syncCalled := false
executeSyncLogQuery = func(ctx context.Context, e *DataSource, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error) {