Skip to content

Latest commit

 

History

History
1289 lines (1071 loc) · 80.8 KB

CHANGELOG.md

File metadata and controls

1289 lines (1071 loc) · 80.8 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

  • 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

  • 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 (2023-03-22)

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 (2023-02-17)

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)

Version 1.15.0/0.36b0 (2022-12-10)

  • Add uninstrument test for sqlalchemy (#1471)
  • opentelemetry-instrumentation-tortoiseorm Initial release (#685)
  • Add metric instrumentation for tornado (#1252)
  • opentelemetry-instrumentation-aws-lambda Add option to disable aws context propagation (#1466)

Added

  • opentelemetry-instrumentation-pymysql Add tests for commit() and rollback(). (#1424)
  • opentelemetry-instrumentation-fastapi Add support for regular expression matching and sanitization of HTTP headers. (#1403)
  • opentelemetry-instrumentation-botocore add support for messaging.* in the sqs extension. (#1350)
  • opentelemetry-instrumentation-starlette Add support for regular expression matching and sanitization of HTTP headers. (#1404)
  • opentelemetry-instrumentation-botocore Add support for SNS publish and publish_batch. (#1409)
  • Strip leading comments from SQL queries when generating the span name. (#1434)
  • opentelemetry-instrumentation-confluent-kafka Add support for the latest versions of the library. (#1468)

Fixed

  • Fix bug in Urllib instrumentation - add status code to span attributes only if the status code is not None. (#1430)
  • opentelemetry-instrumentation-aiohttp-client Allow overriding of status in response hook. (#1394)
  • opentelemetry-instrumentation-pymysql Fix dbapi connection instrument wrapper has no _sock member. (#1424)
  • opentelemetry-instrumentation-dbapi Fix the check for the connection already being instrumented in instrument_connection(). (#1424)
  • Remove db.name attribute from Redis instrumentation (#1427)
  • opentelemetry-instrumentation-asgi Fix target extraction for duration metric (#1461)
  • Add grpc.aio instrumentation to package entry points (#1442)
  • Fix a bug in SQLAlchemy instrumentation - support disabling enable_commenter variable (#1440)

Version 1.14.0/0.35b0 (2022-11-03)

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)

Version 1.13.0/0.34b0 (2022-09-26)

  • opentelemetry-instrumentation-asyncpg Fix high cardinality in the span name (#1324)

Added

  • opentelemetry-instrumentation-grpc add supports to filter requests to instrument. (#1241)
  • Flask sqlalchemy psycopg2 integration (#1224)
  • Add metric instrumentation in Falcon (#1230)
  • Add metric instrumentation in fastapi (#1199)
  • Add metric instrumentation in Pyramid (#1242)
  • opentelemetry-util-http Add support for sanitizing HTTP header values. (#1253)
  • Add metric instrumentation in starlette (#1327)

Fixed

  • opentelemetry-instrumentation-kafka-python: wait for metadata (#1260)
  • opentelemetry-instrumentation-boto3sqs Make propagation compatible with other SQS instrumentations, add 'messaging.url' span attribute, and fix missing package dependencies. (#1234)
  • opentelemetry-instrumentation-pymongo Change span names to not contain queries but only database name and command name (#1247)
  • restoring metrics in django framework (#1208)
  • opentelemetry-instrumentation-aiohttp-client Fix producing additional spans with each newly created ClientSession
  • (#1246)
  • Add _is_opentelemetry_instrumented check in _InstrumentedFastAPI class (#1313)
  • Fix uninstrumentation of existing app instances in FastAPI (#1258)
  • Fix uninstrumentation of existing app instances in falcon ([#1341]open-telemetry#1341)

Version 1.12.0/0.33b0 (2022-08-08)

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

Added

  • 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)
  • Add a test for asgi using NoOpTracerProvider (#1367)

1.12.0rc2-0.32b0 - 2022-07-01

  • Pyramid: Only categorize 500s server exceptions as errors (#1037)

Fixed

  • 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
  • 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)
  • Add metric instrumentation for Urllib3 (#1198)
  • 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)

Version 1.12.0rc1/0.31b0 (2022-05-17)

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)
  • opentelemetry-sdk-extension-aws change timeout for AWS EC2 and EKS metadata requests from 1000 seconds and 2000 seconds to 1 second

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)
  • opentelemetry-instrumentation-boto3sqs added AWS's SQS instrumentation. (#1081)

Version 1.11.1/0.30b1 (2022-04-21)

Added

  • opentelemetry-instrumentation-starlette Capture custom request/response headers in span attributes (#1046)

Fixed

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

Version 1.11.0/0.30b0 (2022-04-18)

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)
  • opentelemetry-instrumentation-urllib make span attributes available to sampler (1014)
  • opentelemetry-instrumentation-flask Fix non-recording span bug (#999)
  • opentelemetry-instrumentation-tornado Fix non-recording span bug (#999)

Added

  • opentelemetry-instrumentation-fastapi Capture custom request/response headers in span attributes (#1032)
  • opentelemetry-instrumentation-django Capture custom request/response headers in span attributes (#1024)
  • opentelemetry-instrumentation-asgi Capture custom request/response headers in span attributes (#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)
  • opentelemetry-instrumentation-falcon Falcon: Capture custom request/response headers in span attributes (#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)

Version 1.10.0/0.29b0 (2022-03-10)

  • opentelemetry-instrumentation-wsgi Capture custom request/response headers in span attributes (#925)
  • opentelemetry-instrumentation-flask Flask: Capture custom request/response headers in span attributes (#952)
  • opentelemetry-instrumentation-tornado Tornado: Capture custom request/response headers in span attributes (#950)

Added

  • opentelemetry-instrumentation-aws-lambda SpanKind.SERVER by default, add more cases for SpanKind.CONSUMER services. (#926)
  • opentelemetry-instrumentation-sqlalchemy added experimental sql commenter capability (#924)
  • opentelemetry-contrib-instrumentations added new meta-package that installs all contrib instrumentations. (#681)
  • opentelemetry-instrumentation-dbapi add experimental sql commenter capability (#908)
  • opentelemetry-instrumentation-requests make span attribute available to samplers (#931)
  • opentelemetry-datadog-exporter add deprecation note to example. (#900)

Fixed

  • opentelemetry-instrumentation-dbapi Changed the format of traceparent id. (#941)
  • opentelemetry-instrumentation-logging retrieves service name defensively. (#890)
  • opentelemetry-instrumentation-wsgi WSGI: Conditionally create SERVER spans (#903)
  • opentelemetry-instrumentation-falcon Safer patching mechanism (#895)
  • opentelemetry-instrumentation-kafka-python Fix topic extraction (#949)

Changed

  • opentelemetry-instrumentation-pymemcache should run against newer versions of pymemcache. (#935)

Version 1.9.1/0.28b1 (2022-01-29)

Fixed

  • opentelemetry-instrumentation-pika requires packaging dependency

  • opentelemetry-instrumentation-tornado Tornado: Conditionally create SERVER spans (#889)

Version 1.9.0/0.28b0 (2022-01-26)

Added

  • opentelemetry-instrumentation-pyramid Pyramid: Conditionally create SERVER spans (#869)

  • opentelemetry-instrumentation-grpc added trailing_metadata to _OpenTelemetryServicerContext. (#871)

  • opentelemetry-instrumentation-asgi now returns a traceresponse response header. (#817)

  • opentelemetry-instrumentation-kafka-python added kafka-python module instrumentation. (#814)

  • opentelemetry-instrumentation-falcon Falcon: Conditionally create SERVER spans (#867)

  • opentelemetry-instrumentation-pymongo now supports pymongo v4 (#876)

  • opentelemetry-instrumentation-httpx now supports versions higher than 0.19.0. (#866)

Fixed

  • opentelemetry-instrumentation-django Django: Conditionally create SERVER spans (#832)

  • opentelemetry-instrumentation-flask Flask: Conditionally create SERVER spans (#828)

  • opentelemetry-instrumentation-celery Celery: Support partial task time limit (#846)

  • opentelemetry-instrumentation-asgi ASGI: Conditionally create SERVER spans (#843)

  • opentelemetry-instrumentation-django Django: fix issue preventing detection of MIDDLEWARE_CLASSES

  • opentelemetry-instrumentation-sqlite3 Instrumentation now works with dbapi2.connect

  • opentelemetry-instrumentation-kafka Kafka: safe kafka partition extraction (#872)

  • opentelemetry-instrumentation-aiohttp-client aiohttp: Correct url filter input type (#843)

  • opentelemetry-instrumentation-aiohttp-client aiohttp: Remove span_name from docs (#857)

Version 1.8.0/0.27b0 (2021-12-17)

Added

  • opentelemetry-instrumentation-aws-lambda Adds support for configurable flush timeout via OTEL_INSTRUMENTATION_AWS_LAMBDA_FLUSH_TIMEOUT property. (#825)
  • opentelemetry-instrumentation-pika Adds support for versions between 0.12.0 to 1.0.0. (#837)

Fixed

  • opentelemetry-instrumentation-urllib Fixed an error on unexpected status values. (#823)

  • opentelemetry-exporter-richconsole Fixed attribute error on parentless spans. (#782)

  • opentelemetry-instrumentation-tornado Add support instrumentation for Tornado 5.1.1 (#812)

Version 1.7.1/0.26b1 (2021-11-11)

Added

  • opentelemetry-instrumentation-aws-lambda Add instrumentation for AWS Lambda Service - pkg metadata files (Part 1/2) (#739)
  • Add support for Python 3.10 (#742)
  • Pass in auto-instrumentation version to configurator (#783)
  • opentelemetry-instrumentation Add setuptools to install_requires (#781)
  • opentelemetry-instrumentation-aws-lambda Add instrumentation for AWS Lambda Service - Implementation (Part 2/2) (#777)
  • opentelemetry-instrumentation-pymongo Add request_hook, response_hook and failed_hook callbacks passed as arguments to the instrument method (#793)
  • opentelemetry-instrumentation-pymysql Add support for PyMySQL 1.x series (#792)
  • Add support for generic OTEL_PYTHON_EXCLUDED_URLS variable (#790)

Fixed

  • opentelemetry-instrumentation-asgi now explicitly depends on asgiref as it uses the package instead of instrumenting it. (#765)
  • opentelemetry-instrumentation-pika now propagates context to basic_consume callback (#766)
  • opentelemetry-instrumentation-falcon Dropped broken support for Python 3.4. (#774)
  • opentelemetry-instrumentation-django Fixed carrier usage on ASGI requests. (#767)
  • Don't set Span Status on 4xx http status code for SpanKind.SERVER spans (#776)
  • opentelemetry-instrumentation-django Fixed instrumentation and tests for all Django major versions. (#780)

Version 1.6.2/0.25b2 (2021-10-19)

  • opentelemetry-instrumentation-sqlalchemy Fix PostgreSQL instrumentation for Unix sockets (#761)

Changed

  • opentelemetry-sdk-extension-aws & opentelemetry-propagator-aws Release AWS Python SDK Extension as 2.0.1 and AWS Propagator as 1.0.1 (#753)
  • opentelemetry-instrumentation-pika Add _decorate_basic_consume to ensure post instrumentation basic_consume calls are also instrumented. (#759)
  • Consolidate instrumentation documentation in docstrings (#754)

Fixed

  • opentelemetry-distro uses the correct entrypoint name which was updated in the core release of 1.6.0 but the distro was not updated with it (#755)

Added

  • opentelemetry-instrumentation-pika Add publish_hook and consume_hook callbacks passed as arguments to the instrument method (#763)

Version 1.6.1/0.25b1 (2021-10-18)

Changed

  • opentelemetry-util-http no longer contains an instrumentation entrypoint and will not be loaded automatically by the auto instrumentor. (#745)
  • opentelemetry-instrumentation-pika Bugfix use properties.headers. It will prevent the header injection from raising. (#740)
  • opentelemetry-instrumentation-botocore Add extension for DynamoDB (#735)
  • opentelemetry-sdk-extension-aws & opentelemetry-propagator-aws Remove unnecessary dependencies on opentelemetry-test (#752)
  • opentelemetry-instrumentation-botocore Add Lambda extension (#760)

Version 1.6.0/0.25b0 (2021-10-13)

Added

  • opentelemetry-sdk-extension-aws Release AWS Python SDK Extension as 1.0.0 (#667)
  • opentelemetry-instrumentation-urllib3, opentelemetry-instrumentation-requests The net.peer.ip attribute is set to the IP of the connected HTTP server or proxy using a new instrumentor in opententelemetry-util-http (#661)
  • opentelemetry-instrumentation-pymongo Add check for suppression key in PyMongo. (#736)
  • opentelemetry-instrumentation-elasticsearch Added response_hook and request_hook callbacks (#670)
  • opentelemetry-instrumentation-redis added request_hook and response_hook callbacks passed as arguments to the instrument method. (#669)
  • opentelemetry-instrumentation-botocore add request_hook and response_hook callbacks (679)
  • opentelemetry-exporter-richconsole Initial release (#686)
  • opentelemetry-instrumentation-elasticsearch no longer creates unique span names by including document IDs, replaces them with :id and puts the value in attribute elasticsearch.id (#705)
  • opentelemetry-instrumentation-tornado now sets http.client_ip and tornado.handler attributes (#706)
  • opentelemetry-instrumentation-requests added exclude urls functionality (#714)
  • opentelemetry-instrumentation-django Add ASGI support (#391)

Changed

  • opentelemetry-instrumentation-flask Fix RuntimeError: Working outside of request context (#734)
  • opentelemetry-propagators-aws-xray Rename AwsXRayFormat to AwsXRayPropagator (#729)
  • opentelemetry-instrumentation-sqlalchemy Respect provided tracer provider when instrumenting SQLAlchemy (#728)
  • opentelemetry-sdk-extension-aws Move AWS X-Ray Propagator into its own opentelemetry-propagators-aws package (#720)
  • opentelemetry-instrumentation-sqlalchemy Added packaging dependency (#713)
  • opentelemetry-instrumentation-jinja2 Allow instrumentation of newer Jinja2 versions. (#712)
  • opentelemetry-instrumentation-botocore Make common span attributes compliant with semantic conventions (#674)
  • opentelemetry-sdk-extension-aws Release AWS Python SDK Extension as 1.0.0 (#667)
  • opentelemetry-instrumentation-botocore Unpatch botocore Endpoint.prepare_request on uninstrument (#664)
  • opentelemetry-instrumentation-botocore Fix span injection for lambda invoke (#663)
  • opentelemetry-instrumentation-botocore Introduce instrumentation extensions (#718)
  • opentelemetry-instrumentation-urllib3 Updated _RequestHookT with two additional fields - the request body and the request headers (#660)
  • Tests for Falcon 3 support (#644)

Version 1.5.0/0.24b0 (2021-08-26)

Added

  • opentelemetry-sdk-extension-aws Add AWS resource detectors to extension package (#586)
  • opentelemetry-instrumentation-asgi, opentelemetry-instrumentation-aiohttp-client, openetelemetry-instrumentation-fastapi, opentelemetry-instrumentation-starlette, opentelemetry-instrumentation-urllib, opentelemetry-instrumentation-urllib3 Added request_hook and response_hook callbacks (#576)
  • opentelemetry-instrumentation-pika added RabbitMQ's pika module instrumentation. (#680)

Changed

  • opentelemetry-instrumentation-fastapi Allow instrumentation of newer FastAPI versions. (#602)
  • Enable explicit excluded_urls argument in opentelemetry-instrumentation-flask (#604)

Version 1.4.0/0.23b0 (2021-07-21)

Removed

  • Move opentelemetry-instrumentation to the core repo. (#595)

Changed

  • opentelemetry-instrumentation-falcon added support for Falcon 3. (#607)
  • opentelemetry-instrumentation-tornado properly instrument work done in tornado on_finish method. (#499)
  • opentelemetry-instrumentation Fixed cases where trying to use an instrumentation package without the target library was crashing auto instrumentation agent. (#530)
  • Fix weak reference error for pyodbc cursor in SQLAlchemy instrumentation. (#469)
  • Implemented specification that HTTP span attributes must not contain username and password. (#538)
  • Changed the psycopg2-binary to psycopg2 as dependency in production (#543)
  • Implement consistent way of checking if instrumentation is already active (#549)
  • Require aiopg to be less than 1.3.0 (#560)
  • opentelemetry-instrumentation-django Migrated Django middleware to new-style. (#533)
  • Updating dependency for opentelemetry api/sdk packages to support major version instead of pinning to specific versions. (#567)
  • opentelemetry-instrumentation-grpc Respect the suppress instrumentation in gRPC client instrumentor (#559)
  • opentelemetry-instrumentation-grpc Fixed asynchronous unary call traces (#536)
  • opentelemetry-sdk-extension-aws Update AWS entry points to match spec (#566)
  • Include Flask 2.0 as compatible with existing flask instrumentation (#545)
  • openelemetry-sdk-extension-aws Take a dependency on opentelemetry-sdk (#558)
  • Change opentelemetry-instrumentation-httpx to replace client classes with instrumented versions. (#577)
  • opentelemetry-instrumentation-requests Fix potential AttributeError when requests is used with a custom transport adapter. (#562)
  • opentelemetry-instrumentation-django Fix AttributeError: ResolverMatch object has no attribute route (#581)
  • opentelemetry-instrumentation-botocore Suppress botocore downstream instrumentation like urllib3 (#563)
  • opentelemetry-exporter-datadog Datadog exporter should not use unknown_service as fallback resource service name. (#570)
  • Add support for the async extension of SQLAlchemy (>= 1.4) (#568)

Added

  • opentelemetry-instrumentation-httpx Add httpx instrumentation (#461)

Version 1.3.0/0.22b0 (2021-06-01)

Changed

  • opentelemetry-bootstrap not longer forcibly removes and re-installs libraries and their instrumentations. This means running bootstrap will not auto-upgrade existing dependencies and as a result not cause dependency conflicts. (#514)
  • opentelemetry-instrumentation-asgi Set the response status code on the server span (#478)
  • opentelemetry-instrumentation-tornado Fixed cases where description was used with non- error status code when creating Status objects. (#504)
  • opentelemetry-instrumentation-asgi Fix instrumentation default span name. (#418)
  • Propagators use the root context as default for extract and do not modify the context if extracting from carrier does not work. (#488)

Added

  • opentelemetry-instrumentation-botocore now supports context propagation for lambda invoke via Payload embedded headers. (#458)
  • Added support for CreateKey functionality. (#502)

Version 1.2.0/0.21b0 (2021-05-11)

Changed

  • Instrumentation packages don't specify the libraries they instrument as dependencies anymore. Instead, they verify the correct version of libraries are installed at runtime. (#475)
  • opentelemetry-propagator-ot-trace Use TraceFlags object in extract (#472)
  • Set the traced_request_attrs of FalconInstrumentor by an argument correctly. (#473)
  • Enable passing explicit urls to exclude in instrumentation in FastAPI (#486)
  • Distros can now implement load_instrumentor(EntryPoint) method to customize instrumentor loading behaviour. (#480)
  • Fix entrypoint for ottrace propagator (#492)

Added

  • Move opentelemetry-instrumentation from core repository (#465)

Version 0.20b0 (2021-04-20)

Changed

  • Restrict DataDog exporter's ddtrace dependency to known working versions. (#400)
  • GRPC instrumentation now correctly injects trace context into outgoing requests. (#392)
  • Publish opentelemetry-propagator-ot-trace package as a part of the release process (#387)
  • Update redis instrumentation to follow semantic conventions (#403)
  • Update instrumentations to use tracer_provider for creating tracer if given, otherwise use global tracer provider (#402)
  • opentelemetry-instrumentation-wsgi Replaced name_callback with request_hook and response_hook callbacks. (#424)
  • Update gRPC instrumentation to better wrap server context (#420)
  • opentelemetry-instrumentation-redis Fix default port KeyError and Wrong Attribute name (net.peer.ip -> net.peer.port) (#265)
  • opentelemetry-instrumentation-asyncpg Fix default port KeyError and Wrong Attribute name (net.peer.ip -> net.peer.port) (#265)

Added

  • opentelemetry-instrumentation-urllib3 Add urllib3 instrumentation (#299)

  • opentelemetry-instrumentation-flask Added request_hook and response_hook callbacks. (#416)

  • opentelemetry-instrumenation-django now supports request and response hooks. (#407)

  • opentelemetry-instrumentation-falcon FalconInstrumentor now supports request/response hooks. (#415)

  • opentelemetry-instrumentation-tornado Add request/response hooks. (#426)

  • opentelemetry-exporter-datadog Add parsing exception events for error tags. (#459)

  • opentelemetry-instrumenation-django now supports trace response headers. (#436)

  • opentelemetry-instrumenation-tornado now supports trace response headers. (#436)

  • opentelemetry-instrumenation-pyramid now supports trace response headers. (#436)

  • opentelemetry-instrumenation-falcon now supports trace response headers. (#436)

  • opentelemetry-instrumenation-flask now supports trace response headers. (#436)

  • opentelemetry-instrumentation-grpc Keep client interceptor in sync with grpc client interceptors. (#442)

Removed

  • Remove http.status_text from span attributes (#406)

Version 0.19b0 (2021-03-26)

  • Implement context methods for _InterceptorChannel (#363)

Changed

  • Rename IdsGenerator to IdGenerator (#350)
  • opentelemetry-exporter-datadog Fix warning when DatadogFormat encounters a request with no DD_ORIGIN headers (#368).
  • opentelemetry-instrumentation-aiopg Fix multiple nested spans when aiopg.pool is used (#336).
  • Updated instrumentations to use opentelemetry.trace.use_span instead of Tracer.use_span() (#364)
  • opentelemetry-propagator-ot-trace Do not throw an exception when headers are not present (#378)
  • opentelemetry-instrumentation-wsgi Reimplement keys method to return actual keys from the carrier instead of an empty list. (#379)
  • opentelemetry-instrumentation-sqlalchemy Fix multithreading issues in recording spans from SQLAlchemy (#315)
  • Make getters and setters optional (#372)

Removed

  • Removing support for Python 3.5 (#374)

Version 0.18b0 (2021-02-16)

Added

  • opentelemetry-propagator-ot-trace Add OT Trace Propagator (#302)
  • opentelemetry-instrumentation-logging Added logging instrumentation to enable log - trace correlation. (#345)

Removed

  • Remove component span attribute in instrumentations. opentelemetry-instrumentation-aiopg, opentelemetry-instrumentation-dbapi Remove unused database_type parameter from trace_integration function. (#301)
  • opentelemetry-instrumentation-asgi Return header values using case insensitive keys (#308)
  • Remove metrics from all instrumentations (#312)
  • opentelemetry-instrumentation-boto updated to set span attributes instead of overriding the resource. (#310)
  • opentelemetry-instrumentation-grpc Fix issue tracking child spans in streaming responses (#260)
  • opentelemetry-instrumentation-grpc Updated client attributes, added tests, fixed examples, docs (#269)

Version 0.17b0 (2021-01-20)

Added

  • opentelemetry-instrumentation-sqlalchemy Ensure spans have kind set to "CLIENT" (#278)
  • opentelemetry-instrumentation-celery Add support for Celery version 5.x (#266)
  • opentelemetry-instrumentation-urllib Add urllib instrumentation (#222)
  • opentelemetry-exporter-datadog Add fields method (#226)
  • opentelemetry-sdk-extension-aws Add method to return fields injected by propagator (#226)
  • opentelemetry-exporter-prometheus-remote-write Prometheus Remote Write Exporter Setup (#180)
  • opentelemetry-exporter-prometheus-remote-write Add Exporter constructor validation methods in Prometheus Remote Write Exporter (#206)
  • opentelemetry-exporter-prometheus-remote-write Add conversion to TimeSeries methods in Prometheus Remote Write Exporter (#207)
  • opentelemetry-exporter-prometheus-remote-write Add request methods to Prometheus Remote Write Exporter (#212)
  • opentelemetry-instrumentation-fastapi Added support for excluding some routes with env var OTEL_PYTHON_FASTAPI_EXCLUDED_URLS (#237)
  • opentelemetry-instrumentation-starlette Added support for excluding some routes with env var OTEL_PYTHON_STARLETTE_EXCLUDED_URLS (#237)
  • Add Prometheus Remote Write Exporter integration tests in opentelemetry-docker-tests (#216)
  • opentelemetry-instrumentation-grpc Add tests for grpc span attributes, grpc abort() conditions (#236)
  • Add README and example app for Prometheus Remote Write Exporter (#227)
  • opentelemetry-instrumentation-botocore Adds a field to report the number of retries it take to complete an API call (#275)
  • opentelemetry-instrumentation-requests Use instanceof to check if responses are valid Response objects (#273)

Changed

  • Fix broken links to project (#413)
  • opentelemetry-instrumentation-asgi, opentelemetry-instrumentation-wsgi Return None for CarrierGetter if key not found (#233)
  • opentelemetry-instrumentation-grpc Comply with updated spec, rework tests (#236)
  • opentelemetry-instrumentation-asgi, opentelemetry-instrumentation-falcon, opentelemetry-instrumentation-flask, opentelemetry-instrumentation-pyramid, opentelemetry-instrumentation-wsgi Renamed host.port attribute to net.host.port (#242)
  • opentelemetry-instrumentation-flask Do not emit a warning message for request contexts created with app.test_request_context (#253)
  • opentelemetry-instrumentation-requests, opentelemetry-instrumentation-urllib Fix span name callback parameters (#259)
  • opentelemetry-exporter-datadog Fix unintentional type change of span trace flags (#261)
  • opentelemetry-instrumentation-aiopg Fix AttributeError __aexit__ when aiopg.connect and aio[g].create_pool used with async context manager (#235)
  • opentelemetry-exporter-datadog opentelemetry-sdk-extension-aws Fix reference to ids_generator in sdk (#283)
  • opentelemetry-instrumentation-sqlalchemy Use SQL operation and DB name as span name. (#254)
  • opentelemetry-instrumentation-dbapi, TracedCursor replaced by CursorTracer (#246)
  • opentelemetry-instrumentation-psycopg2, Added support for psycopg2 registered types. (#246)
  • opentelemetry-instrumentation-dbapi, opentelemetry-instrumentation-psycopg2, opentelemetry-instrumentation-mysql, opentelemetry-instrumentation-pymysql, opentelemetry-instrumentation-aiopg Use SQL command name as the span operation name instead of the entire query. (#246)
  • Update TraceState to adhere to specs (#276)

Removed

  • Remove Configuration (#285)

Version 0.16b1 (2020-11-26)

Version 0.16b0 (2020-11-25)

Added

  • opentelemetry-instrumentation-flask Add span name callback (#152)
  • opentelemetry-sdk-extension-aws Add AWS X-Ray Ids Generator Entry Point (#201)
  • opentelemetry-sdk-extension-aws Fix typo for installing OTel SDK in docs (#200)
  • opentelemetry-sdk-extension-aws Import missing components for docs (#198)
  • opentelemetry-sdk-extension-aws Provide components needed to Configure OTel SDK for Tracing with AWS X-Ray (#130)
  • opentelemetry-instrumentation-sklearn Initial release (#151)
  • opentelemetry-instrumentation-requests Add span name callback (#158)
  • opentelemetry-instrumentation-botocore Add propagator injection for botocore calls (#181)

Changed

  • opentelemetry-instrumentation-pymemcache Update pymemcache instrumentation to follow semantic conventions (#183)
  • opentelemetry-instrumentation-redis Update redis instrumentation to follow semantic conventions (#184)
  • opentelemetry-instrumentation-pymongo Update pymongo instrumentation to follow semantic conventions (#203)
  • opentelemetry-instrumentation-sqlalchemy Update sqlalchemy instrumentation to follow semantic conventions (#202)
  • opentelemetry-instrumentation-botocore Make botocore instrumentation check if instrumentation has been suppressed (#182)
  • opentelemetry-instrumentation-botocore Botocore SpanKind as CLIENT and modify existing traced attributes (#150)
  • opentelemetry-instrumentation-dbapi Update dbapi and its dependent instrumentations to follow semantic conventions (#195)
  • opentelemetry-instrumentation-dbapi Stop capturing query parameters by default (#156)
  • opentelemetry-instrumentation-asyncpg Update asyncpg instrumentation to follow semantic conventions (#188)
  • opentelemetry-instrumentation-grpc Update protobuf versions (#1356)

Version 0.15b0 (2020-11-02)

Added

  • opentelemetry-instrumentation-requests Add support for tracking http metrics (#1230)
  • opentelemetry-instrumentation-django Added capture of http.route (#1226)
  • opentelemetry-instrumentation-django Add support for tracking http metrics (#1230)

Changed

  • opentelemetry-exporter-datadog Make SpanProcessor.on_start accept parent Context (#1251)
  • opentelemetry-instrumentation-flask Use url.rule instead of request.endpoint for span name (#1260)
  • opentelemetry-instrumentation-django Django instrumentation is now enabled by default but can be disabled by setting OTEL_PYTHON_DJANGO_INSTRUMENT to False (#1239)
  • opentelemetry-instrumentation-django Bugfix use request.path replace request.get_full_path(). It will get correct span name (#1309)
  • opentelemetry-instrumentation-django Record span status and http.status_code attribute on exception (#1257)
  • opentelemetry-instrumentation-grpc Rewrite gRPC server interceptor (#1171)

Version 0.14b0 (2020-10-13)

Added

  • opentelemetry-exporter-datadog Add support for span resource labels and service name
  • opentelemetry-instrumentation-celery Span operation names now include the task type. (#1135)
  • opentelemetry-instrumentation-celery Added automatic context propagation. (#1135)
  • opentelemetry-instrumentation-falcon Added support for OTEL_PYTHON_FALCON_TRACED_REQUEST_ATTRS (#1158)
  • opentelemetry-instrumentation-tornado Added support for OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS (#1178)
  • opentelemetry-instrumentation-django Added support for OTEL_PYTHON_DJANGO_TRACED_REQUEST_ATTRS (#1154)

Changed

  • opentelemetry-instrumentation-pymongo Cast PyMongo commands as strings (#1132)
  • opentelemetry-instrumentation-system-metrics Fix issue when specific metrics are not available in certain OS (#1207)
  • opentelemetry-instrumentation-pymysql Bumped version from 0.9.3 to 0.10.1 (#1228)
  • opentelemetry-instrumentation-django Changed span name extraction from request to comply semantic convention (#992)

Version 0.13b0 (2020-09-17)

Added

  • opentelemetry-instrumentation-falcon Initial release. Added instrumentation for Falcon 2.0+
  • opentelemetry-instrumentation-tornado Initial release. Supports Tornado 6.x on Python 3.5 and newer.
  • opentelemetry-instrumentation-aiohttp-client Add instrumentor and auto instrumentation support for aiohttp (#1075)
  • opentelemetry-instrumentation-requests Add support for instrumenting prepared requests (#1040)
  • opentelemetry-instrumentation-requests Add support for http metrics (#1116)

Changed

  • opentelemetry-instrumentation-aiohttp-client Updating span name to match semantic conventions (#972)
  • opentelemetry-instrumentation-dbapi cursors and connections now produce spans when used with context managers (#1028)

Removed

  • Drop support for Python 3.4 (#1099)

Version 0.12b0 (2020-08-14)

Changed

  • opentelemetry-ext-pymemcache Change package name to opentelemetry-instrumentation-pymemcache (#966)
  • opentelemetry-ext-redis Update default SpanKind to SpanKind.CLIENT (#965)
  • opentelemetry-ext-redis Change package name to opentelemetry-instrumentation-redis (#966)
  • opentelemetry-ext-datadog Change package name to opentelemetry-exporter-datadog (#953)
  • opentelemetry-ext-jinja2 Change package name to opentelemetry-instrumentation-jinja2 (#969)
  • opentelemetry-ext-elasticsearch Update environment variable names, prefix changed from OPENTELEMETRY to OTEL (#904)
  • opentelemetry-ext-elasticsearch Change package name to opentelemetry-instrumentation-elasticsearch (#969)
  • opentelemetry-ext-celery Change package name to opentelemetry-instrumentation-celery (#969)
  • opentelemetry-ext-pyramid Change package name to opentelemetry-instrumentation-pyramid (#966)
  • opentelemetry-ext-pyramid Update environment variable names, prefix changed from OPENTELEMETRY to OTEL (#904)
  • opentelemetry-ext-pymongo Change package name to opentelemetry-instrumentation-pymongo (#966)
  • opentelemetry-ext-sqlite3 Change package name to opentelemetry-instrumentation-sqlite3 (#966)
  • opentelemetry-ext-sqlalchemy Change package name to opentelemetry-instrumentation-sqlalchemy (#966)
  • opentelemetry-ext-psycopg2 Change package name to opentelemetry-instrumentation-psycopg2 (#966)
  • opentelemetry-ext-aiohttp-client Change package name to opentelemetry-instrumentation-aiohttp-client (#961)
  • opentelemetry-ext-boto Change package name to opentelemetry-instrumentation-boto (#969)
  • opentelemetry-ext-system-metrics Change package name to opentelemetry-instrumentation-system-metrics (#969)
  • opentelemetry-ext-asgi Change package name to opentelemetry-instrumentation-asgi (#961)
  • opentelemetry-ext-wsgi Change package name to opentelemetry-instrumentation-wsgi (#961)
  • opentelemetry-ext-pymysql Change package name to opentelemetry-instrumentation-pymysql (#966)
  • opentelemetry-ext-requests Change package name to opentelemetry-instrumentation-requests (#961)
  • opentelemetry-ext-requests Span name reported updated to follow semantic conventions to reduce cardinality (#972)
  • opentelemetry-ext-botocore Change package name to opentelemetry-instrumentation-botocore (#969)
  • opentelemetry-ext-dbapi Change package name to opentelemetry-instrumentation-dbapi (#966)
  • opentelemetry-ext-flask Change package name to opentelemetry-instrumentation-flask (#961)
  • opentelemetry-ext-flask Update environment variable names, prefix changed from OPENTELEMETRY to OTEL (#904)
  • opentelemetry-ext-django Change package name to opentelemetry-instrumentation-django (#961)
  • opentelemetry-ext-django Update environment variable names, prefix changed from OPENTELEMETRY to OTEL (#904)
  • opentelemetry-ext-asyncpg Change package name to opentelemetry-instrumentation-asyncpg (#966)
  • opentelemetry-ext-mysql Change package name to opentelemetry-instrumentation-mysql (#966)
  • opentelemetry-ext-grpc Change package name to opentelemetry-instrumentation-grpc (#969)

Version 0.11b0 (2020-07-28)

Added

  • opentelemetry-instrumentation-aiopg Initial release
  • opentelemetry-instrumentation-fastapi Initial release (#890)
  • opentelemetry-ext-grpc Add status code to gRPC client spans (896)
  • opentelemetry-ext-grpc Add gRPC client and server instrumentors (788)
  • opentelemetry-ext-grpc Add metric recording (bytes in/out, errors, latency) to gRPC client

Changed

  • opentelemetry-ext-pyramid Use one general exclude list instead of two (#872)
  • opentelemetry-ext-boto fails to export spans via jaeger (#866)
  • opentelemetry-ext-botocore fails to export spans via jaeger (#866)
  • opentelemetry-ext-wsgi Set span status on wsgi errors (#864)
  • opentelemetry-ext-flask Use one general exclude list instead of two (#872)
  • opentelemetry-ext-django Use one general exclude list instead of two (#872)
  • opentelemetry-ext-asyncpg Shouldn't capture query parameters by default (#854)
  • opentelemetry-ext-mysql bugfix: Fix auto-instrumentation entry point for mysql (#858)

Version 0.10b0 (2020-06-23)

Added

  • opentelemetry-ext-pymemcache Initial release
  • opentelemetry-ext-elasticsearch Initial release
  • opentelemetry-ext-celery Add instrumentation for Celery (#780)
  • opentelemetry-instrumentation-starlette Initial release (#777)
  • opentelemetry-ext-asyncpg Initial Release (#814)

Version 0.9b0 (2020-06-10)

Added

  • opentelemetry-ext-pyramid Initial release
  • opentelemetry-ext-boto Initial release
  • opentelemetry-ext-botocore Initial release
  • opentelemetry-ext-system-metrics Initial release (open-telemetry/opentelemetry-python#652)

Version 0.8b0 (2020-05-27)

Added

  • opentelemetry-ext-datadog Add exporter to Datadog (#572)
  • opentelemetry-ext-sqlite3 Initial release
  • opentelemetry-ext-psycopg2 Implement instrumentor interface, enabling auto-instrumentation (#694)
  • opentelemetry-ext-asgi Add ASGI middleware (#716)
  • opentelemetry-ext-django Add exclude list for paths and hosts to prevent from tracing (#670)
  • opentelemetry-ext-django Add support for django >= 1.10 (#717)

Changed

  • opentelemetry-ext-grpc lint: version of grpc causes lint issues (#696)

Version 0.7b1 (2020-05-12)

Added

  • opentelemetry-ext-redis Initial release
  • opentelemetry-ext-jinja2 Add jinja2 instrumentation (#643)
  • opentelemetry-ext-pymongo Implement instrumentor interface (#612)
  • opentelemetry-ext-sqlalchemy Initial release
  • opentelemetry-ext-aiohttp-client Initial release
  • opentelemetry-ext-pymysql Initial release
  • opentelemetry-ext-http-requests Implement instrumentor interface, enabling auto-instrumentation (#597)
  • opentelemetry-ext-http-requests Adding disable_session for more granular instrumentation control (#573)
  • opentelemetry-ext-http-requests Add a callback for custom attributes (#656)
  • opentelemetry-ext-dbapi Implement instrument_connection and uninstrument_connection (#624)
  • opentelemetry-ext-flask Add exclude list for paths and hosts (#630)
  • opentelemetry-ext-django Initial release
  • opentelemetry-ext-mysql Implement instrumentor interface (#654)

Changed

  • opentelemetry-ext-http-requests Rename package to opentelemetry-ext-requests (#619)

Version 0.6b0 (2020-03-30)

Added

  • opentelemetry-ext-flask Add an entry_point to be usable in auto-instrumentation (#327)
  • opentelemetry-ext-grpc Add gRPC integration (#476)

Version 0.5b0 (2020-03-16)

Version 0.4a0 (2020-02-21)

Added

  • opentelemetry-ext-psycopg2 Initial release
  • opentelemetry-ext-dbapi Initial release
  • opentelemetry-ext-mysql Initial release

Changed

  • opentelemetry-ext-pymongo Updating network connection attribute names (#350)
  • opentelemetry-ext-wsgi Updating network connection attribute names (#350)
  • opentelemetry-ext-flask Use string keys for WSGI environ values (#366)

Version 0.3a0 (2019-12-11)

Added

  • opentelemetry-ext-flask Initial release
  • opentelemetry-ext-pymongo Initial release

Changed

  • opentelemetry-ext-wsgi Support new semantic conventions (#299)
  • opentelemetry-ext-wsgi Updates for core library changes

Version 0.2a0 (2019-10-29)

Changed

  • opentelemetry-ext-wsgi Updates for core library changes
  • opentelemetry-ext-http-requests Updates for core library changes

Version 0.1a0 (2019-09-30)

Added

  • opentelemetry-ext-wsgi Initial release
  • opentelemetry-ext-http-requests Initial release