122 KiB
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.
[!NOTE] The following components are released independently and maintain individual CHANGELOG files. Use this search for a list of all CHANGELOG.md files in this repo.
Unreleased
Added
opentelemetry-instrumentation-confluent-kafkaAdd support for confluent-kafka <=2.7.0 (#3100)- Add support to database stability opt-in in
_semconvutilities and add tests (#3111) opentelemetry-instrumentation-urllibAddpy.typedfile to enable PEP 561 (#3131)opentelemetry-opentelemetry-pymongoAddpy.typedfile to enable PEP 561 (#3136)opentelemetry-opentelemetry-requestsAddpy.typedfile to enable PEP 561 (#3135)opentelemetry-instrumentation-system-metricsAddpy.typedfile to enable PEP 561 (#3132)opentelemetry-opentelemetry-sqlite3Addpy.typedfile to enable PEP 561 (#3133)opentelemetry-instrumentation-falconadd support version to v4 (#3086)opentelemetry-instrumentation-falconImplement new HTTP semantic convention opt-in for Falcon (#2790)opentelemetry-instrumentation-wsgialways record span status code to have it available in metrics (#3148)- add support to Python 3.13 (#3134)
opentelemetry-opentelemetry-wsgiAddpy.typedfile to enable PEP 561 (#3129)opentelemetry-util-httpAddpy.typedfile to enable PEP 561 (#3127)
Fixed
opentelemetry-instrumentation-httpxFixRequestInfo/ResponseInfotype hints (#3105)opentelemetry-instrumentation-dbapiMoveTracedCursorProxyandTracedConnectionProxyto the module level (#3068)opentelemetry-instrumentation-clickDisable tracing of well-known server click commands (#3174)opentelemetry-instrumentationFixget_dist_dependency_conflictsif no distribution requires (#3168)
Breaking changes
opentelemetry-instrumentation-sqlalchemyincluding sqlcomment indb.statementspan attribute value is now opt-in (#3112)
Breaking changes
opentelemetry-instrumentation-dbapiincluding sqlcomment indb.statementspan attribute value is now opt-in (#3115)
Breaking changes
opentelemetry-instrumentation-dbapiincluding sqlcomment indb.statementspan attribute value is now opt-in (#3115)opentelemetry-instrumentation-psycopg2,opentelemetry-instrumentation-psycopg,opentelemetry-instrumentation-mysqlclient,opentelemetry-instrumentation-pymysql: including sqlcomment indb.statementspan attribute value is now opt-in (#3121)
Version 1.29.0/0.50b0 (2024-12-11)
Added
opentelemetry-instrumentation-starletteAdd type hints to the instrumentation (#3045)opentelemetry-distrodefault to OTLP log exporter. (#3042)opentelemetry-instrumentation-sqlalchemyUpdate unit tests to run with SQLALchemy 2 (#2976)- Add
opentelemetry-instrumentation-openai-v2toopentelemetry-bootstrap(#2996) opentelemetry-instrumentation-sqlalchemyAdd sqlcomment todb.statementattribute (#2937)opentelemetry-instrumentation-dbapiAdd sqlcomment todb.statementattribute (#2935)opentelemetry-instrumentation-dbapiinstrument_connection accepts optional connect_module (#3027)opentelemetry-instrumentation-mysqlclientAdd sqlcommenter support (#2941)opentelemetry-instrumentation-pymysqlAdd sqlcommenter support (#2942)opentelemetry-instrumentation-click: new instrumentation to trace click commands (#2994)
Fixed
opentelemetry-instrumentation-starlette: Retrievemeter_providerkey instead of_meter_provideron_instrument(#3048)opentelemetry-instrumentation-httpx: instrument_client is a static method again (#3003)opentelemetry-instrumentation-system_metrics: fix callbacks reading wrong config (#3025)opentelemetry-instrumentation-httpx: Check if mount transport is none before wrap it (#3022)- Replace all instrumentor unit test
assertEqualSpanInstrumentationInfocalls withassertEqualSpanInstrumentationScopecalls (#3037) opentelemetry-instrumentation-sqlalchemyFixes engines fromsqlalchemy.engine_from_confignot being fully instrumented (#2816)opentelemetry-instrumentation-sqlalchemy: Fix a remaining memory leak in EngineTracer (#3053)opentelemetry-instrumentation-sqlite3: Update documentation on explicit cursor support of tracing (#3088)
Breaking changes
opentelemetry-instrumentation-sqlalchemyteach instruments version (#2971)- Drop
opentelemetry-instrumentation-testpackage from default instrumentation list (#2969) opentelemetry-instrumentation-httpx: remove private unused_InstrumentedClientand_InstrumentedAsyncClientclasses (#3036)
Version 1.28.0/0.49b0 (2024-11-05)
Added
opentelemetry-instrumentation-openai-v2Instrumentation for OpenAI >= 0.27.0 (#2759)opentelemetry-instrumentation-fastapiAdd autoinstrumentation mechanism tests. (#2860)opentelemetry-instrumentation-aiokafkaAdd instrumentor and auto instrumentation support for aiokafka (#2082)opentelemetry-instrumentation-redisAdd additional attributes for methods create_index and search, rename those spans (#2635)opentelemetry-instrumentationAdd support for string based dotted module paths in unwrap (#2919)
Fixed
opentelemetry-instrumentation-aiokafkaWrapAIOKafkaConsumer.getone()instead ofAIOKafkaConsumer.__anext__(#2874)opentelemetry-instrumentation-confluent-kafkaFix to allowtopicto be extracted fromkwargsinproduce()([#2901])(https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2901)opentelemetry-instrumentation-system-metricsUpdate metric units to conform to UCUM conventions. (#2922)opentelemetry-instrumentation-celeryDon't detach context without a None token (#2927)opentelemetry-exporter-prometheus-remote-write: sort labels before exporting (#2940)opentelemetry-instrumentation-dbapisqlcommenter key values created from PostgreSQL, MySQL systems (#2897)opentelemetry-instrumentation-system-metrics: don't report open file descriptors on Windows (#2946)
Breaking changes
- Deprecation of pkg_resource in favor of importlib.metadata (#2871)
opentelemetry-instrumentationDon't fail distro loading if instrumentor raises ImportError, instead skip them (#2923)opentelemetry-instrumentation-httpxRewrote instrumentation to use wrapt instead of subclassing (#2909)
Version 1.27.0/0.48b0 (2024-08-28)
Added
opentelemetry-instrumentation-kafka-pythonInstrument temporary fork, kafka-python-ng inside kafka-python's instrumentation (#2537)opentelemetry-instrumentation-asgi,opentelemetry-instrumentation-fastapiAdd ability to disable internal HTTP send and receive spans (#2802)opentelemetry-instrumentation-asgiAdd fallback decoding for ASGI headers (#2837)
Breaking changes
opentelemetry-bootstrapRemoveopentelemetry-instrumentation-aws-lambdafrom the defaults instrumentations (#2786)
Fixed
opentelemetry-instrumentation-httpxfix handling of async hooks (#2823)opentelemetry-instrumentation-system-metricsfixprocess.runtime.cpu.utilizationvalues to be shown in range of 0 to 1 (#2812)opentelemetry-instrumentation-fastapifixfastapiauto-instrumentation by removingfastapi-slimsupport,fastapi-slimitself is discontinued from maintainers (#2783)opentelemetry-instrumentation-aws-lambdaAvoid exception when a handler is not present. (#2750)opentelemetry-instrumentation-djangoFix regression -http.targetre-added back to old semconv duration metrics (#2746)opentelemetry-instrumentation-asgido not seturl.fullattribute for server spans (#2735)opentelemetry-instrumentation-grpcFixes the issue with the gRPC instrumentation not working with the 1.63.0 and higher version of gRPC (#2483)opentelemetry-instrumentation-aws-lambdaFixing w3c baggage support (#2589)opentelemetry-instrumentation-celerypropagates baggage (#2385)opentelemetry-instrumentation-asyncioFixes async generator coroutines not being awaited (#2792)opentelemetry-instrumentation-tornadoHandle http client exception and record exception info into span (#2563)opentelemetry-instrumentationfixhttp.hostnew http semantic convention mapping to depend onkindof span (#2814)opentelemetry-instrumentationFix the description ofhttp.server.durationandhttp.server.request.duration(#2753)opentelemetry-instrumentation-grpcFix grpc supported version (#2845)opentelemetry-instrumentation-asynciofixAttributeErrorinAsyncioInstrumentor.trace_to_threadwhenfuncis afunctools.partialinstance (#2911)
Version 1.26.0/0.47b0 (2024-07-23)
Added
opentelemetry-instrumentation-flaskAddhttp.routeandhttp.targetto metric attributes (#2621)opentelemetry-instrumentation-aws-lambdaEnable global propagator for AWS instrumentation (#2708)opentelemetry-instrumentation-sklearnDeprecated the sklearn instrumentation (#2708)opentelemetry-instrumentation-pyramidRecord exceptions raised when serving a request (#2622)opentelemetry-sdk-extension-awsAdd AwsXrayLambdaPropagator (#2573)opentelemetry-instrumentation-confluent-kafkaAdd support for version 2.4.0 of confluent_kafka (#2616)opentelemetry-instrumentation-asyncpgAdd instrumentation to cursor based queries (#2501)opentelemetry-instrumentation-confluent-kafkaAdd support for produce purge (#2638)opentelemetry-instrumentation-asgiImplement new semantic convention opt-in with stable http semantic conventions (#2610)opentelemetry-instrumentation-fastapiImplement new semantic convention opt-in with stable http semantic conventions (#2682)opentelemetry-instrumentation-httpxImplement new semantic convention opt-in migration with stable http semantic conventions (#2631)opentelemetry-instrumentation-system-metricsPermit to use psutil 6.0+. (#2630)opentelemetry-instrumentation-system-metricsAdd support for capture open file descriptors (#2652)opentelemetry-instrumentation-httpxAdd support for instrument client with proxy (#2664)opentelemetry-instrumentation-aiohttp-clientImplement new semantic convention opt-in migration (#2673)opentelemetry-instrumentation-djangoAddhttp.targetto Django duration metric attributes (#2624)opentelemetry-instrumentation-urllib3Implement new semantic convention opt-in migration (#2715)opentelemetry-instrumentation-djangoImplement new semantic convention opt-in with stable http semantic conventions (#2714)opentelemetry-instrumentation-urllibImplement new semantic convention opt-in migration (#2736)
Breaking changes
opentelemetry-instrumentation-asgi,opentelemetry-instrumentation-fastapi,opentelemetry-instrumentation-starletteUsetracerandmeterof originating components instead of one fromasgimiddleware (#2580)- Populate
{method}asHTTPon_OTHERmethods from scope forasgimiddleware (#2610) - Populate
{method}asHTTPon_OTHERmethods from scope forfastapimiddleware (#2682) opentelemetry-instrumentation-urllib3Populate{method}asHTTPon_OTHERmethods for span name (#2715)- Populate
{method}asHTTPon_OTHERmethods from scope forfastapiinstrumentation (#2682) - Populate
{method}asHTTPon_OTHERmethods from scope fordjangomiddleware (#2714) - Populate
{method}asHTTPon_OTHERmethods from scope forurllibinstrumentation (#2736) opentelemetry-instrumentation-httpx,opentelemetry-instrumentation-aiohttp-client,opentelemetry-instrumentation-requestsPopulate{method}asHTTPon_OTHERmethods (#2726)opentelemetry-instrumentation-fastapiAdd dependency support for fastapi-slim (#2702)opentelemetry-instrumentation-urllib3improve request_hook, replacingheadersandbodyparameters with a singlerequest_info: RequestInfoparameter that now contains themethodandurl(#2711)
Fixed
- Handle
redis.exceptions.WatchErroras a non-error event in redis instrumentation (#2668) opentelemetry-instrumentation-httpxEnsure httpx.get or httpx.request like methods are instrumented (#2538)- Add Python 3.12 support (#2572)
opentelemetry-instrumentation-aiohttp-server,opentelemetry-instrumentation-httpxEnsure consistently use of suppress_instrumentation utils (#2590)- Reference symbols from generated semantic conventions (#2611)
opentelemetry-instrumentation-psycopgBugfix: Handle empty statement. (#2644)opentelemetry-instrumentation-confluent-kafkaConfluent Kafka: Ensure consume span is ended when consumer is closed (#2640)opentelemetry-instrumentation-asgiFix generation ofhttp.targetandhttp.urlattributes for ASGI apps using sub apps (#2477)opentelemetry-instrumentation-aws-lambdaBugfix: AWS Lambda event source key incorrect for SNS in instrumentation library. (#2612)opentelemetry-instrumentation-asyncioinstrumentedasyncio.wait_forproperly raisesasyncio.TimeoutErroras expected (#2637)opentelemetry-instrumentation-djangoHandle exceptions from request/response hooks (#2153)opentelemetry-instrumentation-asgiRemovedNET_HOST_NAMEANDNET_HOST_PORTfrom active requests count attribute (#2610)opentelemetry-instrumentation-asgiBugfix: Middleware did not set status code attribute on duration metrics for non-recording spans. (#2627)opentelemetry-instrumentation-mysqlAdd support formysql-connector-pythonv9 (#2751)
Version 1.25.0/0.46b0 (2024-05-31)
Breaking changes
- Add return statement to Confluent kafka Producer poll() and flush() calls when instrumented by ConfluentKafkaInstrumentor().instrument_producer() (#2527)
- Rename
typeattribute toasgi.event.typeinopentelemetry-instrumentation-asgi(#2300) - Rename AwsLambdaInstrumentor span attributes
faas.idtocloud.resource_id,faas.executiontofaas.invocation_id(#2372) - Drop support for instrumenting elasticsearch client < 6 (#2422)
opentelemetry-instrumentation-wsgiAddhttp.methodtospan.name(#2425)opentelemetry-instrumentation-flaskAddhttp.methodtospan.name(#2454)- Record repeated HTTP headers in lists, rather than a comma separate strings for ASGI based web frameworks (#2361)
- ASGI, FastAPI, Starlette: provide both send and receive hooks with
scopeandmessagefor internal spans - (#2546)
Added
opentelemetry-sdk-extension-awsRegister AWS resource detectors under theopentelemetry_resource_detectorentry point (#2382)opentelemetry-instrumentation-wsgiImplement new semantic convention opt-in with stable http semantic conventions (#2425)opentelemetry-instrumentation-flaskImplement new semantic convention opt-in with stable http semantic conventions (#2454)opentelemetry-instrumentation-threadingInitial release for threading (#2253)opentelemetry-instrumentation-pikaInstrumentation forchannel.consume()(supported only for global, non channel specific instrumentation) (#2397)opentelemetry-processor-baggageInitial release (#2436)opentelemetry-processor-baggageAdd baggage key predicate (#2535)
Fixed
opentelemetry-instrumentation-dbapiFix compatibility with Psycopg3 to extract libpq build version (#2500)opentelemetry-instrumentation-grpcAioClientInterceptor should propagate with a Metadata object (#2363)opentelemetry-instrumentation-boto3sqsInstrument Session and resource (#2161)opentelemetry-instrumentation-aws-lambdaFix exception handling for events with requestContext (#2418)- Use sqlalchemy version in sqlalchemy commenter instead of opentelemetry library version (#2404)
opentelemetry-instrumentation-asyncioCheck for cancelledException in the future (#2461)- Remove SDK dependency from opentelemetry-instrumentation-grpc (#2474)
opentelemetry-instrumentation-elasticsearchImproved support for version 8 (#2420)opentelemetry-instrumentation-elasticsearchDisabling instrumentation with native OTel support enabled (#2524)opentelemetry-instrumentation-asyncioCheck for name attribute in the coroutine (#2521)opentelemetry-instrumentation-requestsFix wrong time unit for duration histogram (#2553)opentelemetry-util-httpPreserve brackets around literal IPv6 hosts (#2552)opentelemetry-util-redisFix net peer attribute for unix socket connection (#2493)
Version 1.24.0/0.45b0 (2024-03-28)
Added
opentelemetry-instrumentation-psycopgAsync Instrumentation for psycopg 3.x (#2146)
Fixed
opentelemetry-instrumentation-celeryAllow Celery instrumentation to be installed multiple times (#2342)- Align gRPC span status codes to OTEL specification (#1756)
opentelemetry-instrumentation-flaskAdd importlib metadata default for deprecation warning flask version (#2297)- Ensure all http.server.duration metrics have the same description (#2151)
- Fix regression in httpx
request.urlnot being of typehttpx.URLafter0.44b0(#2359) - Avoid losing repeated HTTP headers (#2266)
opentelemetry-instrumentation-elasticsearchDon't send bulk request body as db statement (#2355)- AwsLambdaInstrumentor sets
cloud.account.idspan attribute (#2367)
Added
opentelemetry-instrumentation-fastapiAdd support for configuring header extraction via runtime constructor parameters (#2241)
Version 1.23.0/0.44b0 (2024-02-23)
- Drop support for 3.7 (#2151)
opentelemetry-resource-detector-azureAdded 10s timeout to VM Resource Detector (#2119)opentelemetry-instrumentation-asyncpgAllow AsyncPGInstrumentor to be instantiated multiple times (#1791)opentelemetry-instrumentation-confluent-kafkaAdd support for higher versions until 2.3.0 of confluent_kafka (#2132)opentelemetry-resource-detector-azureChanged timeout to 4 seconds due to timeout bug (#2136)opentelemetry-resource-detector-azureSuppress instrumentation forurllibcall (#2178)- AwsLambdaInstrumentor handles and re-raises function exception (#2245)
Added
opentelemetry-instrumentation-psycopgInitial release for psycopg 3.xopentelemetry-instrumentation-asgiAdd support for configuring ASGI middleware header extraction via runtime constructor parameters (#2026)
Version 1.22.0/0.43b0 (2023-12-14)
Added
opentelemetry-instrumentation-asyncioAdd support for asyncio (#1919)opentelemetry-instrumentationAdded Otel semantic convention opt-in mechanism (#1987)opentelemetry-instrumentation-httpxFix mixing async and non async hooks (#1920)opentelemetry-instrumentation-requestsImplement new semantic convention opt-in with stable http semantic conventions (#2002)opentelemetry-instrument-grpcFix arity of context.abort for AIO RPCs (#2066)- Consolidate instrumentation suppression mechanisms and fix bug in httpx instrumentation (#2061)
Fixed
opentelemetry-instrumentation-httpxRemove URL credentials (#2020)opentelemetry-instrumentation-urllib/opentelemetry-instrumentation-urllib3Fix metric descriptions to match semantic conventions (#1959)opentelemetry-resource-detector-azureAdded dependency for Cloud Resource ID attribute (#2072)
Version 1.21.0/0.42b0 (2023-11-01)
Added
opentelemetry-instrumentation-aiohttp-serverAdd instrumentor and auto instrumentation support for aiohttp-server (#1800)opentelemetry-instrumentation-botocoreInclude SNS topic ARN as a span attribute with namemessaging.destination.nameto uniquely identify the SNS topic (#1995)opentelemetry-instrumentation-system-metricsAdd support for collecting process metrics (#1948)- Added schema_url (
"https://opentelemetry.io/schemas/1.11.0") to all metrics and traces (#1977)
Fixed
opentelemetry-instrumentation-aio-pikaandopentelemetry-instrumentation-pikaFix missing trace context propagation when trace not recording. (#1969)- Fix version of Flask dependency
werkzeug(#1980) opentelemetry-resource-detector-azureUsing new Cloud Resource ID attribute. (#1976)- Do not collect
system.network.connectionsby default on macOS which was causing exceptions in metrics collection. (#2008)
Version 1.20.0/0.41b0 (2023-09-01)
Fixed
opentelemetry-instrumentation-asgiFix 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) opentelemetry-instrumentation-celeryUnwrap Celery'sExceptionInfoerrors and report the actual exception that was raised. (#1863)
Added
opentelemetry-resource-detector-azureAdd resource detectors for Azure App Service and VM (#1901)opentelemetry-instrumentation-flaskAdd support for Flask 3.0.0 (#152)
Version 1.19.0/0.40b0 (2023-07-13)
opentelemetry-instrumentation-asgiAddhttp.server.request.sizemetric (#1867)
Fixed
opentelemetry-instrumentation-djangoFix empty span name when usingpath("", ...)(#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)
- Exclude background task execution from root server span in ASGI middleware (#1952)
Added
- Add instrumentor support for cassandra and scylla (#1902)
- 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-asgiAddhttp.server.response.sizemetric (#1789)opentelemetry-instrumentation-grpcAllow gRPC connections via Unix socket (#1833)- Fix elasticsearch
Transport.perform_requestinstrument wrap for elasticsearch >= 8 (#1810) opentelemetry-instrumentation-urllib3Add support for urllib3 version 2 (#1879)- Add optional distro and configurator selection for auto-instrumentation (#1823)
opentelemetry-instrumentation-django- Add option to add Opentelemetry middleware at specific position in middleware chain ([#2912]https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2912)
Added
opentelemetry-instrumentation-kafka-pythonAdd instrumentation toconsumemethod (#1786)
Version 1.18.0/0.39b0 (2023-05-10)
- Update runtime metrics to follow semantic conventions (#1735)
- Add request and response hooks for GRPC instrumentation (client only) (#1706)
- Fix memory leak in SQLAlchemy instrumentation where disposed
Enginedoes not get garbage collected (#1771) opentelemetry-instrumentation-pymemcacheUpdate instrumentation to support pymemcache >4 (#1764)opentelemetry-instrumentation-confluent-kafkaAdd support for higher versions of confluent_kafka (#1815)
Added
- Expand sqlalchemy pool.name to follow the semantic conventions (#1778)
- Add
excluded_urlsfunctionality tourllibandurllib3instrumentations (#1733) - Make Django request span attributes available for
start_span. (#1730) - Make ASGI request span attributes available for
start_span. (#1762) opentelemetry-instrumentation-celeryAdd support for anonymous tasks. (#1407)opentelemetry-instrumentation-loggingAddotelTraceSampledto instrumetation-logging (#1773)
Changed
opentelemetry-instrumentation-botocorenow uses the AWS X-Ray propagator by default (#1741)
Fixed
- Fix redis db.statements to be sanitized by default (#1778)
- Fix elasticsearch db.statement attribute to be sanitized by default (#1758)
- Fix
AttributeErrorwhen AWS Lambda handler receives a list event (#1738) - Fix
None does not implement middlewareerror when there are no middlewares registered (#1766) - Fix Flask instrumentation to only close the span if it was created by the same request context. (#1692)
Changed
- Update HTTP server/client instrumentation span names to comply with spec (#1759)
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-metricsFix 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-requestsReplacename_callbackandspan_callbackwith standardresponse_hookandrequest_hookcallbacks (#670)
Version 1.16.0/0.37b0 (2023-02-17)
Added
- Support
aio_pika9.x ((#1670 opentelemetry-instrumentation-redisAddsanitize_queryconfig option to allow query sanitization. (#1572)opentelemetry-instrumentation-elasticsearchAdd optional db.statement query sanitization. (#1598)opentelemetry-instrumentation-celeryRecord exceptions as events on the span. (#1573)- Add metric instrumentation for urllib (#1553)
opentelemetry/sdk/extension/awsImplementaws.ecs.*andaws.logs.*resource attributes in theAwsEcsResourceDetectordetector when the ECS Metadata v4 is available (#1212)opentelemetry-instrumentation-aio-pikaSupportaio_pika8.x (#1481)opentelemetry-instrumentation-aws-lambdaFlushMeterProviderat end of function invocation. (#1613)- Fix aiohttp bug with unset
trace_configs(#1592) opentelemetry-instrumentation-djangoAllow explicitexcluded_urlsconfiguration throughinstrument()(#1618)
Fixed
- Fix TortoiseORM instrumentation
AttributeError: type object 'Config' has no attribute 'title'(#1575) - Fix SQLAlchemy uninstrumentation (#1581)
opentelemetry-instrumentation-grpcFix code()/details() of _OpentelemetryServicerContext. (#1578)- Fix aiopg instrumentation to work with aiopg < 2.0.0 (#1473)
opentelemetry-instrumentation-aws-lambdaAdds an option to configuredisable_aws_context_propagationby environment variable:OTEL_LAMBDA_DISABLE_AWS_CONTEXT_PROPAGATION(#1507)- Fix pymongo to collect the property DB_MONGODB_COLLECTION (#1555)
opentelemetry-instrumentation-asgiFix 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-tortoiseormInitial release (#685)- Add metric instrumentation for tornado (#1252)
opentelemetry-instrumentation-aws-lambdaAdd option to disable aws context propagation (#1466)
Added
opentelemetry-resource-detector-containerAdd support resource detection of container properties. (#1584)opentelemetry-instrumentation-pymysqlAdd tests for commit() and rollback(). (#1424)opentelemetry-instrumentation-fastapiAdd support for regular expression matching and sanitization of HTTP headers. (#1403)opentelemetry-instrumentation-botocoreadd support formessaging.*in the sqs extension. (#1350)opentelemetry-instrumentation-starletteAdd support for regular expression matching and sanitization of HTTP headers. (#1404)opentelemetry-instrumentation-botocoreAdd support for SNSpublishandpublish_batch. (#1409)- Strip leading comments from SQL queries when generating the span name. (#1434)
opentelemetry-instrumentation-confluent-kafkaAdd 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-clientAllow overriding of status in response hook. (#1394)opentelemetry-instrumentation-pymysqlFix dbapi connection instrument wrapper has no _sock member. (#1424)opentelemetry-instrumentation-dbapiFix the check for the connection already being instrumented in instrument_connection(). (#1424)- Remove db.name attribute from Redis instrumentation (#1427)
opentelemetry-instrumentation-asgiFix 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-distroDeprecateotlp_proto_grpcandotlp_proto_httpin favor of usingOTEL_EXPORTER_OTLP_TRACES_PROTOCOLas 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-djangoFixed bug where auto-instrumentation fails when django is installed and settings are not configured. (#1369)opentelemetry-instrumentation-system-metricsadd supports to collect system thread count. (#1339)opentelemetry-exporter-richconsoleFixing RichConsoleExpoter to allow multiple traces, fixing duplicate spans and include resources (#1336)opentelemetry-instrumentation-asgiAdd support for regular expression matching and sanitization of HTTP headers. (#1333)opentelemetry-instrumentation-asgimetrics record target attribute (FastAPI only) (#1323)opentelemetry-instrumentation-wsgiAdd support for regular expression matching and sanitization of HTTP headers. (#1402)- Add support for py3.11 (#1415)
opentelemetry-instrumentation-djangoAdd support for regular expression matching and sanitization of HTTP headers. (#1411)opentelemetry-instrumentation-falconAdd support for regular expression matching and sanitization of HTTP headers. (#1412)opentelemetry-instrumentation-flaskAdd support for regular expression matching and sanitization of HTTP headers. (#1413)opentelemetry-instrumentation-pyramidAdd support for regular expression matching and sanitization of HTTP headers. (#1414)opentelemetry-instrumentation-grpcAdd 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-asgiFix keys() in class ASGIGetter so it decodes the keys before returning them. (#1333)opentelemetry-instrumentation-asgiMake 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-asyncpgFix high cardinality in the span name (#1324)
Added
opentelemetry-instrumentation-grpcadd 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-httpAdd support for sanitizing HTTP header values. (#1253)- Add metric instrumentation in starlette (#1327)
Fixed
opentelemetry-instrumentation-kafka-python: wait for metadata (#1260)opentelemetry-instrumentation-boto3sqsMake propagation compatible with other SQS instrumentations, add 'messaging.url' span attribute, and fix missing package dependencies. (#1234)opentelemetry-instrumentation-pymongoChange span names to not contain queries but only database name and command name (#1247)- restoring metrics in django framework (#1208)
opentelemetry-instrumentation-aiohttp-clientFix 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]https://github.com/open-telemetry/opentelemetry-python-contrib/pull/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-redisadd support to instrument RedisCluster clients (#1177)opentelemetry-instrumentation-sqlalchemyAdded span for the connection phase (#1133)- Add metric instrumentation in asgi (#1197)
- Add metric instrumentation 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-grpcnarrow protobuf dependency to exclude protobuf >= 4 (#1109)- cleanup type hints for textmap
GetterandSetterclasses - Suppressing downstream HTTP instrumentation to avoid extra spans (#1116)
- fixed typo in
system.network.iometric configuration (#1135)
Added
opentelemetry-instrumentation-aiohttp-clientAdd support for optional custom trace_configs argument. (1079)opentelemetry-instrumentation-sqlalchemyadd support to instrument multiple engines (#1132)opentelemetry-instrumentation-loggingadd log hook support (#1117)opentelemetry-instrumentation-remouladeInitial 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-pikaadded RabbitMQ aio-pika module instrumentation. (#1095)opentelemetry-instrumentation-requestsRestoring 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-clientmake span attributes available to sampler (#1072)opentelemetry-instrumentation-aws-lambdaFixed 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-sqlalchemywill correctly reportotel.library.name(#1086)opentelemetry-sdk-extension-awschange timeout for AWS EC2 and EKS metadata requests from 1000 seconds and 2000 seconds to 1 second
Added
opentelemetry-instrumentandopentelemetry-bootstrapnow include a--versionflag (#1065)opentelemetry-instrumentation-redisnow instruments asynchronous Redis clients, if the installed redis-py includes async support (>=4.2.0). (#1076)opentelemetry-instrumentation-boto3sqsadded AWS's SQS instrumentation. (#1081)
Version 1.11.1/0.30b1 (2022-04-21)
Added
opentelemetry-instrumentation-starletteCapture 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-pyramidFixed which package is the correct caller in _traced_init. (#830)opentelemetry-instrumentation-tornadoFix Tornado errors mapping to 500 (#1048)opentelemetry-instrumentation-urllibmake span attributes available to sampler (1014)opentelemetry-instrumentation-flaskFix non-recording span bug (#999)opentelemetry-instrumentation-tornadoFix non-recording span bug (#999)
Added
opentelemetry-instrumentation-fastapiCapture custom request/response headers in span attributes (#1032)opentelemetry-instrumentation-djangoCapture custom request/response headers in span attributes (#1024)opentelemetry-instrumentation-asgiCapture custom request/response headers in span attributes (#1004)opentelemetry-instrumentation-psycopg2extended the sql commenter support of dbapi into psycopg2 (#940)opentelemetry-instrumentation-falconAdd support for falcon==1.4.1 (#1000)opentelemetry-instrumentation-falconFalcon: Capture custom request/response headers in span attributes (#1003)opentelemetry-instrumentation-elasticsearchno longer creates unique span names by including search target, replaces them with<target>and puts the value in attributeelasticsearch.target(#1018)opentelemetry-instrumentation-pyramidHandle non-HTTPException exceptions (#1001)opentelemetry-instrumentation-system-metricsrestoreSystemMetricsinstrumentation asSystemMetricsInstrumentor(#1012)opentelemetry-instrumentation-pyramidPyramid: Capture custom request/response headers in span attributes (#1022)
Version 1.10.0/0.29b0 (2022-03-10)
opentelemetry-instrumentation-wsgiCapture custom request/response headers in span attributes (#925)opentelemetry-instrumentation-flaskFlask: Capture custom request/response headers in span attributes (#952)opentelemetry-instrumentation-tornadoTornado: Capture custom request/response headers in span attributes (#950)
Added
opentelemetry-instrumentation-aws-lambdaSpanKind.SERVERby default, add more cases forSpanKind.CONSUMERservices. (#926)opentelemetry-instrumentation-sqlalchemyadded experimental sql commenter capability (#924)opentelemetry-contrib-instrumentationsadded new meta-package that installs all contrib instrumentations. (#681)opentelemetry-instrumentation-dbapiadd experimental sql commenter capability (#908)opentelemetry-instrumentation-requestsmake span attribute available to samplers (#931)opentelemetry-datadog-exporteradd deprecation note to example. (#900)
Fixed
opentelemetry-instrumentation-dbapiChanged the format of traceparent id. (#941)opentelemetry-instrumentation-loggingretrieves service name defensively. (#890)opentelemetry-instrumentation-wsgiWSGI: Conditionally create SERVER spans (#903)opentelemetry-instrumentation-falconSafer patching mechanism (#895)opentelemetry-instrumentation-kafka-pythonFix topic extraction (#949)
Changed
opentelemetry-instrumentation-pymemcacheshould run against newer versions of pymemcache. (#935)
Version 1.9.1/0.28b1 (2022-01-29)
Fixed
-
opentelemetry-instrumentation-pikarequirespackagingdependency -
opentelemetry-instrumentation-tornadoTornado: Conditionally create SERVER spans (#889)
Version 1.9.0/0.28b0 (2022-01-26)
Added
-
opentelemetry-instrumentation-pyramidPyramid: Conditionally create SERVER spans (#869) -
opentelemetry-instrumentation-grpcaddedtrailing_metadatato _OpenTelemetryServicerContext. (#871) -
opentelemetry-instrumentation-asginow returns atraceresponseresponse header. (#817) -
opentelemetry-instrumentation-kafka-pythonadded kafka-python module instrumentation. (#814) -
opentelemetry-instrumentation-falconFalcon: Conditionally create SERVER spans (#867) -
opentelemetry-instrumentation-pymongonow supportspymongo v4(#876) -
opentelemetry-instrumentation-httpxnow supports versions higher than0.19.0. (#866)
Fixed
-
opentelemetry-instrumentation-djangoDjango: Conditionally create SERVER spans (#832) -
opentelemetry-instrumentation-flaskFlask: Conditionally create SERVER spans (#828) -
opentelemetry-instrumentation-celeryCelery: Support partial task time limit (#846) -
opentelemetry-instrumentation-asgiASGI: Conditionally create SERVER spans (#843) -
opentelemetry-instrumentation-djangoDjango: fix issue preventing detection of MIDDLEWARE_CLASSES -
opentelemetry-instrumentation-sqlite3Instrumentation now works withdbapi2.connect -
opentelemetry-instrumentation-kafkaKafka: safe kafka partition extraction (#872) -
opentelemetry-instrumentation-aiohttp-clientaiohttp: Correct url filter input type (#843) -
opentelemetry-instrumentation-aiohttp-clientaiohttp: Removespan_namefrom docs (#857)
Version 1.8.0/0.27b0 (2021-12-17)
Added
opentelemetry-instrumentation-aws-lambdaAdds support for configurable flush timeout viaOTEL_INSTRUMENTATION_AWS_LAMBDA_FLUSH_TIMEOUTproperty. (#825)opentelemetry-instrumentation-pikaAdds support for versions between0.12.0to1.0.0. (#837)
Fixed
-
opentelemetry-instrumentation-urllibFixed an error on unexpected status values. (#823) -
opentelemetry-exporter-richconsoleFixed attribute error on parentless spans. (#782) -
opentelemetry-instrumentation-tornadoAdd support instrumentation for Tornado 5.1.1 (#812)
Version 1.7.1/0.26b1 (2021-11-11)
Added
opentelemetry-instrumentation-aws-lambdaAdd 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-instrumentationAddsetuptoolstoinstall_requires(#781)opentelemetry-instrumentation-aws-lambdaAdd instrumentation for AWS Lambda Service - Implementation (Part 2/2) (#777)opentelemetry-instrumentation-pymongoAddrequest_hook,response_hookandfailed_hookcallbacks passed as arguments to the instrument method (#793)opentelemetry-instrumentation-pymysqlAdd support for PyMySQL 1.x series (#792)- Add support for generic OTEL_PYTHON_EXCLUDED_URLS variable (#790)
Fixed
opentelemetry-instrumentation-asginow explicitly depends on asgiref as it uses the package instead of instrumenting it. (#765)opentelemetry-instrumentation-pikanow propagates context to basic_consume callback (#766)opentelemetry-instrumentation-falconDropped broken support for Python 3.4. (#774)opentelemetry-instrumentation-djangoFixed carrier usage on ASGI requests. (#767)- Don't set Span Status on 4xx http status code for SpanKind.SERVER spans (#776)
opentelemetry-instrumentation-djangoFixed instrumentation and tests for all Django major versions. (#780)
Version 1.6.2/0.25b2 (2021-10-19)
opentelemetry-instrumentation-sqlalchemyFix PostgreSQL instrumentation for Unix sockets (#761)
Changed
opentelemetry-sdk-extension-aws&opentelemetry-propagator-awsRelease AWS Python SDK Extension as 2.0.1 and AWS Propagator as 1.0.1 (#753)opentelemetry-instrumentation-pikaAdd_decorate_basic_consumeto ensure post instrumentationbasic_consumecalls are also instrumented. (#759)- Consolidate instrumentation documentation in docstrings (#754)
Fixed
opentelemetry-distrouses 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-pikaAddpublish_hookandconsume_hookcallbacks passed as arguments to the instrument method (#763)
Version 1.6.1/0.25b1 (2021-10-18)
Changed
opentelemetry-util-httpno longer contains an instrumentation entrypoint and will not be loaded automatically by the auto instrumentor. (#745)opentelemetry-instrumentation-pikaBugfix use properties.headers. It will prevent the header injection from raising. (#740)opentelemetry-instrumentation-botocoreAdd extension for DynamoDB (#735)opentelemetry-sdk-extension-aws&opentelemetry-propagator-awsRemove unnecessary dependencies onopentelemetry-test(#752)opentelemetry-instrumentation-botocoreAdd Lambda extension (#760)
Version 1.6.0/0.25b0 (2021-10-13)
Added
opentelemetry-sdk-extension-awsRelease AWS Python SDK Extension as 1.0.0 (#667)opentelemetry-instrumentation-urllib3,opentelemetry-instrumentation-requestsThenet.peer.ipattribute is set to the IP of the connected HTTP server or proxy using a new instrumentor inopententelemetry-util-http(#661)opentelemetry-instrumentation-pymongoAdd check for suppression key in PyMongo. (#736)opentelemetry-instrumentation-elasticsearchAddedresponse_hookandrequest_hookcallbacks (#670)opentelemetry-instrumentation-redisadded request_hook and response_hook callbacks passed as arguments to the instrument method. (#669)opentelemetry-instrumentation-botocoreaddrequest_hookandresponse_hookcallbacks (679)opentelemetry-exporter-richconsoleInitial release (#686)opentelemetry-instrumentation-elasticsearchno longer creates unique span names by including document IDs, replaces them with:idand puts the value in attributeelasticsearch.id(#705)opentelemetry-instrumentation-tornadonow setshttp.client_ipandtornado.handlerattributes (#706)opentelemetry-instrumentation-requestsadded exclude urls functionality (#714)opentelemetry-instrumentation-djangoAdd ASGI support (#391)
Changed
opentelemetry-instrumentation-flaskFixRuntimeError: Working outside of request context(#734)opentelemetry-propagators-aws-xrayRenameAwsXRayFormattoAwsXRayPropagator(#729)opentelemetry-instrumentation-sqlalchemyRespect provided tracer provider when instrumenting SQLAlchemy (#728)opentelemetry-sdk-extension-awsMove AWS X-Ray Propagator into its ownopentelemetry-propagators-awspackage (#720)opentelemetry-instrumentation-sqlalchemyAddedpackagingdependency (#713)opentelemetry-instrumentation-jinja2Allow instrumentation of newer Jinja2 versions. (#712)opentelemetry-instrumentation-botocoreMake common span attributes compliant with semantic conventions (#674)opentelemetry-sdk-extension-awsRelease AWS Python SDK Extension as 1.0.0 (#667)opentelemetry-instrumentation-botocoreUnpatch botocore Endpoint.prepare_request on uninstrument (#664)opentelemetry-instrumentation-botocoreFix span injection for lambda invoke (#663)opentelemetry-instrumentation-botocoreIntroduce instrumentation extensions (#718)opentelemetry-instrumentation-urllib3Updated_RequestHookTwith 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-awsAdd 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-urllib3Addedrequest_hookandresponse_hookcallbacks (#576)opentelemetry-instrumentation-pikaadded RabbitMQ's pika module instrumentation. (#680)
Changed
opentelemetry-instrumentation-fastapiAllow instrumentation of newer FastAPI versions. (#602)- Enable explicit
excluded_urlsargument inopentelemetry-instrumentation-flask(#604)
Version 1.4.0/0.23b0 (2021-07-21)
Removed
- Move
opentelemetry-instrumentationto the core repo. (#595)
Changed
opentelemetry-instrumentation-falconadded support for Falcon 3. (#607)opentelemetry-instrumentation-tornadoproperly instrument work done in tornado on_finish method. (#499)opentelemetry-instrumentationFixed 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-djangoMigrated 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-grpcRespect the suppress instrumentation in gRPC client instrumentor (#559)opentelemetry-instrumentation-grpcFixed asynchronous unary call traces (#536)opentelemetry-sdk-extension-awsUpdate AWS entry points to match spec (#566)- Include Flask 2.0 as compatible with existing flask instrumentation (#545)
openelemetry-sdk-extension-awsTake a dependency onopentelemetry-sdk(#558)- Change
opentelemetry-instrumentation-httpxto replaceclientclasses with instrumented versions. (#577) opentelemetry-instrumentation-requestsFix potentialAttributeErrorwhenrequestsis used with a custom transport adapter. (#562)opentelemetry-instrumentation-djangoFix AttributeError: ResolverMatch object has no attribute route (#581)opentelemetry-instrumentation-botocoreSuppress botocore downstream instrumentation like urllib3 (#563)opentelemetry-exporter-datadogDatadog exporter should not useunknown_serviceas fallback resource service name. (#570)- Add support for the async extension of SQLAlchemy (>= 1.4) (#568)
Added
opentelemetry-instrumentation-httpxAddhttpxinstrumentation (#461)
Version 1.3.0/0.22b0 (2021-06-01)
Changed
opentelemetry-bootstrapnot 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-asgiSet the response status code on the server span (#478)opentelemetry-instrumentation-tornadoFixed cases where description was used with non- error status code when creating Status objects. (#504)opentelemetry-instrumentation-asgiFix instrumentation default span name. (#418)- Propagators use the root context as default for
extractand do not modify the context if extracting from carrier does not work. (#488)
Added
opentelemetry-instrumentation-botocorenow 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-traceUseTraceFlagsobject inextract(#472)- Set the
traced_request_attrsof 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-instrumentationfrom core repository (#465)
Version 0.20b0 (2021-04-20)
Changed
- Restrict DataDog exporter's
ddtracedependency to known working versions. (#400) - GRPC instrumentation now correctly injects trace context into outgoing requests. (#392)
- Publish
opentelemetry-propagator-ot-tracepackage 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-wsgiReplacedname_callbackwithrequest_hookandresponse_hookcallbacks. (#424)- Update gRPC instrumentation to better wrap server context (#420)
opentelemetry-instrumentation-redisFix default port KeyError and Wrong Attribute name (net.peer.ip -> net.peer.port) (#265)opentelemetry-instrumentation-asyncpgFix default port KeyError and Wrong Attribute name (net.peer.ip -> net.peer.port) (#265)
Added
-
opentelemetry-instrumentation-urllib3Add urllib3 instrumentation (#299) -
opentelemetry-instrumentation-flaskAddedrequest_hookandresponse_hookcallbacks. (#416) -
opentelemetry-instrumenation-djangonow supports request and response hooks. (#407) -
opentelemetry-instrumentation-falconFalconInstrumentor now supports request/response hooks. (#415) -
opentelemetry-instrumentation-tornadoAdd request/response hooks. (#426) -
opentelemetry-exporter-datadogAdd parsing exception events for error tags. (#459) -
opentelemetry-instrumenation-djangonow supports trace response headers. (#436) -
opentelemetry-instrumenation-tornadonow supports trace response headers. (#436) -
opentelemetry-instrumenation-pyramidnow supports trace response headers. (#436) -
opentelemetry-instrumenation-falconnow supports trace response headers. (#436) -
opentelemetry-instrumenation-flasknow supports trace response headers. (#436) -
opentelemetry-instrumentation-grpcKeep client interceptor in sync with grpc client interceptors. (#442)
Removed
- Remove
http.status_textfrom span attributes (#406)
Version 0.19b0 (2021-03-26)
- Implement context methods for
_InterceptorChannel(#363)
Changed
- Rename
IdsGeneratortoIdGenerator(#350) opentelemetry-exporter-datadogFix warning when DatadogFormat encounters a request with no DD_ORIGIN headers (#368).opentelemetry-instrumentation-aiopgFix multiple nested spans whenaiopg.poolis used (#336).- Updated instrumentations to use
opentelemetry.trace.use_spaninstead ofTracer.use_span()(#364) opentelemetry-propagator-ot-traceDo not throw an exception when headers are not present (#378)opentelemetry-instrumentation-wsgiReimplementkeysmethod to return actual keys from the carrier instead of an empty list. (#379)opentelemetry-instrumentation-sqlalchemyFix 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-traceAdd OT Trace Propagator (#302)opentelemetry-instrumentation-loggingAdded logging instrumentation to enable log - trace correlation. (#345)
Removed
- Remove
componentspan attribute in instrumentations.opentelemetry-instrumentation-aiopg,opentelemetry-instrumentation-dbapiRemove unuseddatabase_typeparameter fromtrace_integrationfunction. (#301) opentelemetry-instrumentation-asgiReturn header values using case insensitive keys (#308)- Remove metrics from all instrumentations (#312)
opentelemetry-instrumentation-botoupdated to set span attributes instead of overriding the resource. (#310)opentelemetry-instrumentation-grpcFix issue tracking child spans in streaming responses (#260)opentelemetry-instrumentation-grpcUpdated client attributes, added tests, fixed examples, docs (#269)
Version 0.17b0 (2021-01-20)
Added
opentelemetry-instrumentation-sqlalchemyEnsure spans have kind set to "CLIENT" (#278)opentelemetry-instrumentation-celeryAdd support for Celery version 5.x (#266)opentelemetry-instrumentation-urllibAdd urllib instrumentation (#222)opentelemetry-exporter-datadogAdd fields method (#226)opentelemetry-sdk-extension-awsAdd method to return fields injected by propagator (#226)opentelemetry-exporter-prometheus-remote-writePrometheus Remote Write Exporter Setup (#180)opentelemetry-exporter-prometheus-remote-writeAdd Exporter constructor validation methods in Prometheus Remote Write Exporter (#206)opentelemetry-exporter-prometheus-remote-writeAdd conversion to TimeSeries methods in Prometheus Remote Write Exporter (#207)opentelemetry-exporter-prometheus-remote-writeAdd request methods to Prometheus Remote Write Exporter (#212)opentelemetry-instrumentation-fastapiAdded support for excluding some routes with env varOTEL_PYTHON_FASTAPI_EXCLUDED_URLS(#237)opentelemetry-instrumentation-starletteAdded support for excluding some routes with env varOTEL_PYTHON_STARLETTE_EXCLUDED_URLS(#237)- Add Prometheus Remote Write Exporter integration tests in opentelemetry-docker-tests (#216)
opentelemetry-instrumentation-grpcAdd tests for grpc span attributes, grpcabort()conditions (#236)- Add README and example app for Prometheus Remote Write Exporter (#227)
opentelemetry-instrumentation-botocoreAdds a field to report the number of retries it take to complete an API call (#275)opentelemetry-instrumentation-requestsUse instanceof to check if responses are valid Response objects (#273)
Changed
- Fix broken links to project (#413)
opentelemetry-instrumentation-asgi,opentelemetry-instrumentation-wsgiReturnNoneforCarrierGetterif key not found (#233)opentelemetry-instrumentation-grpcComply with updated spec, rework tests (#236)opentelemetry-instrumentation-asgi,opentelemetry-instrumentation-falcon,opentelemetry-instrumentation-flask,opentelemetry-instrumentation-pyramid,opentelemetry-instrumentation-wsgiRenamedhost.portattribute tonet.host.port(#242)opentelemetry-instrumentation-flaskDo not emit a warning message for request contexts created withapp.test_request_context(#253)opentelemetry-instrumentation-requests,opentelemetry-instrumentation-urllibFix span name callback parameters (#259)opentelemetry-exporter-datadogFix unintentional type change of span trace flags (#261)opentelemetry-instrumentation-aiopgFix AttributeError__aexit__whenaiopg.connectandaio[g].create_poolused with async context manager (#235)opentelemetry-exporter-datadogopentelemetry-sdk-extension-awsFix reference to ids_generator in sdk (#283)opentelemetry-instrumentation-sqlalchemyUse SQL operation and DB name as span name. (#254)opentelemetry-instrumentation-dbapi,TracedCursorreplaced byCursorTracer(#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-aiopgUse 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-flaskAdd span name callback (#152)opentelemetry-sdk-extension-awsAdd AWS X-Ray Ids Generator Entry Point (#201)opentelemetry-sdk-extension-awsFix typo for installing OTel SDK in docs (#200)opentelemetry-sdk-extension-awsImport missing components for docs (#198)opentelemetry-sdk-extension-awsProvide components needed to Configure OTel SDK for Tracing with AWS X-Ray (#130)opentelemetry-instrumentation-sklearnInitial release (#151)opentelemetry-instrumentation-requestsAdd span name callback (#158)opentelemetry-instrumentation-botocoreAdd propagator injection for botocore calls (#181)
Changed
opentelemetry-instrumentation-pymemcacheUpdate pymemcache instrumentation to follow semantic conventions (#183)opentelemetry-instrumentation-redisUpdate redis instrumentation to follow semantic conventions (#184)opentelemetry-instrumentation-pymongoUpdate pymongo instrumentation to follow semantic conventions (#203)opentelemetry-instrumentation-sqlalchemyUpdate sqlalchemy instrumentation to follow semantic conventions (#202)opentelemetry-instrumentation-botocoreMake botocore instrumentation check if instrumentation has been suppressed (#182)opentelemetry-instrumentation-botocoreBotocore SpanKind as CLIENT and modify existing traced attributes (#150)opentelemetry-instrumentation-dbapiUpdate dbapi and its dependent instrumentations to follow semantic conventions (#195)opentelemetry-instrumentation-dbapiStop capturing query parameters by default (#156)opentelemetry-instrumentation-asyncpgUpdate asyncpg instrumentation to follow semantic conventions (#188)opentelemetry-instrumentation-grpcUpdate protobuf versions (#1356)
Version 0.15b0 (2020-11-02)
Added
opentelemetry-instrumentation-requestsAdd support for tracking http metrics (#1230)opentelemetry-instrumentation-djangoAdded capture of http.route (#1226)opentelemetry-instrumentation-djangoAdd support for tracking http metrics (#1230)
Changed
opentelemetry-exporter-datadogMakeSpanProcessor.on_startaccept parent Context (#1251)opentelemetry-instrumentation-flaskUseurl.ruleinstead ofrequest.endpointfor span name (#1260)opentelemetry-instrumentation-djangoDjango instrumentation is now enabled by default but can be disabled by settingOTEL_PYTHON_DJANGO_INSTRUMENTtoFalse(#1239)opentelemetry-instrumentation-djangoBugfix use request.path replace request.get_full_path(). It will get correct span name (#1309)opentelemetry-instrumentation-djangoRecord span status and http.status_code attribute on exception (#1257)opentelemetry-instrumentation-grpcRewrite gRPC server interceptor (#1171)
Version 0.14b0 (2020-10-13)
Added
opentelemetry-exporter-datadogAdd support for span resource labels and service nameopentelemetry-instrumentation-celerySpan operation names now include the task type. (#1135)opentelemetry-instrumentation-celeryAdded automatic context propagation. (#1135)opentelemetry-instrumentation-falconAdded support forOTEL_PYTHON_FALCON_TRACED_REQUEST_ATTRS(#1158)opentelemetry-instrumentation-tornadoAdded support forOTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS(#1178)opentelemetry-instrumentation-djangoAdded support forOTEL_PYTHON_DJANGO_TRACED_REQUEST_ATTRS(#1154)
Changed
opentelemetry-instrumentation-pymongoCast PyMongo commands as strings (#1132)opentelemetry-instrumentation-system-metricsFix issue when specific metrics are not available in certain OS (#1207)opentelemetry-instrumentation-pymysqlBumped version from 0.9.3 to 0.10.1 (#1228)opentelemetry-instrumentation-djangoChanged span name extraction from request to comply semantic convention (#992)
Version 0.13b0 (2020-09-17)
Added
opentelemetry-instrumentation-falconInitial release. Added instrumentation for Falcon 2.0+opentelemetry-instrumentation-tornadoInitial release. Supports Tornado 6.x on Python 3.5 and newer.opentelemetry-instrumentation-aiohttp-clientAdd instrumentor and auto instrumentation support for aiohttp (#1075)opentelemetry-instrumentation-requestsAdd support for instrumenting prepared requests (#1040)opentelemetry-instrumentation-requestsAdd support for http metrics (#1116)
Changed
opentelemetry-instrumentation-aiohttp-clientUpdating span name to match semantic conventions (#972)opentelemetry-instrumentation-dbapicursors 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-pymemcacheChange package name to opentelemetry-instrumentation-pymemcache (#966)opentelemetry-ext-redisUpdate default SpanKind toSpanKind.CLIENT(#965)opentelemetry-ext-redisChange package name to opentelemetry-instrumentation-redis (#966)opentelemetry-ext-datadogChange package name to opentelemetry-exporter-datadog (#953)opentelemetry-ext-jinja2Change package name to opentelemetry-instrumentation-jinja2 (#969)opentelemetry-ext-elasticsearchUpdate environment variable names, prefix changed fromOPENTELEMETRYtoOTEL(#904)opentelemetry-ext-elasticsearchChange package name to opentelemetry-instrumentation-elasticsearch (#969)opentelemetry-ext-celeryChange package name to opentelemetry-instrumentation-celery (#969)opentelemetry-ext-pyramidChange package name to opentelemetry-instrumentation-pyramid (#966)opentelemetry-ext-pyramidUpdate environment variable names, prefix changed fromOPENTELEMETRYtoOTEL(#904)opentelemetry-ext-pymongoChange package name to opentelemetry-instrumentation-pymongo (#966)opentelemetry-ext-sqlite3Change package name to opentelemetry-instrumentation-sqlite3 (#966)opentelemetry-ext-sqlalchemyChange package name to opentelemetry-instrumentation-sqlalchemy (#966)opentelemetry-ext-psycopg2Change package name to opentelemetry-instrumentation-psycopg2 (#966)opentelemetry-ext-aiohttp-clientChange package name to opentelemetry-instrumentation-aiohttp-client (#961)opentelemetry-ext-botoChange package name to opentelemetry-instrumentation-boto (#969)opentelemetry-ext-system-metricsChange package name to opentelemetry-instrumentation-system-metrics (#969)opentelemetry-ext-asgiChange package name to opentelemetry-instrumentation-asgi (#961)opentelemetry-ext-wsgiChange package name to opentelemetry-instrumentation-wsgi (#961)opentelemetry-ext-pymysqlChange package name to opentelemetry-instrumentation-pymysql (#966)opentelemetry-ext-requestsChange package name to opentelemetry-instrumentation-requests (#961)opentelemetry-ext-requestsSpan name reported updated to follow semantic conventions to reduce cardinality (#972)opentelemetry-ext-botocoreChange package name to opentelemetry-instrumentation-botocore (#969)opentelemetry-ext-dbapiChange package name to opentelemetry-instrumentation-dbapi (#966)opentelemetry-ext-flaskChange package name to opentelemetry-instrumentation-flask (#961)opentelemetry-ext-flaskUpdate environment variable names, prefix changed fromOPENTELEMETRYtoOTEL(#904)opentelemetry-ext-djangoChange package name to opentelemetry-instrumentation-django (#961)opentelemetry-ext-djangoUpdate environment variable names, prefix changed fromOPENTELEMETRYtoOTEL(#904)opentelemetry-ext-asyncpgChange package name to opentelemetry-instrumentation-asyncpg (#966)opentelemetry-ext-mysqlChange package name to opentelemetry-instrumentation-mysql (#966)opentelemetry-ext-grpcChange package name to opentelemetry-instrumentation-grpc (#969)
Version 0.11b0 (2020-07-28)
Added
opentelemetry-instrumentation-aiopgInitial releaseopentelemetry-instrumentation-fastapiInitial release (#890)opentelemetry-ext-grpcAdd status code to gRPC client spans (896)opentelemetry-ext-grpcAdd gRPC client and server instrumentors (788)opentelemetry-ext-grpcAdd metric recording (bytes in/out, errors, latency) to gRPC client
Changed
opentelemetry-ext-pyramidUse one general exclude list instead of two (#872)opentelemetry-ext-botofails to export spans via jaeger (#866)opentelemetry-ext-botocorefails to export spans via jaeger (#866)opentelemetry-ext-wsgiSet span status on wsgi errors (#864)opentelemetry-ext-flaskUse one general exclude list instead of two (#872)opentelemetry-ext-djangoUse one general exclude list instead of two (#872)opentelemetry-ext-asyncpgShouldn't capture query parameters by default (#854)opentelemetry-ext-mysqlbugfix: Fix auto-instrumentation entry point for mysql (#858)
Version 0.10b0 (2020-06-23)
Added
opentelemetry-ext-pymemcacheInitial releaseopentelemetry-ext-elasticsearchInitial releaseopentelemetry-ext-celeryAdd instrumentation for Celery (#780)opentelemetry-instrumentation-starletteInitial release (#777)opentelemetry-ext-asyncpgInitial Release (#814)
Version 0.9b0 (2020-06-10)
Added
opentelemetry-ext-pyramidInitial releaseopentelemetry-ext-botoInitial releaseopentelemetry-ext-botocoreInitial releaseopentelemetry-ext-system-metricsInitial release (https://github.com/open-telemetry/opentelemetry-python/pull/652)
Version 0.8b0 (2020-05-27)
Added
opentelemetry-ext-datadogAdd exporter to Datadog (#572)opentelemetry-ext-sqlite3Initial releaseopentelemetry-ext-psycopg2Implement instrumentor interface, enabling auto-instrumentation (#694)opentelemetry-ext-asgiAdd ASGI middleware (#716)opentelemetry-ext-djangoAdd exclude list for paths and hosts to prevent from tracing (#670)opentelemetry-ext-djangoAdd support for django >= 1.10 (#717)
Changed
opentelemetry-ext-grpclint: version of grpc causes lint issues (#696)
Version 0.7b1 (2020-05-12)
Added
opentelemetry-ext-redisInitial releaseopentelemetry-ext-jinja2Add jinja2 instrumentation (#643)opentelemetry-ext-pymongoImplement instrumentor interface (#612)opentelemetry-ext-sqlalchemyInitial releaseopentelemetry-ext-aiohttp-clientInitial releaseopentelemetry-ext-pymysqlInitial releaseopentelemetry-ext-http-requestsImplement instrumentor interface, enabling auto-instrumentation (#597)opentelemetry-ext-http-requestsAdding disable_session for more granular instrumentation control (#573)opentelemetry-ext-http-requestsAdd a callback for custom attributes (#656)opentelemetry-ext-dbapiImplement instrument_connection and uninstrument_connection (#624)opentelemetry-ext-flaskAdd exclude list for paths and hosts (#630)opentelemetry-ext-djangoInitial releaseopentelemetry-ext-mysqlImplement instrumentor interface (#654)
Changed
opentelemetry-ext-http-requestsRename package to opentelemetry-ext-requests (#619)
Version 0.6b0 (2020-03-30)
Added
opentelemetry-ext-flaskAdd an entry_point to be usable in auto-instrumentation (#327)opentelemetry-ext-grpcAdd gRPC integration (#476)
Version 0.5b0 (2020-03-16)
Version 0.4a0 (2020-02-21)
Added
opentelemetry-ext-psycopg2Initial releaseopentelemetry-ext-dbapiInitial releaseopentelemetry-ext-mysqlInitial release
Changed
opentelemetry-ext-pymongoUpdating network connection attribute names (#350)opentelemetry-ext-wsgiUpdating network connection attribute names (#350)opentelemetry-ext-flaskUse string keys for WSGI environ values (#366)
Version 0.3a0 (2019-12-11)
Added
opentelemetry-ext-flaskInitial releaseopentelemetry-ext-pymongoInitial release
Changed
opentelemetry-ext-wsgiSupport new semantic conventions (#299)opentelemetry-ext-wsgiUpdates for core library changes
Version 0.2a0 (2019-10-29)
Changed
-
opentelemetry-ext-wsgiUpdates for core library changes -
opentelemetry-ext-http-requestsUpdates for core library changes -
Added support for PyPy3Initial release
#1033
Version 0.1a0 (2019-09-30)
Added
-
opentelemetry-ext-wsgiInitial release -
opentelemetry-ext-http-requestsInitial release -
Drop support for 3.7 (#2151)
-
opentelemetry-resource-detector-azureAdded 10s timeout to VM Resource Detector (#2119) -
opentelemetry-instrumentation-asyncpgAllow AsyncPGInstrumentor to be instantiated multiple times (#1791) -
opentelemetry-instrumentation-confluent-kafkaAdd support for higher versions until 2.3.0 of confluent_kafka (#2132) -
opentelemetry-resource-detector-azureChanged timeout to 4 seconds due to timeout bug (#2136) -
opentelemetry-resource-detector-azureSuppress instrumentation forurllibcall (#2178) -
AwsLambdaInstrumentor handles and re-raises function exception (#2245)