You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
opentelemetry-instrumentation-dbapi: capture prepared statement parameters as db.query.parameter.<key> when the database semantic conventions are opted in and capture_parameters is enabled. In the new semconv the legacy db.statement.parameters attribute is replaced by one db.query.parameter.<key> attribute per parameter, and parameters are not captured on batch operations (#4798)
opentelemetry-instrumentation-django: add opt-in OTEL_PYTHON_DJANGO_CODE_ATTRIBUTES env var to add Django View references using code attributes into the span. (#4840)
opentelemetry-util-http: add redact_query_string to redact sensitive values in a bare query string (#4944)
opentelemetry-instrumentation: prepare semconv utilities to support messaging stability opt-in (#4974)
opentelemetry-instrumentation-*: document OTEL_SEMCONV_STABILITY_OPT_IN for database instrumentations (#4985)
opentelemetry-instrumentation-exceptions: use the exception event name for emitted log records, as the exception log semantic conventions prescribe for global unhandled exception handlers. The record body still carries the stringified exception. (#5020)
[BREAKING] opentelemetry-instrumentation-sqlalchemy: emit db.client.connection.count, replacing the deprecated db.client.connections.usage metric (#5063)
opentelemetry-instrumentation-sqlalchemy: Support SQLAlchemy 2.1 and drop support for SQLAlchemy < 1.4.3 (#5120)
opentelemetry-instrumentation-aiokafka: pass known attributes at span creation for sampler visibility (#5254)
opentelemetry-instrumentation-confluent-kafka: pass known attributes at span creation for sampler visibility (#5300)
opentelemetry-instrumentation-kafka-python: pass known attributes at span creation for sampler visibility (#5301)
opentelemetry-instrumentation-boto3sqs: pass known attributes at span creation for sampler visibility (#5302)
opentelemetry-instrumentation-celery: pass known attributes at span creation for sampler visibility (#5312)
opentelemetry-instrumentation-pika: pass known attributes at span creation for sampler visibility (#5313)
opentelemetry-instrumentation-exceptions, opentelemetry-instrumentation-vertexai: pass optional arguments to get_logger by keyword (#5337)
opentelemetry-instrumentation-tornado: Pass the URL and method attributes to the HTTP client span at creation so samplers can use them (#5348)
Fixed
opentelemetry-instrumentation-celery: celery.hostname on worker spans now reports the executing worker instead of being overwritten by the message origin; the publisher's nodename is emitted separately as celery.origin (#4827)
opentelemetry-instrumentation-logging: Keep log record factories chained after ours on uninstrument, and stop injecting once uninstrumented (#4905)
opentelemetry-instrumentation-asyncpg: report unix sockets as network.transport=unix (#4925)
opentelemetry-instrumentation-dbapi: avoid IndexError in get_operation_name for comment-only or whitespace-only statements (#4934)
opentelemetry-instrumentation-wsgi: redact sensitive query parameter values in http.target and url.query (#4944)
opentelemetry-instrumentation-logging: restore root logger state during uninstrumentation (#4982)
opentelemetry-instrumentation-tornado: stop unpatch_handler_class raising AttributeError on a subclass of a patched handler (#5001)
opentelemetry-instrumentation-celery: flush tracer and meter providers when a worker process shuts down, including when worker_max_tasks_per_child recycles the pool child. Limit waiting to one second across both providers; slow exporters may still lose buffered telemetry when the child exits (#5003)
opentelemetry-instrumentation-threading: keep submitted callable metadata in submit (#5011)
opentelemetry-instrumentation-celery: fix flaky metrics tests and restore PyPy test coverage (#5016)
opentelemetry-instrumentation-asgi: set error.type on an uncaught exception (#5031)
opentelemetry-instrumentation-wsgi: make captured request headers available to samplers (#5032)
opentelemetry-instrumentation-sqlalchemy: do not append the database name to db.operation.name and db.operation; the span name keeps the <operation> <target> form (#5043)
opentelemetry-instrumentation-tortoiseorm: avoid IndexError in _do_execute for empty or whitespace-only statements and strip a leading /* ... */ comment from the span name (#5065)
opentelemetry-instrumentation-django: make captured request headers available to samplers (#5073)
opentelemetry-instrumentation-logging: stop exporting the injected otelSpanID, otelTraceID, otelTraceSampled and otelServiceName attributes on emitted log records, where the trace context is already carried by the trace_id, span_id and trace_flags fields (#5077)
opentelemetry-instrumentation-aws-lambda: mark HTTP 5xx responses as errors (#5082)
opentelemetry-instrumentation-asyncpg: support queries passed by keyword (#5088)
opentelemetry-instrumentation-celery: normalize Kombu routing objects in span attributes (#5105)
opentelemetry-instrumentation-asyncclick: allow wrapt 2.x by widening the requirement to wrapt >= 1.0.0, < 3.0.0 (#5117) - opentelemetry-instrumentation-falcon,opentelemetry-instrumentation-tornado: use the semconv unit {request} for http.server.active_requests (#5125)
opentelemetry-instrumentation-logging: switch from using InMemoryLogExporter to InMemoryLogRecordExporter in tests (#5133)
opentelemetry-instrumentation: report invalid or missing library versions as dependency conflicts instead of raising (#5136)
opentelemetry-instrumentation-falcon: apply instrument() options to every app and stop modifying the caller's middleware list (#5137)
opentelemetry-instrumentation-dbapi: emit database metrics by default with schema 1.33.0 (#5157)
opentelemetry-instrumentation-asgi: make captured request headers available to samplers (#5158)
opentelemetry-instrumentation-aiohttp-server: make captured request headers available to samplers (#5159)
opentelemetry-instrumentation-falcon: make captured request headers available to samplers (#5160)
opentelemetry-instrumentation-flask: make captured request headers available to samplers (#5161)
opentelemetry-instrumentation-pyramid: make captured request headers available to samplers (#5162)
opentelemetry-instrumentation-tornado: make captured request headers available to samplers (#5163)
opentelemetry-instrumentation-asyncio: preserve duplicate arguments to gather (#5168)
opentelemetry-instrumentation-boto3sqs: let delete_message_batch without Entries raise botocore's ParamValidationError instead of a TypeError (#5169)
opentelemetry-instrumentation-tornado: sanitize captured headers and match header names with regexes (#5170)
opentelemetry-instrumentation-aiopg: honor instrumentation suppression for database spans and metrics (#5175)
opentelemetry-util-http: ignore empty entries in excluded URLs so a trailing or doubled comma no longer excludes every request (#5186)
opentelemetry-instrumentation: make BaseInstrumentor and BaseDistro visible to type checkers (#5201)
opentelemetry-instrumentation-urllib: record server.address and server.port on HTTP client metrics, resolving default ports for implicit URLs (#5216) - opentelemetry-instrumentation-click,opentelemetry-instrumentation-asyncclick: do not mark a zero exit code as an error, and record the code passed to sys.exit() (#5222)
opentelemetry-instrumentation-tortoiseorm: declare pydantic >= 1.10.2 in _instruments so the dependency conflict check verifies it (#5232)
opentelemetry-instrumentation-sqlalchemy: fix pool connection count drift under suppress_instrumentation() (#5246)
opentelemetry-util-http: redact X-Amz-Signature, X-Amz-Credential, and X-Amz-Security-Token query parameters (#5280)
opentelemetry-instrumentation-httpx: accept httpx2 client and transport types on HTTPX2 APIs (#5297)
opentelemetry-util-http: ignore blank entries in header lists, so a trailing comma in OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SANITIZE_FIELDS no longer redacts every captured header (#5305)
opentelemetry-instrumentation-urllib: Keep the default socket timeout when OpenerDirector.open is called without a timeout (#5347)