forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CloudWatch: Refactor tests, remove unused parameters (grafana#48815)
- Loading branch information
1 parent
99eaa0f
commit 5c2dee1
Showing
7 changed files
with
93 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
pkg/tsdb/cloudwatch/test-data/multiple-outputs-query-b.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"Messages": null, | ||
"MetricDataResults": [ | ||
{ | ||
"Id": "b", | ||
"Label": "label2", | ||
"Messages": null, | ||
"StatusCode": "Complete", | ||
"Timestamps": [ | ||
"2021-01-15T19:44:00Z" | ||
], | ||
"Values": [ | ||
0.1333395078879982 | ||
] | ||
} | ||
], | ||
"NextToken": null | ||
}, | ||
{ | ||
"Messages": [ | ||
{ "Code": "", "Value": null }, | ||
{ "Code": "MaxMetricsExceeded", "Value": null }, | ||
{ "Code": "MaxQueryTimeRangeExceeded", "Value": null }, | ||
{ "Code": "MaxQueryResultsExceeded", "Value": null }, | ||
{ "Code": "MaxMatchingResultsExceeded", "Value": null } | ||
], | ||
"MetricDataResults": [ | ||
{ | ||
"Id": "b", | ||
"Label": "label2", | ||
"Messages": [{ | ||
"Code": "ArithmeticError", | ||
"Value": "One or more data-points have been dropped due to non-numeric values (NaN, -Infinite, +Infinite)" | ||
}], | ||
"StatusCode": "PartialData", | ||
"Timestamps": [ | ||
"2021-01-15T19:44:00Z" | ||
], | ||
"Values": [ | ||
0.1333395078879982 | ||
] | ||
} | ||
], | ||
"NextToken": null | ||
} | ||
] |