Update opentelemetry-python monorepo to v1.40.0 #197
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/opentelemetry-python-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==1.24.0→==1.40.0==1.24.0→==1.40.0==1.24.0→==1.40.0Release Notes
open-telemetry/opentelemetry-python (opentelemetry-api)
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
Add missing Prometheus exporter documentation
(#4485)
Overwrite logging.config.fileConfig and logging.config.dictConfig to ensure
the OTLP
LogHandlerremains attached to the root logger. Fix a bug thatcan cause a deadlock to occur over
logging._lockin some cases (#4636).otlp-http-exporter: set default value for param
timeout_secin_exportmethod(#4691)
Update OTLP gRPC/HTTP exporters: calling shutdown will now interrupt exporters that are sleeping
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).
v1.35.0Compare Source
event_nameas a top level field in theLogRecord. Events are now simply logs with theevent_namefield set, the logs SDK should be used to emit events (#4652).A +/-20% jitter was added to all backoffs. A pointless 32 second sleep that occurred after all retries
had completed/failed was removed.
(#4564).
in the body (#4614).
type: ignorethat causes mypy to ignore the whole file(#4618)
span_exporterproperty back toBatchSpanProcessorclass(#4621)
(#4625)
(#4637)
context; deprecatestrace_id,span_id,trace_flags.(#4597) and
(#4668)
(#4653)
(#4648)
(#4649)
(#4620)
(#4669)
(#4658)
v1.34.1: Version 1.34.1/0.55b1Compare Source
This is a patch release on the previous 1.34.0/0.55b0 release, fixing the issue(s) below.
type: ignorethat causes mypy to ignore the whole file (#4618)span_exporterproperty back toBatchSpanProcessorclass (#4621)v1.34.0Compare Source
(#4578)
(#4522)
BatchLogRecordProcessorandBatchSpanProcessorto simplify codeand make the control flow more clear (#4562
#4535, and
#4580).
BatchLogRecordProcessor.emit, this caused the programto crash at shutdown with a max recursion error (#4586).
(#4333)
(#4593)
(#4595)
(#4599)
(#4520)
v1.33.1: Version 1.33.1/0.54b1Compare Source
This is a patch release on the previous 1.33.0/0.54b0 release, fixing the issue(s) below.
BatchLogRecordProcessor.emit, this caused the program to crash at shutdown with a max recursion error (#4586).v1.33.0Compare Source
Connection abortederror when using otlp/http exporters(#4477)
code.function->code.function.name,code.lineno->code.line.number,code.filepath->code.file.path(#4508)
(#4342)
(#4553)
(#4559)
(#4567)
v1.32.1: Version 1.32.1/0.53b1Compare Source
This is a patch release on the previous 1.32.0/0.53b0 release, fixing the issue(s) below.
v1.32.0Compare Source
(#4475)
(#4466)
environment_variables(#4491)
BaseExceptionchange intrace_api.use_span()(#4494)
(#4498)
(#4436)
(#4530)
(#4521)
(#4528)
v1.31.1: Version 1.31.1/0.52b1Compare Source
This is a patch release on the previous 1.31.0/0.52b0 release, fixing the issue(s) below.
BaseExceptionchange intrace_api.use_span()(#4494)v1.31.0Compare Source
(#4471)
(#4346)
(#4359)
attribute sets
(#4413)
(#4402)
OTEL_EXPERIMENTAL_RESOURCE_DETECTORS(#4373)
OTLPSpanExporter(#4370)
(#4434)
(#4444)
(#4444)
tracecontext-integration-testgitref tod782773b2cf2fa4afd6a80a93b289d8a74ca894d(#4448)
trace_api.use_span()recordBaseExceptionas well asException(#4406)
(#4458)
(#4450)
(#4449)
v1.30.0Compare Source
loggingmodule handler setup(#4340)
attributesfield inmetrics.get_meterwrapper function(#4364)
(#4353)
(#4371)
(#4389)
(#4400)
opentelemetry.semconv.attributes.network_attributes.NETWORK_INTERFACE_NAMEintroduced by mistake in the wrong module.
(#4391)
(#4361)
(#4337)
v1.29.0Compare Source
(#4276)
(#4251)
(#4259)
(#4270)
(#4299)
(#4311)
(#4324)
TestBase.assertEqualSpanInstrumentationInfomethod, useassertEqualSpanInstrumentationScopeinstead(#4310)
ExemplarBuckets inExemplarReservoirs(#4260)
(#4337)
v1.28.2: Version 1.28.2/0.49b2Compare Source
This is a patch release on the previous 1.28.1/0.49b1 release, fixing the issue(s) below.
v1.28.1: Version 1.28.1/0.49b1Compare Source
This is a patch release on the previous 1.28.0/0.49b0 release, fixing the issue(s) below.
v1.28.0Compare Source
(#4172)
(#4154)
(#4137)
(#4182)
(#4094)
(#4176)
(#4218)
(#4206)
(#4222)
(#4208)
(#4224)
OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATIONenvironment variable(#4217)
LogRecord.getMessage()in order to customize message formatting(#4216)
v1.27.0Compare Source
(#4054)
exception.messageto logRecord for exceptions whose argumentis an exception not a string message
(#4122)
link.attributes.dropped, which may not exist(#4119)
(#4053)
(#4084)
(#4085)
(#3992)
OTEL_EXPORTER_OTLP_*HEADERSto match other languages SDKs(#4103)
(#4104)
(#4128)
(#4134)
(#4116)
_start_time_unix_nanoattribute from_ViewInstrumentMatchin favorof using
time_ns()at the moment when the aggregation object is created(#4137)
v1.26.0Compare Source
(#4074)
(#4035)
(#4028)
(#4006)
process.command_argsattribute to also include the executable itself(#4032)
start_time_unix_nanofor delta collection for explicit bucket histogram aggregation(#4009)
start_time_unix_nanofor delta collection for sum aggregation(#4011)
(#4023)
(#3956)
(#3838)
ExponentialHistogramAggregation(#3978)
LogRecordinsdk/loghas dropped attributesdue to reaching limits
(#3946)
(#3949)
(#3616)
(#3972)
osandnetnamespaces.Finaldecorator to constants to prevent collisions(#3973)
(#3964)
(#3979)
(#3965)
(#3991)
MeterProvider.get_meterandInstrumentationScope(#4015)
SCHEMA_URLconstants inopentelemetry-semantic-conventions(#4069)
v1.25.0Compare Source
(#3859)
(#3763)
(#3844)
(#3780)
(#3795)
(#3798)
(#3785)
(#3837)
(#3698)
Refactor semantic-convention structure:
SpanAttributes,ResourceAttributes, andMetricInstrumentsare deprecated.opentelemetry.semconv.attributesand
opentelemetry.semconv.metricsmodules.opentelemetry.semconv._incubatingimport path.(#3586)
([#3823] (#3823))
(#3881)
(#3917)
([#3913] (#3913))
(#3924)
specification.
OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION=trues->seconds),following the collector's implementation
_are replaced with a single_{requests}) are stripped awaym/s->meters_per_second.(#3864)
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York, Automerge - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York.
🚦 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 has been generated by Renovate Bot.
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (
==1.40.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to theignoreDepsarray of your Renovate config.If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.