lambda: Aliases generate incorrect metric configurations #3724
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
needs-reproduction
This issue needs reproduction.
🐛 Bug Report
What is the problem?
When using the
metric*
methods on an@aws-cdk/aws-lambda.Alias
instance, the generated metric configuration object uses the Alias' ARN as theFunctionName
dimension, which is incorrect.The text was updated successfully, but these errors were encountered: