[client-python] chore(deps): update opentelemetry-python monorepo to >=1.42.0,<1.43.0#256
Open
renovate[bot] wants to merge 1 commit into
Open
[client-python] chore(deps): update opentelemetry-python monorepo to >=1.42.0,<1.43.0#256renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #256 +/- ##
=======================================
Coverage 70.34% 70.34%
=======================================
Files 49 49
Lines 1966 1966
=======================================
Hits 1383 1383
Misses 583 583
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=1.35.0,<1.36.0→>=1.42.0,<1.43.0>=1.35.0,<1.36.0→>=1.42.0,<1.43.0Release Notes
open-telemetry/opentelemetry-python (opentelemetry-api)
v1.42.0: Version 1.42.0/0.63b0Compare Source
Added
opentelemetry-api,opentelemetry-sdk: add support for 'random-trace-id' flags in W3C traceparent header trace flags. Implementations ofIdGeneratorthat do randomly generate the 56 least significant bits, should also implement ais_trace_id_randommethods that returnsTrue. (#4854)opentelemetry-exporter-otlp-proto-grpc: make retryable gRPC error codes configurable for gRPC exporters (#4917)opentelemetry-sdk: Addcreate_logger_provider/configure_logger_providerto declarative file configuration, enabling LoggerProvider instantiation from config files without reading env vars (#4990)opentelemetry-exporter-otlp-json-common: add 'opentelemetry-exporter-otlp-json-common' package for OTLP JSON exporters (#4996)opentelemetry-sdk: Addserviceresource detector support to declarative file configuration viadetection_development.detectors[].service(#5003)opentelemetry-docker-tests: add docker-tests coverage ofopentelemetry-exporter-otlp-proto-grpcandopentelemetry-exporter-otlp-proto-httpmetrics export (#5030)registrykeyword argument toPrometheusMetricReaderto allow passing a custom Prometheus registry (#5055)opentelemetry-sdk: addload_entry_pointshared utility to declarative file configuration for loading plugins via entry points; refactor propagator loading to use it (#5093)opentelemetry-sdk: add sampler plugin loading to declarative file configuration via theopentelemetry_samplerentry point group, matching the spec's PluginComponentProvider mechanism (#5095)opentelemetry-sdk: add propagator plugin loading to declarative file configuration via theopentelemetry_propagatorentry point group, matching the spec's PluginComponentProvider mechanism (#5098)opentelemetry-sdk: add exporter plugin loading to declarative file configuration for all three signals (traces, metrics, logs) via theopentelemetry_*_exporterentry point groups, matching the spec's PluginComponentProvider mechanism (#5128)opentelemetry-sdk: add generic resource detector plugin loading to declarative file configuration via theopentelemetry_resource_detectorentry point group, matching the spec's PluginComponentProvider mechanism (#5129)opentelemetry-sdk: addadditional_propertiessupport to generated config models via customdatamodel-codegentemplate, enabling plugin/custom component names to flow through typed dataclasses (#5131)OTEL_PYTHON_SDK_INTERNAL_METRICS_ENABLEDenvironment variable. (#5151)Changed
opentelemetry-semantic-conventions: useX | Yunion annotation (#5096)opentelemetry-api: updateEnvironmentGetterandEnvironmentSetterto use normalized environment variable names (#5119)UPruff rule (#5133)opentelemetry-sdk: only load entrypoints for resource detectors if they are configured viaOTEL_EXPERIMENTAL_RESOURCE_DETECTORS(#5145)scripts/tracecontext-integration-test.sh(#5149)opentelemetry-semantic-conventions: Bump semantic conventions to 1.41.1, this changes the metrics name ofK8S_CONTAINER_CPU_LIMIT_UTILIZATIONandK8S_CONTAINER_CPU_REQUEST_UTILIZATION. (#5200)Removed
opentelemetry-api: remove third-party importlib-metadata in favor of standard library since Python >= 3.10 is now required (#3234)Fixed
opentelemetry-sdk: Allow declarative OTLP HTTP exporters to mapcompression: deflateinstead of rejecting it as unsupported. (#5075)create_tracer()docstring (#5077)opentelemetry-sdk: FixProcessResourceDetectorto usesys.orig_argvso thatprocess.command,process.command_line, andprocess.command_argsreflect the original invocation forpython -m <module>runs (wheresys.argv[0]is rewritten to the module path) (#5083)opentelemetry-sdk: fix YAML structure injection via environment variable substitution in declarative file configuration; values containing newlines are now emitted as quoted YAML scalars per spec requirement (#5091)opentelemetry-sdk: Fix mutable attributes reference in metrics, attributes passed to instrumentadd/recordare now copied so that subsequent mutations do not affect recorded data points (#5106)opentelemetry-sdk: make resource detector ordering deterministic (#5120)detectorsparameter ofget_aggregated_resources(#5135)opentelemetry-api: Enforce W3C Baggage size limits on outbound propagation inW3CBaggagePropagator.inject(). Previously only inbound extraction enforced limits; now inject also caps entries at 180, individual pairs at 4096 bytes, and total header at 8192 bytes per the W3C Baggage spec. The extract path max_pairs limit now counts all size-valid entries rather than only successfully parsed ones. (#5163)opentelemetry-sdk: fix multi-processorforce_flushskipping remaining processors when one returnsNone(#5179)opentelemetry-test-utils: fix weaver live check hanging when weaver log output fills the pipe buffer (#5208)v1.41.1: Version 1.41.1/0.62b1Compare Source
This is a patch release on the previous 1.41.0/0.62b0 release, fixing the issue(s) below.
v1.41.0Compare Source
opentelemetry-sdk: Addhostresource detector support to declarative file configuration viadetection_development.detectors[].host(#5002)
opentelemetry-sdk: Addcontainerresource detector support to declarative file configuration viadetection_development.detectors[].container, using entry point loading of theopentelemetry-resource-detector-containeridcontrib package(#5004)
opentelemetry-sdk: Addcreate_tracer_provider/configure_tracer_providerto declarative file configuration, enabling TracerProvider instantiation from config files without reading env vars(#4985)
(#5019)
opentelemetry-sdk: FixAttributeErrorinExplicitBucketHistogramAggregationwhen applied to non-Histogram instruments without explicit boundaries(#5034)
BatchLogRecordProcessordefaultschedule_delay_millisfrom 5000ms to 1000ms to comply with the OTel specification. Note: logs may be exported 5x more frequently by default (e.g. for users who don't explicitly set theOTEL_BLRP_SCHEDULE_DELAYenv var).(#4998)
opentelemetry-sdk: Addprocessresource detector support to declarative file configuration viadetection_development.detectors[].process(#5001)
opentelemetry-sdk: Add shared_parse_headershelper for declarative config OTLP exporters(#5021)
opentelemetry-api: Replace a broad exception in attribute cleaning tests to satisfy pylint in thelint-opentelemetry-apiCI jobopentelemetry-sdk: Addcreate_meter_provider/configure_meter_providerto declarative file configuration, enabling MeterProvider instantiation from config files without reading env vars(#4987)
opentelemetry-sdk: Addcreate_resourceandcreate_propagator/configure_propagatorto declarative file configuration, enabling Resource and propagator instantiation from config files without reading env vars(#4979)
opentelemetry-sdk: Map PythonCRITICALlog level to OTelFATALseverity text per the specification(#4984)
opentelemetry-sdk: Add file configuration support with YAML/JSON loading, environment variable substitution, and schema validation against the vendored OTel config JSON schema(#4898)
getting-startedandtracecontextjobs caused by GitHub git CDN SHA propagation lag by installing contrib packages from the already-checked-out local copy instead of a second git clone(#4958)
opentelemetry-sdk: fix type annotations onMetricReaderand related types(#4938)
opentelemetry-sdk: implement log creation metric(#4935)
opentelemetry-sdk: implement metric reader metrics(#4970)
opentelemetry-sdk: implement processor metrics(#5012)
opentelemetry-sdk: upgrade vendored OTel configuration schema from v1.0.0-rc.3 to v1.0.0(#4965)
(#4978)
(#4973)
opentelemetry-exporter-prometheus: Fix metric name prefix(#4895)
opentelemetry-api,opentelemetry-sdk: Add deepcopy support forBoundedAttributesandBoundedList(#4934)
opentelemetry-proto-json,opentelemetry-codegen-json: Implement custom protoc plugin to generate OTLP JSON class definitions(#4910)
max_export_batch_sizeto OTLP HTTP metrics exporter(#4576)
opentelemetry-sdk: Implement experimental Meter configurator(#4966)
opentelemetry-exporter-otlp-proto-http: use consistent protobuf for export request(#5015)
opentelemetry-sdk: cache TracerConfig into the tracer, this changes an internal interface. Only one Tracer with the same instrumentation scope will be created(#5007)
max_export_batch_sizeto use realexport(#5036)
opentelemetry-sdk: Implement experimental Logger configurator(#4980)
v1.40.0Compare Source
opentelemetry-sdk: deprecateLoggingHandlerin favor ofopentelemetry-instrumentation-logging, seeopentelemetry-instrumentation-loggingdocumentation(#4919)
opentelemetry-sdk: Clarify log processor error handling expectations in documentation(#4915)
(#4941)
(#4926)
opentelemetry-sdk: Drop unused Jaeger exporter environment variables (exporter removed in 1.22.0)(#4918)
opentelemetry-sdk: Clarify timeout units in environment variable documentation(#4906)
opentelemetry-exporter-otlp-proto-grpc: Fix re-initialization of gRPC channel on UNAVAILABLE error(#4825)
opentelemetry-exporter-prometheus: Fix duplicate HELP/TYPE declarations for metrics with different label sets(#4868)
OTEL_EXPERIMENTAL_RESOURCE_DETECTORSto*(#4819)
opentelemetry-sdk: Fix the type hint of the_metrics_dataproperty to allowNone(#4837).
(#4840)
(#4798)
(#4847)
(#4806)
SimpleLogRecordProcessor.on_emit,(#4799) and (#4867).
(#4880)
(#4609)
(#4882)
(#4862)
opentelemetry-exporter-otlp-proto-http: fix retry logic and error handling for connection failures in trace, metric, and log exporters(#4709)
opentelemetry-sdk: avoid RuntimeError during iteration of view instrument match dictionary in MetricReaderStorage.collect()(#4891)
(#4861)
opentelemetry-sdk: Fix instrument creation race condition(#4913)
(#4914)
opentelemetry-sdk: automatically generate configuration models using OTel config JSON schema(#4879)
v1.39.1: Version 1.39.1/0.60b1Compare Source
This is a patch release on the previous 1.39.0/0.60b0 release, fixing the issue(s) below.
v1.39.0Compare Source
opentelemetry-api: Convert objects of any type other than AnyValue in attributes to string to be exportable(#4808)
docs: Added sqlcommenter example
(#4734)
build: bump ruff to 0.14.1
(#4782)
Add
opentelemetry-exporter-credential-provider-gcpas an optional dependency toopentelemetry-exporter-otlp-proto-grpcand
opentelemetry-exporter-otlp-proto-http(#4760)
feat: implement on ending in span processor
(#4775)
semantic-conventions: Bump to 1.38.0
(#4791)
[BREAKING] Remove LogData and extend SDK LogRecord to have instrumentation scope
(#4676)
[BREAKING] Rename several classes from Log to LogRecord
(#4647)
Migration Guide:
LogDatahas been removed. Users should update their code as follows:For Log Exporters: Change from
Sequence[LogData]toSequence[ReadableLogRecord]For Log Processors: Use
ReadWriteLogRecordfor processing,ReadableLogRecordfor exportingAccessing log data: Use the same attributes on
ReadableLogRecord/ReadWriteLogRecordlog_record.log_record- The API LogRecord (contains body, severity, attributes, etc.)log_record.resource- The Resourcelog_record.instrumentation_scope- The InstrumentationScope (now included, was in LogData before)log_record.limits- The LogRecordLimitsMark the Events API/SDK as deprecated. The Logs API/SDK should be used instead, an event is now a
LogRecordwith theevent_namefield set(#4654).
Fix type checking for built-in metric exporters
(#4820)
v1.38.0Compare Source
rstcheckto pre-commit to stop introducing invalid RST(#4755)
(#4737)
(#4771)
v1.37.0Compare Source
(#4714)
OTEL_PYTHON_EXPORTER_OTLP_{HTTP/GRPC}_{METRICS/TRACES/LOGS}_CREDENTIAL_PROVIDERthat can be used toinject a
requests.Sessionorgrpc.ChannelCredentialsobject into OTLP exporters created during auto instrumentation #4689.logger's logs on the export logs path that might otherwise endlessly log or cause a recursion depth exceeded issue in cases where logging itself results in an exception.(#4695).
(#4728)
(#4634)
(#4731)
(#4677)
importlib_metadata.entry_points(#4735)
(#4741)
v1.36.0Compare Source
(#4485)
the OTLP
LogHandlerremains attached to the root logger. Fix a bug thatcan cause a deadlock to occur over
logging._lockin some cases (#4636).timeout_secin_exportmethod(#4691)
before a retry attempt, and cause them to return failure immediately.
Update BatchSpan/LogRecordProcessors: shutdown will now complete after 30 seconds of trying to finish
exporting any buffered telemetry, instead of continuing to export until all telemetry was exported.
(#4638).
Configuration
📅 Schedule: (in timezone Europe/Paris)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.