This release of the Python agent includes changes to the agent to enable monitoring of Lambda functions, improves the built-in Sanic instrumentation, and includes various bug fixes.
Monitoring of Lambda functions
This release includes changes to the agent to enable monitoring of Lambda functions. If you are interested in learning more or previewing New Relic Lambda monitoring please email email@example.com.
Improve naming of Sanic HTTPMethodView view handlers
Sanic views that were defined using the HTTPMethodView class were previously all named HTTPMethodView.as_view.
.view regardless of the actual class in use. The agent will now name transactions after the actual view handler class.
Fix ignored error reporting in CherryPy instrumention
When missing query parameters, unexpected query parameters, unexpected positional arguments, or duplicate arguments were present in the CherryPy framework, a TypeError exception was recorded even when an ignored response status code (such as a 404) was generated. An error is no longer recorded when it results in the generation of an ignored status code.
request.urifrom transaction trace attributes hides it in the UI
request.uriis added to either
transaction_tracer.attributes.exclude, the value will now no longer appear in the APM UI for transaction traces.
Ability to disable sending
request.urias part of error traces
Error traces will now respect excluding
request.uriwhen added to the attributes.exclude list in the newrelic.ini configuration file.
Fix tracing of functions returning generators
When tracing generators whose parent traces have ended an error was seen in the logs "Transaction ended but current_node is not Sentinel." This has now been fixed.