Skip to content

Releases: elastic/apm-agent-python

v6.13.1

03 Nov 18:57
v6.13.1
8038a4d
Compare
Choose a tag to compare

Bug fixes

  • Fix elasticsearch instrumentation for track_total_hits=False [#1687]

Full Changelog: v6.13.0...v6.13.1

v6.13.0

26 Oct 17:31
v6.13.0
bcf8242
Compare
Choose a tag to compare

Features

  • Add support for Python 3.11
  • Add backend granularity data to SQL backends as well as Cassandra and pymongo #1585, #1639
  • Add support for instrumenting the Elasticsearch 8 Python client #1642
  • Add *principal* to default sanitize_field_names configuration #1664
  • Add docs and better support for custom metrics, including in AWS Lambda #1643
  • Add support for capturing span links from AWS SQS in AWS Lambda #1662

Bug fixes

  • Fix Django's manage.py check when agent is disabled #1632
  • Fix an issue with long body truncation for Starlette #1635
  • Fix an issue with transaction outcomes in Flask for uncaught exceptions #1637
  • Fix Starlette instrumentation to make sure transaction information is still present during exception handling #1674

New Contributors

Full Changelog: v6.12.0...v6.13.0

v6.12.0

08 Sep 14:32
Compare
Choose a tag to compare

Features

  • Add redis query to context data for redis instrumentation (#1406)
  • Add AWS request ID to all botocore spans (at span.context.http.request.id) (#1625)

Bug fixes

  • Differentiate Lambda URLs from API Gateway in AWS Lambda integration (#1609)
  • Restrict the size of Django request bodies to prevent APM Server rejection (#1610)
  • Restrict length of exception.message for exceptions captured by the agent (#1619)
  • Restrict length of Starlette request bodies (#1549)
  • Fix error when using elasticsearch(sniff_on_start=True) (#1618)
  • Improve handling of ignored URLs and capture_body=off for Starlette (#1549)
  • Fix possible error in the transport flush for Lambda functions (#1628)

New Contributors

Full Changelog: v6.11.0...v6.12.0

v6.11.0

09 Aug 17:58
v6.11.0
9149a21
Compare
Choose a tag to compare

Features

  • Added lambda support for ELB triggers [#1605]

New Contributors

Full Changelog: v6.10.2...v6.11.0

v6.10.2

04 Aug 16:09
v6.10.2
a6ed6f7
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue with non-integer ports in Django [#1590]
  • Fixed an issue with non-integer ports in Redis [#1591]
  • Fixed a performance issue for local variable shortening via varmap() [#1593]
  • Fixed elasticapm.label() when a Client object is not available [#1596]

New Contributors

Full Changelog: v6.10.1...v6.10.2

v6.10.1

30 Jun 15:58
v6.10.1
52412ca
Compare
Choose a tag to compare

Bug fixes

  • Fix an issue with Kafka instrumentation and unsampled transactions [#1579]

Full Changelog: v6.10.0...v6.10.1

v6.10.0

22 Jun 16:55
v6.10.0
8912c4a
Compare
Choose a tag to compare

Features

  • Add instrumentation for aiobotocore [#1520]
  • Add instrumentation for kafka-python [#1555]
  • Add API for span links, and implement span link support for OpenTelemetry bridge [#1562]
  • Add span links to SQS ReceiveMessage call [#1575]
  • Add specific instrumentation for SQS delete/batch-delete [#1567]
  • Add trace_continuation_strategy setting [#1564]

Bug fixes

  • Fix return for opentelemetry.Span.is_recording() [#1530]
  • Fix error logging for bad SERVICE_NAME config [#1546]
  • Do not instrument old versions of Tornado < 6.0 due to incompatibility [#1566]
  • Fix transaction names for class based views in Django 4.0+ [#1571]
  • Fix a problem with our logging handler failing to report internal errors in its emitter [#1568]

New Contributors

Full Changelog: v6.9.1...v6.10.0

v6.9.1

30 Mar 14:30
v6.9.1
504e468
Compare
Choose a tag to compare

Bug fixes

  • Fix otel_attributes-related regression with older versions of APM Server (<7.16) [#1510]

Full Changelog: v6.9.0...v6.9.1

v6.9.0

30 Mar 00:19
v6.9.0
685b78f
Compare
Choose a tag to compare

Features

  • Add OpenTelemetry API bridge [#1411]
  • Change default for sanitize_field_names to sanitize *auth* instead of authorization [#1494]
  • Add span_stack_trace_min_duration to replace deprecated span_frames_min_duration [#1498]
  • Enable exact_match span compression by default [#1504]
  • Allow parent celery tasks to specify the downstream parent_span_id in celery headers [#1500]

Bug fixes

  • Fix Sanic integration to properly respect the capture_body config [#1485]
  • Lambda fixes to align with the cross-agent spec [#1489]
  • Lambda fix for custom service_name [#1493]
  • Change default for stack_trace_limit from 500 to 50 [#1492]
  • Switch all duration handling to use datetime.timedelta objects [#1488]

Full Changelog: v6.8.1...v6.9.0

v6.8.1

09 Mar 20:42
v6.8.1
3cfcdd0
Compare
Choose a tag to compare

Bug fixes

  • Fix exit_span_min_duration and disable by default [#1483]

Full Changelog: v6.8.0...v6.8.1