Open ceagan opened 2 weeks ago
Hey @ceagan, thanks for creating this issue. This default monitor alerts on any functionname
, region
, and aws_account
in a given stack. The monitor title is expected to have unresolved variable names until alert time, at which point the variables will be populated in the alert notification based on the specific functionname
, region
, aws_account
combo that is experiencing high errors. That said, I think the variables are currently in the wrong format ($functionName
vs. {{ functionname.name }}
), so I've gone ahead and filed a ticket on our side.
Expected Behavior
When specifying a simple DataDog configuration like the following, the
high_error_rate
monitor should be created with a name that includes the information specific to the deployment and should not include unresolved variable references.Actual Behavior
The
high_error_rate
monitor is created with a name ofHigh Error Rate on $functionName in $regionName for $awsAccount
with the variables left in variable notation.Steps to Reproduce the Problem
serverless deploy
Specifications