(aws-lambda): when tracing set to disabled after being enabled, only active tracing is disabled not enhanced monitoring #28526
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
Using the aws cdk Java with a singleton function of form:
previously I had Tracing.ACTIVE set but now want to disable all extra monitoring.
When you deploy with tracing disabled now it disables active tracing but leaves enhanced monitoring active.
Expected Behavior
Enhanced monitoring should also be disabled.
Current Behavior
Enhanced monitoring is enabled
Reproduction Steps
Use code provided above
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.115.0 (build 58027ee)
Framework Version
No response
Node.js Version
18
OS
osx
Language
Java
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: