Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

Version 1.23.0/0.44b0

23 Feb 17:50
Compare
Choose a tag to compare
  • Drop support for 3.7 (#2151)
  • opentelemetry-resource-detector-azure Added 10s timeout to VM Resource Detector (#2119)
  • opentelemetry-instrumentation-asyncpg Allow AsyncPGInstrumentor to be instantiated multiple times (#1791)
  • opentelemetry-instrumentation-confluent-kafka Add support for higher versions until 2.3.0 of confluent_kafka (#2132)
  • opentelemetry-resource-detector-azure Changed timeout to 4 seconds due to timeout bug (#2136)
  • opentelemetry-resource-detector-azure Suppress instrumentation for urllib call (#2178)
  • AwsLambdaInstrumentor handles and re-raises function exception (#2245)

Version 1.22.0/0.43b0

19 Dec 23:13
8c9df87
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation Added Otel semantic convention opt-in mechanism (#1987)
  • opentelemetry-instrumentation-httpx Fix mixing async and non async hooks (#1920)
  • opentelemetry-instrumentation-requests Implement new semantic convention opt-in with stable http semantic conventions (#2002)
  • opentelemetry-instrument-grpc Fix arity of context.abort for AIO RPCs (#2066)
  • Consolidate instrumentation suppression mechanisms and fix bug in httpx instrumentation
    (#2061)

Fixed

  • opentelemetry-instrumentation-httpx Remove URL credentials
    (#2020)
  • opentelemetry-instrumentation-urllib/opentelemetry-instrumentation-urllib3 Fix metric descriptions to match semantic conventions (#1959)
  • opentelemetry-resource-detector-azure Added dependency for Cloud Resource ID attribute
    (#2072)

Version 1.21.0/0.42b0

09 Nov 00:56
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-aiohttp-server Add instrumentor and auto instrumentation support for aiohttp-server (#1800)

Added

  • opentelemetry-instrumentation-botocore Include SNS topic ARN as a span attribute with name messaging.destination.name to uniquely identify the SNS topic (#1995)
  • opentelemetry-instrumentation-system-metrics Add support for collecting process metrics (#1948)
  • Added schema_url ("https://opentelemetry.io/schemas/1.11.0") to all metrics and traces (#1977)

Fixed

  • Fix version of Flask dependency werkzeug (#1980)
  • opentelemetry-resource-detector-azure Using new Cloud Resource ID attribute. (#1976)

Version 1.20.0/0.41b0

11 Sep 21:54
83a1712
Compare
Choose a tag to compare

Fixed

  • opentelemetry-instrumentation-asgi Fix UnboundLocalError local variable 'start' referenced before assignment (#1889)
  • Fixed union typing error not compatible with Python 3.7 introduced in opentelemetry-util-http, fix tests introduced by patch related to sanitize method for wsgi (#1913)

Added

  • opentelemetry-resource-detector-azure Add resource detectors for Azure App Service and VM (#1901)

Version 1.19.0/0.40b0

13 Jul 15:06
86a50b7
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-asgi Add http.server.request.size metric (#1867)

Fixed

  • opentelemetry-instrumentation-django Fix empty span name when using path("", ...) (#1788
  • Fix elastic-search instrumentation sanitization to support bulk queries (#1870)
  • Update falcon instrumentation to follow semantic conventions (#1824)
  • Fix sqlalchemy instrumentation wrap methods to accept sqlcommenter options (#1873)

Added

  • Add instrumentor support for mysqlclient (#1744)
  • Fix async redis clients not being traced correctly (#1830)
  • Make Flask request span attributes available for start_span. (#1784)
  • Fix falcon instrumentation's usage of Span Status to only set the description if the status code is ERROR. (#1840)
  • Instrument all httpx versions >= 0.18. (#1748)
  • Fix Invalid type NoneType for attribute X (opentelemetry-instrumentation-aws-lambda) error when some attributes do not exist (#1780)
  • Add metric instrumentation for celery (#1679)
  • opentelemetry-instrumentation-asgi Add http.server.response.size metric (#1789)
  • opentelemetry-instrumentation-grpc Allow gRPC connections via Unix socket (#1833)
  • Fix elasticsearch Transport.perform_request instrument wrap for elasticsearch >= 8 (#1810)
  • opentelemetry-instrumentation-urllib3 Add support for urllib3 version 2 (#1879)
  • Add optional distro and configurator selection for auto-instrumentation (#1823)

Version 1.18.0/0.39b0

19 May 20:35
78636f3
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-system-metrics Add process. prefix to runtime.memory, runtime.cpu.time, and runtime.gc_count. Change runtime.memory from count to UpDownCounter. (#1735)
  • Add request and response hooks for GRPC instrumentation (client only) (#1706)
  • opentelemetry-instrumentation-pymemcache Update instrumentation to support pymemcache >4 (#1764)

Added

  • Expand sqlalchemy pool.name to follow the semantic conventions (#1778)
  • Add excluded_urls functionality to urllib and urllib3 instrumentations (#1733)
  • Make Django request span attributes available for start_span. (#1730)
  • Make ASGI request span attributes available for start_span. (#1762)
  • opentelemetry-instrumentation-celery Add support for anonymous tasks. (#1407)
  • opentelemetry-instrumentation-logging Add otelTraceSampled to instrumetation-logging (#1773)

Fixed

  • Fix elasticsearch db.statement attribute to be sanitized by default (#1758)
  • Fix AttributeError when AWS Lambda handler receives a list event (#1738)
  • Fix None does not implement middleware error when there are no middlewares registered (#1766)

Version 1.17.0/0.38b0

22 Mar 16:52
7d9847f
Compare
Choose a tag to compare

Added

  • Add connection attributes to sqlalchemy connect span (#1608)
  • Add support for enabling Redis sanitization from environment variable (#1690)
  • Add metrics instrumentation for sqlalchemy (#1645)

Fixed

  • Fix Flask instrumentation to only close the span if it was created by the same thread. (#1654)
  • Fix confluent-kafka instrumentation by allowing Producer headers to be dict or list (#1655)
  • opentelemetry-instrumentation-system-metrics Fix initialization of the instrumentation class when configuration is provided (#1438)
  • Fix exception in Urllib3 when dealing with filelike body. (#1399)
  • Fix httpx resource warnings (#1695)

Changed

  • opentelemetry-instrumentation-requests Replace name_callback and span_callback with standard response_hook and request_hook callbacks (#670)

Version 1.16.0/0.37b0

17 Feb 22:05
7ef76c8
Compare
Choose a tag to compare

Added

  • Support aio_pika 9.x ((#1670
  • opentelemetry-instrumentation-redis Add sanitize_query config option to allow query sanitization. (#1572)
  • opentelemetry-instrumentation-elasticsearch Add optional db.statement query sanitization. (#1598)
  • opentelemetry-instrumentation-celery Record exceptions as events on the span. (#1573)
  • Add metric instrumentation for urllib (#1553)
  • opentelemetry/sdk/extension/aws Implement aws.ecs.* and aws.logs.* resource attributes in the AwsEcsResourceDetector detector when the ECS Metadata v4 is available (#1212)
  • opentelemetry-instrumentation-aio-pika Support aio_pika 8.x (#1481)
  • opentelemetry-instrumentation-aws-lambda Flush MeterProvider at end of function invocation. (#1613)
  • Fix aiohttp bug with unset trace_configs (#1592)
  • opentelemetry-instrumentation-django Allow explicit excluded_urls configuration through instrument() (#1618)

Fixed

  • Fix TortoiseORM instrumentation AttributeError: type object 'Config' has no attribute 'title' (#1575)
  • Fix SQLAlchemy uninstrumentation (#1581)
  • opentelemetry-instrumentation-grpc Fix code()/details() of _OpentelemetryServicerContext. (#1578)
  • Fix aiopg instrumentation to work with aiopg < 2.0.0 (#1473)
  • opentelemetry-instrumentation-aws-lambda Adds an option to configure disable_aws_context_propagation by environment variable: OTEL_LAMBDA_DISABLE_AWS_CONTEXT_PROPAGATION (#1507)
  • Fix pymongo to collect the property DB_MONGODB_COLLECTION (#1555)
  • opentelemetry-instrumentation-asgi Fix keys() in class ASGIGetter to correctly fetch values from carrier headers. (#1435)
  • mongo db - fix db statement capturing (#1512)
  • Add commit method for ConfluentKafkaInstrumentor's ProxiedConsumer (#1656)

opentelemetry-contrib v0.36b0

09 Dec 21:26
71781d3
Compare
Choose a tag to compare

What's Changed

  • Create RELEASING.md, Update version to 1.15.0.dev/0.36b0.dev by @lzchen in #1429
  • Fix Urllib instrumentation - Add status code to span if not None by @shalevr in #1430
  • Fix dbapi connection instrument wrapper has no _sock member by @rogersd in #1424
  • Add support for regular expression matching and sanitizing of headers in FastAPI. by @rogersd in #1403
  • aiohttp-client: Allow overriding of span status by @nils-borrmann-y42 in #1394
  • Remove db.name attribute from Redis instrumentation by @luke6Lh43 in #1427
  • feat: collecting messaging.* span attributes in botocore instrumentation by @saartochner in #1350
  • fix: No module named httpx by @srikanthccv in #1441
  • Add support for regular expression matching and sanitizing of headers in Starlette. by @rogersd in #1404
  • opentelemetry-instrumentation-kafka-python: wait for metadata by @rayrapetyan in #1260
  • Urllib3 instrumentation can now retrieve urlopen body parameter when … by @isra17 in #1398
  • Remove mention to eachdist by @ocelotl in #1445
  • Strip leading comments from SQL queries when generating the span name. by @rogersd in #1434
  • Fix httpx version by @ocelotl in #1460
  • Fix 1455: [test-only] Protect metric data_points from raw next() calls by @lancetarn in #1456
  • Tortoise ORM instrumentation by @tonybaloney in #685
  • Add grpc.aio instrumentation to be auto-instrumented by @cookiefission in #1442
  • opentelemetry-instrumentation-aws-lambda: Adding option to disable context propagation by @codeboten in #1466
  • botocore: Add support for SNS publish and publish_batch by @mariojonke in #1409
  • Refactor comments in .flake8 by @ocelotl in #1470
  • Add a test for mysql instrumentation using NoOpTracerProvider by @avzis in #1423
  • Minor refactoring by @artemrys in #1169
  • fix(asgi-instrumentation): extract target after running the framework by @sk- in #1461
  • Add uninstrument test for sqlalchemy by @shalevr in #1471
  • fix enable_commenter functionality by @avzis in #1440
  • Instrument newer versions by @Symbianx in #1468
  • Pin tox version by @srikanthccv in #1480
  • updating changelogs and version to 1.15.0-0.36b0 by @srikanthccv in #1482

New Contributors

Full Changelog: v0.35b0...v0.36b0

opentelemetry-contrib v0.35b0

03 Nov 20:08
05e23cd
Compare
Choose a tag to compare

Deprecated

  • opentelemetry-distro Deprecate otlp_proto_grpc and otlp_proto_http in favor of using
    OTEL_EXPORTER_OTLP_TRACES_PROTOCOL as according to specifications
    (#1250)

Added

  • Capture common HTTP attributes from API Gateway proxy events in opentelemetry-instrumentation-aws-lambda
    (#1233)
  • Add metric instrumentation for tornado
    (#1252)
  • opentelemetry-instrumentation-django Fixed bug where auto-instrumentation fails when django is installed and settings are not configured.
    (#1369)
  • opentelemetry-instrumentation-system-metrics add supports to collect system thread count. (#1339)
  • opentelemetry-exporter-richconsole Fixing RichConsoleExpoter to allow multiple traces, fixing duplicate spans and include resources (#1336)
  • opentelemetry-instrumentation-asgi Add support for regular expression matching and sanitization of HTTP headers.
    (#1333)
  • opentelemetry-instrumentation-asgi metrics record target attribute (FastAPI only)
    (#1323)
  • opentelemetry-instrumentation-wsgi Add support for regular expression matching and sanitization of HTTP headers.
    (#1402)
  • Add support for py3.11
    (#1415)
  • opentelemetry-instrumentation-django Add support for regular expression matching and sanitization of HTTP headers.
    (#1411)
  • opentelemetry-instrumentation-falcon Add support for regular expression matching and sanitization of HTTP headers.
    (#1412)
  • opentelemetry-instrumentation-flask Add support for regular expression matching and sanitization of HTTP headers.
    (#1413)
  • opentelemetry-instrumentation-pyramid Add support for regular expression matching and sanitization of HTTP headers.
    (#1414)
  • opentelemetry-instrumentation-grpc Add support for grpc.aio Clients and Servers
    (#1245)
  • Add metric exporter for Prometheus Remote Write
    (#1359)

Fixed

  • Fix bug in Falcon instrumentation
    (#1377)
  • opentelemetry-instrumentation-asgi Fix keys() in class ASGIGetter so it decodes the keys before returning them.
    (#1333)
  • opentelemetry-instrumentation-asgi Make ASGIGetter.get() compare all keys in a case insensitive manner.
    (#1333)
  • Use resp.text instead of resp.body for Falcon 3 to avoid a deprecation warning.
    (#1412)