-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
DataDog/serverless-sample-app
#425Labels
@aws-cdk/aws-logsRelated to Amazon CloudWatch LogsRelated to Amazon CloudWatch LogsbugThis issue is a bug.This issue is a bug.p2
Description
Describe the bug
And the props only support one:
aws-cdk/packages/aws-cdk-lib/aws-logs/lib/query-definition.ts
Lines 57 to 62 in d8e6c09
/** | |
* Uses log field values to calculate aggregate statistics. | |
* | |
* @default - no stats in QueryString | |
*/ | |
readonly stats?: string; |
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Library Version
latest
Expected Behavior
Support 2 stats.
You can use as many as two stats commands in a single query. This enables you to perform an additional aggregation on the output of the first aggregation.
Current Behavior
Supports 1 stats.
Reproduction Steps
Look at the code.
Possible Solution
Add support for 2 stats.
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
N/A
AWS CDK CLI version
N/A
Node.js Version
N/A
OS
N/A
Language
TypeScript
Language Version
N/A
Other information
No response
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-logsRelated to Amazon CloudWatch LogsRelated to Amazon CloudWatch LogsbugThis issue is a bug.This issue is a bug.p2