This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Python Agent version 4.x
editPython Agent version 4.x
editv4.2.2 - 2019/04/10
edit- Fixed an issue with Celery and the prefork worker pool #444
- Fixed an issue when running uwsgi without a master process #446
- Fixed an issue with gevent/eventlet on Python 3.7 #451, #454
-
Introduced
IntervalTimer
and use it instead ofthreading.Timer
#452 - Added license header check as pre-commit hook #456
v4.2.1 - 2019/03/22
editv4.2.0 - 2019/03/20
edit- Implemented a new transport queue, which should avoid certain deadlock scenarios #411
- Implemented server certificate pinning #405
- Moved context.url to context.http.url for requests/urllib3 spans #393, #394
- Added support for using route as transaction name in Django 2.2+ #86, #396
- Added some randomness to time between requests to APM Server #426
- Fixed an issue with custom user models in Django using non-string usernames #397, #398
- Fixed an issue with sending kubernetes metadata to the API #401, #402
- Fixed an issue with parsing /proc/stat in RHEL/centos 6 #406, #407
- Added copyright header to all files, and a CI check #429
v4.1.0 - 2019/01/29
edit- Added support for collecting system and process metrics #361
- Added an OpenTracing bridge #388
-
Added
transaction.sampled
to errors #371 -
Added
transaction.type
to errors #391 -
Added parsing of
/proc/self/cgroup
to capture container meta data #352 - Added option to configure logging for Flask using a log level #344
-
Added
capture_headers
config option #392
v4.0.3 - 2018/12/24
editv4.0.1 - 2018/11/16
edit- Fixed an issue with instrumenting redis-py 3.0+
- Fixed a multithreading issue that occurs when using threaded workers #335
v4.0.0 - 2018/11/14
editBREAKING Version 4 of the agent implements a new wire protocol for communicating with the APM Server. This format is only supported in APM Server 6.5+.
Further breaking changes:
-
The undocumented
AsyncioHTTPTransport
has been removed. -
The
flush_interval
andmax_queue_size
settings have been removed. -
new settings introduced:
api_request_time
andapi_request_size
. - Some settings now require a unit for duration or size. See documentation on configuration for more information.
- The option to provide a custom date for exceptions and messages has been removed.
Other changes: * on Python 3.7, use contextvars instead of threadlocals for storing current transaction and span. This is a necessary precursor for full asyncio support. #291