epsagon/serverless-plugin-epsagon

The AWS CloudWatch Log Group Subscription filter still be added if disabling Epsagon function at a function level

kunhuangau opened this issue · 1 comments

The service level Epsagon is enabled as below:
custom:
epsagon:
disable: false

One of the function disabled the Epsagon in function level, but the AWS Cloudwatch Log Group subscription filter still be added for this function. Can we make the subscription filter be added only Epsagon Enabled? Thanks

Hi @kunhuangau, the traces and subscription are two different things, managed by different services in Epsagon. We can talk more about how you can stream logs into 2 places or disable it for a specific function.