Notes
This release of the Python agent provides fixes for early activation in Django instrumentation, server side overrides for max_samples_stored
being ignored, and guards against crashes from trace_cache.pop()
.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
Bug fixes
-
Prevents early activation in Django instrumentation
- Remove calls to
application_settings()
in Django instrumentation to prevent issues with early activations in pre-fork applications.
- Remove calls to
-
Fix server configuration to local configuration sync issues
- This fixes a bug created when
event_harvest_config.harvest_limits.*
settings were deprecated in favor of*.max_samples_stored
settings. Some server side configurations were not overriding the client side configurations, resulting in data being sent to the collector despite the user disabling this.
- This fixes a bug created when
-
Guard against crashes from
trace_cache.pop()
- In the
ContextOf
class, there was an unsafe access of thetrace_cache
viapop(key)
without a default value. This caused crashes when theweakref
in the dictionary was already garbage collected.
- In the