apm-agent-python

The official Python module for Elastic APM

BSD-3-CLAUSE License

Downloads
1.1M
Stars
410
Committers
203

Bot releases are hidden (Show)

apm-agent-python - v5.2.0

Published by basepi about 5 years ago

New Features

  • 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)

Bugfixes

  • drop events immediately if a processor returns a falsy value (#585)
apm-agent-python - v5.1.2

Published by basepi about 5 years ago

Bugfixes

  • 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
apm-agent-python - v5.1.1

Published by beniwohli about 5 years ago

Bugfixes

  • 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)

Other

  • Added Python 3.8 RC to the test matrix (#565)
apm-agent-python - v5.1.0

Published by beniwohli about 5 years ago

Security issues

  • This release fixes CVE-2019-7617 (only relevant if your deployment uses CGI)

New Features

  • added support for global labels which will be applied to every transaction/error/metric (#549)
  • added support for NO_PROXY environment variable (#458, #551)

Bugfixes

  • 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)
apm-agent-python - v5.0.0

Published by beniwohli about 5 years ago

Breaking changes

  • 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 changes

  • 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)
apm-agent-python - v4.2.2

Published by beniwohli over 5 years ago

  • 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 of threading.Timer (#452)
  • added license header check as pre-commit hook (#456)
apm-agent-python - v4.2.1

Published by beniwohli over 5 years ago

  • fixed an issue with the certificate pinning feature introduced in 4.2.0 (#433, #434)
  • fixed incompatibility with eventlet introduced in 4.2.0 (#435, #436)
apm-agent-python - v4.2.0

Published by beniwohli over 5 years ago

  • 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)
apm-agent-python - v4.1.0

Published by beniwohli over 5 years ago

  • 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)
apm-agent-python - v4.0.3

Published by beniwohli over 5 years ago

  • implemented de-dotting of tag names and context keys (#353)
  • wrote a quickfix for the boto3/botocore instrumentation (#367)
  • fixed an issue with psycopg2 and encoded strings (#366)
apm-agent-python - v3.0.5

Published by beniwohli over 5 years ago

apm-agent-python - v4.0.2

Published by beniwohli over 5 years ago

  • fixed another issue in the new v2 transport (#351)
apm-agent-python - v3.0.4

Published by beniwohli almost 6 years ago

  • fixed an issue with instrumenting redis-py 3.0+
apm-agent-python - v4.0.1

Published by beniwohli almost 6 years ago

  • fixed an issue with instrumenting redis-py 3.0+
  • fixed a multithreading issue that occurs when using threaded workers (#335)
apm-agent-python - v4.0.0

Published by beniwohli almost 6 years ago

BREAKING 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 and max_queue_size settings have been removed.
  • new settings introduced: api_request_time and api_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)
apm-agent-python - v3.0.3

Published by beniwohli almost 6 years ago

  • fixed an issue when logging messages that are not strings (#295, #312)
  • backported some documentation fixes
apm-agent-python - v3.0.2

Published by beniwohli about 6 years ago

  • fixed an issue with detecting names of wrapped functions that are partials (#294)
  • fixed a bug in Flask instrumentation that could appear together with FlaskAPI (#286)
apm-agent-python - v3.0.1

Published by beniwohli about 6 years ago

  • added sanitization for Set-Cookie response headers (#264)
  • added instrumentation for the non-standard Connection.execute() method for SQLite3 (#271)
  • added "authorization" to list of sensitive keywords, to ensure that "Authorization"
    HTTP headers are properly sanitized (#275)
  • taught the Logbook handler how to handle the stack=False option (#278)
  • fixed a race condition with managing the timer-send thread (#279)
apm-agent-python - v3.0.0

Published by beniwohli over 6 years ago

  • adapted "black" code formatter for this repository (#262)
  • BREAKING: dropped support for Python 3.3 (#242)
  • BREAKING: changed order of precedence when evaluating configuration (#255, #261)
  • BREAKING: changed default value of span_frames_min_duration setting
    from -1 (always collect) to 5 (only collect for spans longer than 5 ms) (#243)
  • added instrumentation for pymssql (#241)
  • added instrumentation for pyodbc (#238)
apm-agent-python - v2.2.1

Published by beniwohli over 6 years ago

  • fixed an issue with Django Channels (#232, #233)
Package Rankings
Top 28.88% on Conda-forge.org
Top 1.63% on Pypi.org