Python Agent version 5.xedit

v5.3.2edit

Check the diff

Bug fixesedit
  • Added support for IPv6 address format when parsing urls #649

v5.3.1edit

Check the diff

New Featuresedit
  • Added support for shortening dicts in local variables #638

v5.3.0edit

Check the diff

New Featuresedit
  • Added instrumentation for mysql-connector and pymysql #603
  • Implemented stack_trace_limit configuration option #623
  • Autoinsert tracing middleware in django settings #625
Bug fixesedit
  • Fixed issue with transactions not being captured when errors occur in Flask #635

v5.2.3edit

Check the diff

Bug fixesedit
  • Ensure that metrics with value 0 are not collected if they have the reset_on_collect flag set #615
  • Unwrap postgres cursor for newly introduced psycopg2 extensions #621
  • Fix pod ID for kubernetes when using the systemd cgroup driver #631

v5.2.2edit

Check the diff

Bug fixesedit
  • Fixed an issue where a cpu_total of 0 could cause an exception #610, #611

v5.2.1edit

Check the diff

Bug fixesedit
  • Fixed an issue with DroppedSpans and logging integration #602
  • Fixed an issue with processors not being applied to chained exceptions #604

v5.2.0edit

Check the diff

New Featuresedit
  • Added automatic tagging of LogRecord objects with transaction, trace, and span IDs via a LogRecordFactory (Python 3.2+) #520, #586
  • Added logging filter and record factory for adding transaction, trace, and span IDs #520, #586
  • Added structlog processor for adding transaction, trace, and span IDs #520, #586
  • Added new public API calls for getting transaction, trace, and span IDs #520, #586
  • Added support for chained exceptions in Python 3 #596. Note that chained exceptions will be captured and stored in Elasticsearch, but not yet visualized in the APM UI. The UI component will be released in an upcoming Kibana release (7.5 or later).
  • Added support for using structlog for agent logging #591
Bug fixesedit
  • Drop events immediately if a processor returns a falsy value #585

v5.1.2edit

Check the diff

Bugfixesedit
  • Fixed an issue with http server_url and 'VERIFY_SERVER_CERT': False #570, #578
  • Fixed instrumenting of psycopg2 when using their context manager interface #577, #580
  • Fixed zerorpc tests #581
  • Fixed to correctly check if gevent has patched threading.local #579

v5.1.1edit

Check the diff

Bug fixesedit
  • Fixed an issue with empty responses from APM Server’s config endpoint #562, #563
  • Fixed Windows tests by avoiding time.sleep in breakdown metrics tests #537, #550
  • Fixed container ID matching to match CloudFoundry Garden container IDs #523, #564
  • Fixed an issue in the urllib instrumentation if no port is set #567
Otheredit
  • Added Python 3.8 RC to the test matrix #565

v5.1.0edit

Check the diff

Security issuesedit
  • This release fixes CVE-2019-7617
New Featuresedit
  • Added support for global labels which will be applied to every transaction/error/metric #549
  • Added support for NO_PROXY environment variable #458, #551
Bugfixesedit
  • Fixed an issue with using callables in set_context with unsampled transactions #541, #542
  • Limited the length of error.culprit to 1024 characters #491, #543
  • Fixed an issue with the instrument config option #546, #547
  • Limited the amount of distinct metrics to 1000 #540, #544

v5.0.0edit

Check the diff

Breaking changesedit
  • Implemented type/subtype/action hierachy for spans. Ensure that you run at least APM Server 6.6 #377
  • renamed tags to labels and changed API. The old API remains for backwards compatibility until 6.0 of the agent #538
Other changesedit
  • Added support for recording breakdown metrics #535
  • Added support for central config management #511
  • Added instrumentation for urllib2 (Python 2) / urllib.request (Python 3) #464
  • Added disable_metrics setting #399
  • Updated elasticsearch instrumentation for 7.x #482, #483
  • Fixed an issue with opentracing-python 2.1 #471
  • Fixed an issue with certificate pinning #497
  • Lowered log level of transport success messages #527, #531