37f8287241
- update to 1.39.1: * Silence events API warnings for internal users - update to 1.39.0: * opentelemetry-api: Convert objects of any type other than AnyValue in attributes to string to be exportable * docs: Added sqlcommenter example * build: bump ruff to 0.14.1 * Add opentelemetry-exporter-credential-provider-gcp as an optional dependency to opentelemetry-exporter-otlp-proto- grpc and opentelemetry-exporter-otlp-proto-http * semantic-conventions: Bump to 1.38.0 * [BREAKING] Remove LogData and extend SDK LogRecord to have instrumentation scope * [BREAKING] Rename several classes from Log to LogRecord
Dirk Mueller2025-12-28 15:18:05 +00:00
3176d57d06
Accepting request 1318875 from devel:languages:python
Ana Guerrero2025-11-21 15:55:51 +00:00
8fb7af788e
- update to 1.38.0: * Add rstcheck to pre-commit to stop introducing invalid RST * logs: extend Logger.emit to accept separated keyword arguments * logs: add warnings for classes that would be deprecated and renamed in 1.39.0
Dirk Mueller2025-11-17 21:34:14 +00:00
e8fbc1023b
Accepting request 1306354 from devel:languages:python
Ana Guerrero2025-09-23 14:07:19 +00:00
7a12d16675
- update to 1.37.0: * Add experimental composite samplers * Add new environment variables to the SDK OTEL_PYTHON_EXPORTE R_OTLP_{HTTP/GRPC}_{METRICS/TRACES/LOGS}_CREDENTIAL_PROVIDER that can be used to inject a requests.Session or grpc.ChannelCredentials object into OTLP exporters created during auto instrumentation #4689. * Filter duplicate logs out of some internal 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). * docs: linked the examples with their github source code location and added Prometheus example * Permit to override default HTTP OTLP exporters headers * semantic-conventions: Bump to 1.37.0 * opentelemetry-sdk: fix handling of OTEL_ATTRIBUTE_COUNT_LIMIT in logs * Performance: Cache importlib_metadata.entry_points * opentelemetry-sdk: fix calling Logger.emit with an API LogRecord instance - update to 1.36.0: * Add missing Prometheus exporter documentation * Overwrite logging.config.fileConfig and logging.config.dictConfig to ensure the OTLP LogHandler remains attached to the root logger. Fix a bug that can cause a deadlock to occur over logging._lock in some cases (#4636). * otlp-http-exporter: set default value for param timeout_sec in _export method * Update OTLP gRPC/HTTP exporters: calling shutdown will now
Dirk Mueller2025-09-21 19:25:42 +00:00
67788c6f5b
Accepting request 1280598 from devel:languages:python
Ana Guerrero2025-05-27 16:44:08 +00:00
da9fd043b8
Accepting request 1280070 from home:nkrapp:branches:devel:languages:python
Matej Cepl2025-05-27 13:36:45 +00:00
718456df36
Accepting request 1250266 from devel:languages:python
Ana Guerrero2025-03-05 12:41:08 +00:00
6046f30f7e
- update to 1.30.0: * Always setup logs sdk, OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED only controls python logging module handler setup * Add attributes field in metrics.get_meter wrapper function * Add Python 3.13 support * sdk: don't log or print warnings when the SDK has been disabled * Fix span context manager typing by using ParamSpec from typing_extensions * Fix serialization of None values in logs body to match 1.31.0+ data model * [BREAKING] semantic-conventions: Remove opentelemetry.semcon v.attributes.network_attributes.NETWORK_INTERFACE_NAME introduced by mistake in the wrong module. * Add support for explicit bucket boundaries advisory for Histograms * semantic-conventions: Bump to 1.30.0
Dirk Mueller2025-02-25 20:57:27 +00:00
5f215f756b
Accepting request 1235915 from devel:languages:python
Ana Guerrero2025-01-09 14:09:50 +00:00
402bac0092
Accepting request 1235900 from home:glaubitz:branches:devel:languages:python
Robert Schweikert2025-01-08 12:21:30 +00:00
79c78587c4
Accepting request 1200069 from devel:languages:python
Ana Guerrero2024-09-11 14:55:41 +00:00
87d457dca3
- update to 1.27.0: * Implementation of Events API * Make log sdk add exception.message to logRecord for exceptions whose argument is an exception not a string message * Fix use of link.attributes.dropped, which may not exist * Added py.typed file to top-level module * Drop Final annotation from Enum in semantic conventions * Update log export example to not use root logger * sdk: Add OS resource detector * sdk: Accept non URL-encoded headers in OTEL_EXPORTER_OTLP_*HEADERS to match other languages SDKs * Update semantic conventions to version 1.27.0 * Add support to type bytes for OTLP AnyValue * Export ExponentialHistogram and ExponentialHistogramDataPoint * Implement Client Key and Certificate File Support for All OTLP Exporters * Remove _start_time_unix_nano attribute from _ViewInstrumentMatch in favor of using time_ns() at the moment when the aggregation object is created - update to 1.26.0: * Standardizing timeout calculation in measurement consumer collect to nanoseconds * optional scope attributes for logger creation * optional scope attribute for tracer creation * OTLP exporter is encoding invalid span/trace IDs in the logs * Update sdk process resource detector process.command_args attribute to also include the executable itself * Fix start_time_unix_nano for delta collection for explicit bucket histogram aggregation
Dirk Mueller2024-09-11 08:20:37 +00:00
d437d841e2
Accepting request 1181318 from devel:languages:python
Ana Guerrero2024-06-19 14:36:57 +00:00
3f2f45a432
- update to 1.25.0: * Fix class BoundedAttributes to have RLock rather than Lock * Remove thread lock by loading RuntimeContext explicitly. * Add to_json method to ExponentialHistogram * Fix exponential histograms * Fix otlp exporter to export log_record.observed_timestamp * Add capture the fully qualified type name for raised exceptions in spans * Prometheus exporter sort label keys to prevent duplicate metrics when user input changes order * Rename test objects to avoid pytest warnings * Add span flags to OTLP spans and links * Record links with invalid SpanContext if either attributes or TraceState are not empty * 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_NORMALIZATI ON=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
Dirk Mueller2024-06-17 12:40:39 +00:00
bbe30fc739
Accepting request 1171760 from devel:languages:python
Ana Guerrero2024-05-03 17:46:24 +00:00
7db33a292a
- update to 1.24.0: * Make create_gauge non-abstract method * Make tracer.start_as_current_span() decorator work with async functions * Fix python 3.12 deprecation warning * bump mypy to 0.982 * Add support for OTEL_SDK_DISABLED environment variable * Fix ValueError message for PeriodicExportingMetricsReader * Use BaseException instead of Exception in record_exception * Make span.record_exception more robust * Fix license field in pyproject.toml files
Dirk Mueller2024-04-03 07:27:52 +00:00
e2e2132cc4
Accepting request 1161427 from devel:languages:python
Ana Guerrero2024-03-25 20:12:51 +00:00
22ba60258c
Accepting request 1161036 from home:jaimeMF:branches:devel:languages:python
Markéta Machová2024-03-25 14:12:31 +00:00
4c31295c89
Accepting request 1139045 from devel:languages:python
Ana Guerrero2024-01-16 20:37:56 +00:00
1144bbf86e
baserev update by copy to link target
OBS User buildservice-autocommit
2024-01-16 20:37:56 +00:00