OpenTelemetry - CNCF/opentelemetry-python: Release v1.25.0
Name: opentelemetry-python
Owner: OpenTelemetry - CNCF
Release: Version 1.25.0/0.46b0
Released: 2024-05-30
License: Apache-2.0
Release Assets:
- Fix class BoundedAttributes to have RLock rather than Lock (#3859)
- Remove thread lock by loading RuntimeContext explicitly. (#3763)
- Update proto version to v1.2.0 (#3844)
- Add to_json method to ExponentialHistogram (#3780)
- Bump mypy to 1.9.0 (#3795)
- Fix exponential histograms (#3798)
- Fix otlp exporter to export log_record.observed_timestamp (#3785)
- Add capture the fully qualified type name for raised exceptions in spans (#3837)
- Prometheus exporter sort label keys to prevent duplicate metrics when user input changes order (#3698)
- Update semantic conventions to version 1.25.0. Refactor semantic-convention structure: -
SpanAttributes
,ResourceAttributes
, andMetricInstruments
are deprecated. - Attribute and metric definitions are now grouped by the namespace. - Stable attributes and metrics are moved toopentelemetry.semconv.attributes
andopentelemetry.semconv.metrics
modules. - Stable and experimental attributes and metrics are defined underopentelemetry.semconv._incubating
import path. (#3586) - Rename test objects to avoid pytest warnings ([#3823] (https://github.com/open-telemetry/opentelemetry-python/pull/3823))
- Add span flags to OTLP spans and links (#3881)
- Record links with invalid SpanContext if either attributes or TraceState are not empty (#3917)
- Add OpenTelemetry trove classifiers to PyPI packages ([#3913] (https://github.com/open-telemetry/opentelemetry-python/pull/3913))
- Fix prometheus metric name and unit conversion (#3924) - this is a breaking change to prometheus metric names so they comply with the specification. - you can temporarily opt-out of the unit normalization by setting the environment variable
OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION=true
- common unit abbreviations are converted to Prometheus conventions (s
->seconds
), following the collector's implementation - repeated_
are replaced with a single_
- unit annotations (enclosed in curly braces like{requests}
) are stripped away - units with slash are converted e.g.m/s
->meters_per_second
. - The exporter's API is not changed - Add parameters for Distros and configurators to configure autoinstrumentation in addition to existing environment variables. ([#3864] (https://github.com/open-telemetry/opentelemetry-python/pull/3864))