Repository navigation
Version 1.46.0/0.67b0 #6014
Unanswered
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Added
opentelemetry-exporter-prometheus: Addpreferred_aggregationparameter toPrometheusMetricReader(#5411)opentelemetry-sdk: add support for theMetricProducerinterface (#5419)opentelemetry-api,opentelemetry-sdk: add experimental support for advisory attributes on metric instruments via the private_attributes_advisorykeyword argument ofMeter.create_*methods. (#5444)opentelemetry-configuration: add configuration support for OTLP JSON exporters (#5669)opentelemetry-sdk: align resource detector schema url conflict behavior with other languages (#5672)opentelemetry-exporter-http-transport: add environment proxy support to the urllib3 transport, set its default connection pool size to 10, and prefer certifi's CA bundle when available (#5715)opentelemetry-sdk: makeLogger.enabled()respect the configured minimum severity and trace-based filtering (#5724)opentelemetry-exporter-otlp-json-http,opentelemetry-exporter-otlp-json-file: export the log exporter at the package top level (#5733)opentelemetry-test-utils: expose live-check reports and retained stdout/stderr, and add named Weaver configuration and advice-data options. (#5739)opentelemetry-docker-tests: add declarative config end-to-end tests (#5740)opentelemetry-configuration: add TLS/mTLS support to declarative configuration (#5781)opentelemetry-sdk: add additional logs benchmarks and improve performance for disabled loggers (#5784)opentelemetry-sdk,opentelemetry-configuration,opentelemetry-exporter-prometheus: enforce metric cardinality limits (default 2000) with theotel.metric.overflowattribute, configurable throughView(aggregation_cardinality_limit=...), readercardinality_limitsand declarative configuration (#5809)opentelemetry-api,opentelemetry-sdk: Add experimental_typekeyword argument toTracer.start_spanandTracer.start_as_current_span; the SDK validates span type and exposes it onReadableSpan._type(#5819)Add Python 3.15 and 3.15t support (#5833)
opentelemetry-semantic-conventions: update semantic conventions to 1.45.0 (#5885)opentelemetry-api: tolerate future unknown keyword parameters in methods of theTracer,Meter,Logger,TracerProvider,MeterProviderandLoggerProviderbase classes without breaking existing implementations.These ABCs now derive from
SignatureCompatABC, which wraps overrides that don't accept**kwargsat class-definition time so that keyword arguments they don't declare are dropped instead of being passed through. Performance-sensitive implementations can add**_kwargsto their overrides to avoid the extra wrapper layer. (#5886)opentelemetry-configuration: supportscope_info_enabledandresource_constant_labelsfor the Prometheus pull exporter (#5925)Changed
opentelemetry-api: document baggage current context behavior. (#2432)opentelemetry-api: stabilize the logs API asopentelemetry.logs(#5731)opentelemetry-sdk: stabilize the logs SDK asopentelemetry.sdk.logs(#5732)opentelemetry-exporter-otlp-proto-grpc,opentelemetry-exporter-otlp-proto-http,opentelemetry-exporter-otlp-json-http,opentelemetry-exporter-otlp-json-file: stabilize the log exporter as the publiclog_exportermodule.opentelemetry-exporter-otlp-proto-common,opentelemetry-exporter-otlp-json-common: stabilize the log encoder as the publiclog_encodermodule (#5733)opentelemetry-sdk: inline util type annotations and delete stale.pyistub file (#5799)opentelemetry-configuration: bump declarative configuration schema to v1.2.0 and support thealways_recordsampler (#5926)opentelemetry-api: makeSeverityNumberanIntEnumso it compares directly against ints and other severities (#5930)opentelemetry-api,opentelemetry-sdk: methods of theTracer,Meter,Logger,TracerProvider,MeterProviderandLoggerProviderbase classes and their implementations now accept**_kwargs: Never. Type checkers flag overrides that do not accept**_kwargs. Add**_kwargsto them to stay forward compatible and avoid the extra wrapper layer. (#5931)[BREAKING]
opentelemetry-api: alignget_loggerparameters (name: str,version: str | None = None,logger_providerat the end) withLoggerProvider.get_logger(previouslyinstrumenting_module_name: str,instrumenting_library_version: str = ""), make optional arguments keyword-only (*) on bothget_loggerandLoggerProvider.get_logger, and dropABCinheritance fromLogRecord(#5934)[BREAKING]
opentelemetry-sdk: make Logs SDK signatures forward-compatibleThe optional arguments of
BatchLogRecordProcessor(afterexporter),LogRecordLimits(all) andLoggerProvider(afterresource) are now keyword-only, so they can be reordered or deprecated later. Passing them positionally raisesTypeError.LogRecordProcessor.shutdown()andLogRecordExporter.shutdown()now accept**kwargs, so that new keyword arguments can be added later without breaking custom implementations. Custom implementations should accept**kwargsinshutdown()too. (#6007)[BREAKING]
opentelemetry-sdk: add atimeout_millisargument to Logs SDKshutdown()LoggerProvider.shutdown(),LogRecordProcessor.shutdown()andLogRecordExporter.shutdown()now take atimeout_millisargument, matching the metrics SDK. CustomLogRecordProcessorandLogRecordExporterimplementations must accepttimeout_millisinshutdown().SynchronousMultiLogRecordProcessorandConcurrentMultiLogRecordProcessorpass each log record processor the time remaining until the deadline. Processors whose shutdown starts after the deadline are still shut down, with a timeout of 0.ConcurrentMultiLogRecordProcessor.shutdown()returns at the deadline instead of waiting on processors that are still shutting down. (#6008)Deprecated
opentelemetry-api: deprecateopentelemetry._logsin favor ofopentelemetry.logs(#5731)opentelemetry-sdk: deprecateopentelemetry.sdk._logsin favor ofopentelemetry.sdk.logs(#5732)opentelemetry-exporter-otlp-proto-grpc,opentelemetry-exporter-otlp-proto-http,opentelemetry-exporter-otlp-json-http,opentelemetry-exporter-otlp-json-file: deprecate the_log_exportermodule in favor oflog_exporter.opentelemetry-exporter-otlp-proto-common,opentelemetry-exporter-otlp-json-common: deprecate the_log_encodermodule in favor oflog_encoder(#5733)Removed
opentelemetry-api: remove the privateopentelemetry._logs._internalmodule and the deprecatedLogRecordconstructor argumentstrace_id,span_id, andtrace_flags(usecontext) (#5731)opentelemetry-sdk: remove deprecatedLoggingHandlerand theOTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLEDvariable. For automatic standard library log export, installopentelemetry-instrumentation-loggingand unset the old variable. Removed the deprecatedLogExportResult,LogExporter,ConsoleLogExporter,InMemoryLogExporter,LogLimits, andLogDroppedAttributesWarningaliases and the privateopentelemetry.sdk._logs._internalmodule. (#5732)Fixed
opentelemetry-configuration: align generated model additional properties. (#5286)opentelemetry-codegen-json: support decoding enums from names (#5402)opentelemetry-exporter-otlp-proto-grpc: warn and fall back to the default instead of raisingValueErrorwhen a timeout environment variable holds an invalid value. (#5448)opentelemetry-propagator-jaeger: strip only the leadinguberctx-prefix when extracting a baggage key, so a carrier key that repeats the prefix keeps its inner literal (uberctx-a-uberctx-bnow yieldsa-uberctx-brather thana-b). (#5557)opentelemetry-sdk: preserve parent tracestate in composite sampling, remove stale thresholds, and apply tracestate updates for root spans (#5579)opentelemetry-sdk: keep spans mutable duringon_endingspan processor callbacks. Only the thread that calledend()may mutate the span while the callbacks run, soConcurrentMultiSpanProcessornow invokes_on_endingsynchronously on that thread instead of through its thread pool. An exception raised by one processor's_on_endingis now logged and no longer prevents the remaining processors oron_endfrom running. (#5613)opentelemetry-sdk: fixtimeout_millisin metrics collection so slow observable callbacks raiseMetricsTimeoutError(#5616)opentelemetry-sdk: catch and log unhandled exceptions in MultiSpanProcessor (#5626)opentelemetry-sdk: raise an error when a namedViewis defined without specifyinginstrument_name. (#5631)opentelemetry-sdk: make theMetricReaderStoragetests assert on the storage under test instead of on process-global mock state, so an unrelated_ViewInstrumentMatchconstruction elsewhere in the test session can no longer fail them (#5639)opentelemetry-sdk: fail any test that leaves aPeriodicExportingMetricReaderticker thread running, and shut down the four readers that were leaking one into the rest of the test session (#5641)opentelemetry-sdk: add validation for export_timeout_millis <= 0 in BatchSpanProcessor (#5650)opentelemetry-exporter-otlp-proto-grpc: Add warning when endpoint path is silently dropped by gRPC exporter (#5654)opentelemetry-sdk: add validation for export_timeout_millis <= 0 in PeriodicExportingMetricReader (#5656)opentelemetry-sdk: apply the specified status precedence inSpan.set_statussoOk > Error > Unsetis enforced explicitly, anUnsetstatus is always ignored, and a status that repeats the code already recorded no longer replaces or drops the description recorded with it (#5662)opentelemetry-sdk: Fix View initialization to detect bracket character pattern wildcards ([,]) ininstrument_namewhennameis set. (#5674)opentelemetry-sdk: count logs dropped bySimpleLogRecordProcessor's recursion guard onotel.sdk.processor.log.processedwitherror.type=recursion(#5676)opentelemetry-api,opentelemetry-propagator-b3,opentelemetry-propagator-jaeger,opentelemetry-opentracing-shim: update propagators and OpenTracing shim to checkspan_context.is_validinstead of identity withINVALID_SPAN_CONTEXT(TraceContextTextMapPropagator injects invalid traceparent header (all zeros) when SpanContext is invalid #5695) (#5696)opentelemetry-api: makeAnyValueandAttributeValueexplicit type aliases (#5703)opentelemetry-exporter-zipkin-json: warn and fall back to the default instead of raisingValueErrorwhenOTEL_EXPORTER_ZIPKIN_TIMEOUTholds a non-integer value; the same fix is applied toopentelemetry-exporter-zipkin-proto-http. (#5704)opentelemetry-exporter-prometheus: warn and fall back to the default port instead of raisingValueErrorwhenOTEL_EXPORTER_PROMETHEUS_PORTholds a non-integer value in the auto-configured metric reader. (#5705)opentelemetry-sdk: fix thread leak bug in resource initialization logic for long running resource detectors (#5706)opentelemetry-sdk: add return type annotation to InMemoryLogRecordExporter.init (#5709)opentelemetry-exporter-otlp-proto-http: restorerequestsas the default HTTP transport so proxy environment variables such asHTTPS_PROXYare honored again (#5714)opentelemetry-api: log theBoundedAttributesdrop warning only once per record (#5727)opentelemetry-sdk: fixTraceIdRatioBasedsampler validation for NaN rate values (#5737)opentelemetry-test-utils: require Weaver 0.27.0 or later forWeaverLiveCheckand fix its shutdown sequence. Make readiness polling quiet and add a configurable startup timeout. Reuse completed reports on repeated end calls; raise when no completed report request is available instead of returning an empty report. (#5738)opentelemetry-sdk: omit histogram min/max when record_min_max is disabled (#5741)opentelemetry-sdk: add return type annotations toSynchronousMultiLogRecordProcessorandConcurrentMultiLogRecordProcessor(#5742)opentelemetry-api: fix quadratic time parsing of thetracestateheader and discardtracestateheaders longer than 8192 characters (#5746)opentelemetry-api: drop the new attribute instead of the oldest one whenBoundedAttributesis full (#5776)opentelemetry-propagator-jaeger: Accept a URL-encodeduber-trace-idheader on extract (#5793)opentelemetry-exporter-prometheus: prevent greedy regex from stripping compound unit tokens (#5798)opentelemetry-configuration: align declarative configuration env-var parsing with the spec (#5805)opentelemetry-configuration: treat timeout of 0 as infinite (#5806)opentelemetry-sdk: allow zero schedule delay in batch span and log record processors (#5807)opentelemetry-configuration: Fix literal bracket matching and enforce case-sensitive configuration wildcard semantics. (#5808)opentelemetry-sdk: match Views by instrumentunitexactly instead of using an fnmatch pattern, so UCUM annotated units such as[degF]are selected correctly. (#5816)opentelemetry-api: limittraceparentheader length to 512 characters inTraceContextTextMapPropagatorduring extraction (#5818)opentelemetry-api: makeW3CBaggagePropagatorcompliant with the W3C Baggage spec (#5823)opentelemetry-configuration: fixcontainerandhostresource detectors and warn instead of failing on unloadable detectors (#5854)opentelemetry-api: truncate byte array attribute values when attribute value length limit is set (#5855)opentelemetry-sdk: Align delta and async metric start timestamps (#5859)opentelemetry-sdk: use unit{log_record}and update description forotel.sdk.processor.log.queue.size(#5893)opentelemetry-configuration: apply schema defaults to absent BatchSpanProcessor and OTLP exporter fields (endpoint, timeout, compression) instead of falling back toOTEL_*environment variables (#5914)opentelemetry-configuration: ignore structuredheadersentries with a null value instead of overridingheaders_listwith an empty header. (#5921)opentelemetry-configuration: pass custom sampler plugin configuration to theopentelemetry_samplerentry point factory as keyword arguments (#5923)opentelemetry-configuration: validate that configured TLS and mTLS files exist and are readable at startup for OTLP HTTP exporters. (#5929)opentelemetry-sdk,opentelemetry-test-utils: includeinstrumentation_scopeinReadableLogRecord.to_json(), shut down executor inConcurrentMultiLogRecordProcessor.shutdown(), clearexceptionreference on copiedLogRecordinBatchLogRecordProcessor.on_emit(), and add logs helpers toTestBase(#5934)opentelemetry-sdk: fixReadableSpan.attributestype hint so it is no longer optional (#5956)opentelemetry-sdk: merge sampler attributes into span start attributes (#5975)This discussion was created from the release Version 1.46.0/0.67b0.
All reactions