c8556aadf2
- 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:22:35 +00:00
4b2e10cf7e
Accepting request 1318858 from devel:languages:python
Ana Guerrero2025-11-21 15:53:38 +00:00
25c7b18fd8
- update to 0.59b0 * 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
Nico Krapp2025-11-20 13:22:44 +00:00
c2308c4a48
Accepting request 1306351 from devel:languages:python
Ana Guerrero2025-09-23 14:05:37 +00:00
f6832cc85c
- update to 0.58b0: * Add experimental composite samplers (#4714) * Add new environment variables to the SDK OTEL_PYTHON_EXPORTER_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 (#4728) * Permit to override default HTTP OTLP exporters headers (#4634)
Dirk Mueller2025-09-21 14:51:57 +00:00
fcc0c8b055
- Update to 0.54b1 * Remove log messages from BatchLogRecordProcessor.emit, this caused the program to crash at shutdown with a max recursion error - Update to 0.54b0 * Fix intermittent Connection aborted error when using otlp/http exporters * opentelemetry-sdk: use stable code attributes: code.function -> code.function.name, code.lineno -> code.line.number, code.filepath -> code.file.path * Fix serialization of extended attributes for logs signal * Handle OTEL_PROPAGATORS contains None * docs: updated and added to the metrics and log examples * Bump semantic conventions to 1.33.0
Matej Cepl2025-05-27 13:33:50 +00:00
647f1bacaf
- update to 0.51b0: * 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:47:02 +00:00
edf58254c8
Accepting request 1235960 from devel:languages:python
Ana Guerrero2025-01-09 14:05:56 +00:00
7cfa39ad61
- Update to 0.50b0 * Fix crash exporting a log record with None body * Fix metrics export with exemplar and no context and filtering observable instruments * Fix recursion error with sdk disabled and handler added to root logger * sdk: setup EventLogger when OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED is set * api: fix logging of duplicate EventLogger setup warning * sdk: fix setting of process owner in ProcessResourceDetector * sdk: fix serialization of logs severity_number field to int * Remove TestBase.assertEqualSpanInstrumentationInfo method, use assertEqualSpanInstrumentationScope instead * sdk: instantiate lazily ExemplarBuckets in ExemplarReservoirs * semantic-conventions: Bump to 1.29.0 - from version 0.49b0 * Removed superfluous py.typed markers and added them where they were missing * Include metric info in encoding exceptions * sdk: Add support for log formatting * sdk: Add Host resource detector * sdk: Implementation of exemplars * Implement events sdk * Update semantic conventions to version 1.28.0 * Add support to protobuf 5+ and drop support to protobuf 3 and 4 * Update environment variable descriptions to match signal * Record logger name as the instrumentation scope name * Fix memory leak in exporter and reader * Drop OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION environment variable * Improve compatibility with other logging libraries that override LogRecord.getMessage() in order to customize message formatting - Update Requires from pyproject.toml - Use %{version} in BuildRequires for dependencies
Matej Cepl2025-01-08 14:09:44 +00:00
3f322aeb15
- update to 0.43b0: * Prometheus exporter sanitize info metric * Remove Jaeger exporters * Log stacktrace on UNKNOWN status OTLP export error * Fix OTLPExporterMixin shutdown timeout period * Handle taskNamelogrecord attribute * Fix SumAggregation  * Fix handling of empty metric collection cycles * Fix error when no LoggerProvider configured for LoggingHandler * Make opentelemetry_metrics_exporter entrypoint support pull exporters * Allow instrument names to have '/' and up to 255 characters * Do not load Resource on sdk import * Update semantic conventions to version 1.21.0 * Add missing schema_url in global api for logging and metrics * Prometheus exporter support for auto instrumentation * Drop setuptools runtime requirement. * Update the body type in the log ($3343) * Add max_scale option to Exponential Bucket Histogram Aggregation * Use BoundedAttributes instead of raw dict to extract attributes from LogRecord * Support dropped_attributes_count in LogRecord and exporters * Add unit to view instrument selection criteria * Upgrade opentelemetry-proto to 0.20 and regen #3355) * Include endpoint in Grpc transient error warning #3362) * Fixed bug where logging export is tracked as trace #3375) * Select histogram aggregation with an environment variable * Move Protobuf encoding to its own package
Dirk Mueller2024-01-04 11:17:54 +00:00
0ac580c838
Accepting request 929172 from home:glaubitz:branches:devel:languages:python
Dirk Mueller2021-11-06 10:34:06 +00:00