You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running sls remove monitors are not deleted but left hanging.
Running deploy with monitors removed also doesn't work either even though documentation states otherwise:
Actual Behavior
Removing monitors or service doesn't remove monitors of that service.
Steps to Reproduce the Problem
Deploy sls application with simple monitor
Deploy sls application without monitor
❌ Monitor is still there
Remove that sls application
❌ Monitor is still there
Specifications
Serverless Framework version: 3.38.0
Datadog Serverless Plugin version: 5.62.0
Lambda function runtime (Python 3.7, Node 10, etc.): Node 20
The text was updated successfully, but these errors were encountered:
Right now we don't remove monitors on SLS remove, we don't even subscribe to any of those lifecycle events. At this time I don't expect to support that use case, but you're welcome to submit a PR if you're interested.
I'm not sure why removing an individual monitor didn't work for you. I'll try to reproduce that and take a look.
Expected Behavior
When running
sls remove
monitors are not deleted but left hanging.Running deploy with monitors removed also doesn't work either even though documentation states otherwise:
Actual Behavior
Removing monitors or service doesn't remove monitors of that service.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: