Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

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)

opentelemetry-contrib v0.34b0

27 Sep 14:37
65329a8
Compare
Choose a tag to compare

What's Changed

  • boto3sqs: Make propagation compatible with other instrumentations and add 'messaging.url' span attribute by @mariojonke in #1234
  • Fix typo in example code for gRPC instrumentation by @ymotongpoo in #1240
  • Restore metrics in django by @sanketmehta28 in #1208
  • Added the Licence and Manifest file (#893) by @rahulhacker in #1244
  • Remove support for 3.6 by @ocelotl in #853
  • aiohttp-client: Fix producing additional spans with each newly created ClientSession by @mariojonke in #1246
  • Codespell ci by @galbash in #1237
  • Update README.md by @srikanthccv in #1257
  • fix(instrumentation-grpc): unquote peer ip by @srikanthccv in #1315
  • Fix broken links in package metadata by @remram44 in #1314
  • Update package metadata _template by @ofek in #1310
  • Update package metadata opentelemetry-sdk-extension-aws by @ofek in #1308
  • Update package metadata opentelemetry-propagator-ot-trace by @ofek in #1307
  • fix redis asyncio cluster minimal version by @nozik in #1311
  • Update package metadata opentelemetry-util-http by @ofek in #1309
  • Use PEP 517 builds for tox by @ofek in #1318
  • Update package metadata opentelemetry-propagator-aws-xray by @ofek in #1306
  • updated to remove directions from existing metrics. tests updated to … by @petertamuk in #1214
  • Flask sqlalchemy psycopg2 integration by @Thiyagu55 in #1224
  • Get rid of pymongo command in pymongo instrumentation span name by @amitsetty in #1247
  • fix check of is_otel_instrumented by @TheAnshul756 in #1313
  • Fix tooling by @ofek in #1322
  • Update package metadata opentelemetry-instrumentation by @ofek in #1305
  • Update package metadata opentelemetry-distro by @ofek in #1304
  • Metric instrumentation pyramid by @TheAnshul756 in #1242
  • Metric instrumentation fastapi by @TheAnshul756 in #1199
  • Add support for sanitizing HTTP header values. by @rogersd in #1253
  • Update package metadata opentelemetry-instrumentation-urllib3 by @ofek in #1301
  • Update package metadata opentelemetry-contrib-instrumentations by @ofek in #1303
  • Update package metadata opentelemetry-instrumentation-wsgi by @ofek in #1302
  • Update package metadata opentelemetry-instrumentation-urllib by @ofek in #1300
  • Update package metadata opentelemetry-instrumentation-tornado by @ofek in #1299
  • Update package metadata opentelemetry-instrumentation-system-metrics by @ofek in #1298
  • Update package metadata opentelemetry-instrumentation-sqlite3 by @ofek in #1296
  • Update package metadata opentelemetry-instrumentation-sklearn by @ofek in #1294
  • Update package metadata opentelemetry-instrumentation-sqlalchemy by @ofek in #1295
  • Update package metadata opentelemetry-instrumentation-requests by @ofek in #1293
  • Update package metadata opentelemetry-instrumentation-redis by @ofek in #1292
  • Update package metadata opentelemetry-instrumentation-pyramid by @ofek in #1291
  • Update package metadata opentelemetry-instrumentation-pymysql by @ofek in #1290
  • Update package metadata opentelemetry-instrumentation-pymongo by @ofek in #1289
  • Update package metadata opentelemetry-instrumentation-pymemcache by @ofek in #1288
  • Update package metadata opentelemetry-instrumentation-psycopg2 by @ofek in #1287
  • Update package metadata opentelemetry-instrumentation-pika by @ofek in #1286
  • Update package metadata opentelemetry-instrumentation-mysql by @ofek in #1285
  • Update package metadata opentelemetry-instrumentation-logging by @ofek in #1284
  • Update package metadata opentelemetry-instrumentation-kafka-python by @ofek in #1283
  • Update package metadata opentelemetry-instrumentation-jinja2 by @ofek in #1282
  • Update package metadata opentelemetry-instrumentation-httpx by @ofek in #1281
  • Update package metadata opentelemetry-instrumentation-grpc by @ofek in #1280
  • Update package metadata opentelemetry-instrumentation-flask by @ofek in #1279
  • Update package metadata opentelemetry-instrumentation-falcon by @ofek in #1277
  • Update package metadata opentelemetry-instrumentation-elasticsearch by @ofek in #1276
  • Update package metadata opentelemetry-instrumentation-django by @ofek in #1275
  • Update package metadata opentelemetry-instrumentation-dbapi by @ofek in #1274
  • Update package metadata opentelemetry-instrumentation-confluent-kafka by @ofek in #1273
  • Update package metadata opentelemetry-instrumentation-celery by @ofek in #1272
  • Update package metadata opentelemetry-instrumentation-botocore by @ofek in #1271
  • Update package metadata opentelemetry-instrumentation-boto3sqs by @ofek in #1270
  • Update package metadata opentelemetry-instrumentation-boto by @ofek in #1269
  • Update package metadata opentelemetry-instrumentation-aws-lambda by @ofek in #1268
  • Update package metadata opentelemetry-instrumentation-asyncpg by @ofek in #1267
  • Update package metadata opentelemetry-instrumentation-asgi by @ofek in #1266
  • Update package metadata opentelemetry-instrumentation-aiopg by @ofek in #1265
  • Update package metadata opentelemetry-instrumentation-aiohttp-client by @ofek in #1264
  • Update package metadata opentelemetry-instrumentation-aio-pika by @ofek in #1263
  • Update package metadata opentelemetry-exporter-richconsole by @ofek in #1262
  • Update package metadata opentelemetry-exporter-datadog by @ofek in #1261
  • Update package metadata opentelemetry-instrumentation-fastapi by @ofek in #1278
  • U...
Read more

opentelemetry-contrib v0.33b0

09 Aug 19:41
7625b82
Compare
Choose a tag to compare
  • Adding multiple db connections support for django-instrumentation's sqlcommenter (#1187)
  • SQLCommenter semicolon bug fix (#1200)
  • Adding sqlalchemy native tags in sqlalchemy commenter (#1206)
  • Add psycopg2 native tags to sqlcommenter (#1203)
  • opentelemetry-instrumentation-redis add support to instrument RedisCluster clients (#1177)
  • opentelemetry-instrumentation-sqlalchemy Added span for the connection phase (#1133)
  • Add metric instrumentation in asgi (#1197)
  • Add metric instumentation for flask (#1186)

Opentelemetry v0.32b0

04 Jul 13:35
ee40839
Compare
Choose a tag to compare

Fixed

  • Pyramid: Only categorize 500s server exceptions as errors (#1037)
  • Fix bug in system metrics by checking their configuration (#1129)
  • Adding escape call to fix auto-instrumentation not producing spans on Windows. (#1100)
  • opentelemetry-instrumentation-grpc narrow protobuf dependency to exclude protobuf >= 4 (#1109)
  • cleanup type hints for textmap Getter and Setter classes (#1106)
  • Suppressing downstream HTTP instrumentation to avoid extra spans (#1116)
  • fixed typo in system.network.io metric configuration (#1135)

Added

  • opentelemetry-instrumentation-aiohttp-client Add support for optional custom trace_configs argument. (1079)
  • opentelemetry-instrumentation-sqlalchemy add support to instrument multiple engines (#1132)
  • opentelemetry-instrumentation-logging add log hook support (#1117)
  • opentelemetry-instrumentation-remoulade Initial release (#1082)
  • Added opentelemetry-instrumention-confluent-kafka (#1111)
  • Set otlp-proto-grpc as the default metrics exporter for auto-instrumentation (#1127)
  • Add metric instrumentation for WSGI (#1128)
  • opentelemetry-instrumentation-aio-pika added RabbitMQ aio-pika module instrumentation. (#1095)
  • opentelemetry-instrumentation-requests Restoring metrics in requests (#1110)
  • Integrated sqlcommenter plugin into opentelemetry-instrumentation-django (#896)

Opentelemetry v0.31b0

17 May 20:54
10659f8
Compare
Choose a tag to compare

Fixed

  • opentelemetry-instrumentation-aiohttp-client make span attributes available to sampler (1072)
  • opentelemetry-instrumentation-aws-lambda Fixed an issue - in some rare cases (API GW proxy integration test) headers are set to None, breaking context propagators. (#1055)
  • Refactoring custom header collection API for consistency (#1064)
  • opentelemetry-instrumentation-sqlalchemy will correctly report otel.library.name (#1086)

Added

  • opentelemetry-instrument and opentelemetry-bootstrap now include a --version flag (#1065)
  • opentelemetry-instrumentation-redis now instruments asynchronous Redis clients, if the installed redis-py includes async support (>=4.2.0). (#1076)

This release uses the release candidate for metrics.

Opentelemetry v0.30b1

21 Apr 21:00
b6964cc
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-starlette Capture custom request/response headers in span attributes
    ([#1046])(#1046)

  • Prune autoinstrumentation sitecustomize module directory from PYTHONPATH immediately
    (#1066)

Opentelemetry v0.30b0

18 Apr 17:08
3ca7e7a
Compare
Choose a tag to compare

Fixed

  • opentelemetry-instrumentation-pyramid Fixed which package is the correct caller in _traced_init.
    (#830)
  • opentelemetry-instrumentation-tornado Fix Tornado errors mapping to 500
    ([#1048])(#1048)
  • opentelemetry-instrumentation-urllib make span attributes available to sampler
    (1014)
  • opentelemetry-instrumentation-flask Fix non-recording span bug
    ([#999])(#999)
  • opentelemetry-instrumentation-tornado Fix non-recording span bug
    ([#999])(#999)

Added

  • opentelemetry-instrumentation-fastapi Capture custom request/response headers in span attributes
    ([#1032])(#1032)
  • opentelemetry-instrumentation-django Capture custom request/response headers in span attributes
    ([#1024])(#1024)
  • opentelemetry-instrumentation-asgi Capture custom request/response headers in span attributes
    ([#1004])(#1004)
  • opentelemetry-instrumentation-psycopg2 extended the sql commenter support of dbapi into psycopg2
    (#940)
  • opentelemetry-instrumentation-falcon Add support for falcon==1.4.1
    ([#1000])(#1000)
  • opentelemetry-instrumentation-falcon Falcon: Capture custom request/response headers in span attributes
    ([#1003])(#1003)
  • opentelemetry-instrumentation-elasticsearch no longer creates unique span names by including search target, replaces them with <target> and puts the value in attribute elasticsearch.target
    (#1018)
  • opentelemetry-instrumentation-pyramid Handle non-HTTPException exceptions
    (#1001)
  • opentelemetry-instrumentation-system-metrics restore SystemMetrics instrumentation as SystemMetricsInstrumentor
    (#1012)
  • opentelemetry-instrumentation-pyramid Pyramid: Capture custom request/response headers in span attributes
    (#1022)