Closed a7i closed 9 months ago
Hey @a7i - this appears to be a mistake in the documentation. Critical (or Alert
, as it's called in the app), is a required field for a monitor:
warning
should be optional. I can update the documentation.
@astuyve I would expect it to merge the values from thresholds
as critical
value of 0.1
is the default for high_error_rate
. It appears that it's overriding the whole thresholds
map.
Hi @a7i - we're leaving this open to see if other users would want this feature, but we're not prioritizing it in the near term.
Thanks for the report!
Closing this as it's been over a 18 months with no additional requests. Feel free to re-open, or formalize a feature request if there are further questions!
Expected Behavior
Per README, Defining the following monitor should work
Actual Behavior
sls deploy produces the following error:
The error will only go away only if you add
critical
to thresholds as the following example worksSteps to Reproduce the Problem
critical
Serverless: Error occurred when configuring monitors.
Specifications
"serverless-plugin-datadog": "^3.2.1"
image
Stacktrace