Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

opentelemetry-contrib v0.24b0

26 Aug 09:29
d4668bc
Compare
Choose a tag to compare

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)

Changed

  • opentelemetry-instrumentation-fastapi Allow instrumentation of newer FastAPI versions. (#602)

Changed

  • Enable explicit excluded_urls argument in opentelemetry-instrumentation-flask (#604)

opentelemetry-contrib v0.23b2

28 Jul 14:50
e3c30fb
Compare
Choose a tag to compare

opentelemetry-contrib v0.23b0

21 Jul 21:15
4d0f57b
Compare
Choose a tag to compare

Removed

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

Changed

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

Added

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

opentelemetry-contrib v0.22b0

02 Jun 01:32
36c5937
Compare
Choose a tag to compare

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)

opentelemetry-contrib v0.21b0

12 May 04:07
c49e69c
Compare
Choose a tag to compare

Changed

  • opentelemetry-propagator-ot-trace Use TraceFlags object in extract (#472)
  • Set the traced_request_attrs of FalconInstrumentor by an argument correctly. (#473)
  • 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)

opentelemetry-contrib v0.20b0

20 Apr 21:32
698acb8
Compare
Choose a tag to compare

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

Removed

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

opentelemetry-contrib v0.19b0

26 Mar 23:07
56072a2
Compare
Choose a tag to compare

NOTE: As part of this release, all old versions have been removed for packages prefixed with opentelemetry-ext-

Changed

  • Rename IdsGenerator to IdGenerator
    (#350)
  • opentelemetry-exporter-datadog Fix warning when DatadogFormat encounters a request with
    no DD_ORIGIN headers (#368).
  • 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)

opentelemetry-contrib v0.18b1

19 Feb 21:18
7ab0aa7
Compare
Choose a tag to compare
  • Hotfix for #346
    Bump version dependencies for opentelemetry-instrumentation (#347)

opentelemetry-contrib v0.18b0

16 Feb 22:29
f7ba3ba
Compare
Choose a tag to compare

Changed

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

opentelemetry-contrib v0.17b0

21 Jan 01:14
2a11aee
Compare
Choose a tag to compare

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

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