1
0

37 Commits

Author SHA256 Message Date
0c0024f2b9 Accepting request 1280592 from devel:languages:python
Forwarded request #1280061 from nkrapp

- Update to 1.33.1
    * Remove log messages from BatchLogRecordProcessor.emit, this caused the
      program to crash at shutdown with a max recursion error
  - Update to 1.33.0
    * 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

OBS-URL: https://build.opensuse.org/request/show/1280592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=18
2025-05-27 16:52:35 +00:00
d143647050 - Update to 1.33.1
* Remove log messages from BatchLogRecordProcessor.emit, this caused the
    program to crash at shutdown with a max recursion error
- Update to 1.33.0
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=35
2025-05-27 13:34:47 +00:00
5a482f942c Accepting request 1248488 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1248488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=17
2025-02-26 16:14:13 +00:00
e9a0777787 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=33
2025-02-25 20:42:51 +00:00
a967c04130 Accepting request 1235914 from devel:languages:python
- Update to 1.29.0
  * 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 `ExemplarBucket`s in `ExemplarReservoir`s
  * semantic-conventions: Bump to 1.29.0
- from version 1.28.0
  * 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 BuildRequires from pyproject.toml (forwarded request 1235899 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1235914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=16
2025-01-09 14:05:54 +00:00
566224d98d - Update to 1.29.0
* 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 `ExemplarBucket`s in `ExemplarReservoir`s
  * semantic-conventions: Bump to 1.29.0
- from version 1.28.0
  * 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 BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=31
2025-01-08 12:21:18 +00:00
609775ecf9 Accepting request 1198294 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1198294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=15
2024-09-04 11:22:27 +00:00
d146535ea5 Accepting request 1181383 from devel:languages:python
Required by python-opentelemetry-sdk

- update to 1.25.0:
  * Fix class BoundedAttributes to have RLock rather than Lock
  * Remove thread lock by loading RuntimeContext explicitly.
  * Update proto version to v1.2.0
  * Add to_json method to ExponentialHistogram
  * Bump mypy to 1.9.0
  * 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
  * Update semantic conventions to version 1.25.0.
  * 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
  * Fix prometheus metric name and unit conversion (#3924)
  * Add parameters for Distros and configurators to configure
    autoinstrumentation in addition to existing environment
    variables.

OBS-URL: https://build.opensuse.org/request/show/1181383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=14
2024-06-18 20:51:06 +00:00
1d985006e8 - update to 1.25.0:
* Fix class BoundedAttributes to have RLock rather than Lock
  * Remove thread lock by loading RuntimeContext explicitly.
  * Update proto version to v1.2.0
  * Add to_json method to ExponentialHistogram
  * Bump mypy to 1.9.0
  * 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
  * Update semantic conventions to version 1.25.0.
  * 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
  * Fix prometheus metric name and unit conversion (#3924)
  * Add parameters for Distros and configurators to configure
    autoinstrumentation in addition to existing environment
    variables.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=27
2024-06-17 11:42:29 +00:00
f0d16a3c95 Accepting request 1164295 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1164295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=13
2024-04-04 20:24:56 +00:00
5f43ab982f - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=25
2024-04-03 08:05:54 +00:00
ef67db02f1 Accepting request 1161407 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1161407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=12
2024-03-25 20:12:46 +00:00
a8e83572d7 Accepting request 1161031 from home:jaimeMF:branches:devel:languages:python
- update to 1.23.0:
  * Use Attribute rather than boundattribute in logrecord (#3567)
  * Fix flush error when no LoggerProvider configured for LoggingHandler (#3608)
  * Fix OTLPMetricExporter ignores preferred_aggregation property (#3603)
  * Logs: set observed_timestamp field (#3565)
  * Add missing Resource SchemaURL in OTLP exporters (#3652)
  * Fix loglevel warning text (#3566)
  * Prometheus Exporter string representation for target_info labels (#3659)
  * Logs: ObservedTimestamp field is missing in console exporter output (#3564)
  * Fix explicit bucket histogram aggregation (#3429)
  * Add code.lineno, code.function and code.filepath to all logs (#3645)
  * Add Synchronous Gauge instrument (#3462)
  * Drop support for 3.7 (#3668)
  * Include key in attribute sequence warning (#3639)
  * Upgrade markupsafe, Flask and related dependencies to dev and test
    environments (#3609)
  * Handle HTTP 2XX responses as successful in OTLP exporters (#3623)
  * Improve Resource Detector timeout messaging (#3645)
  * Add Proxy classes for logging (#3575)
  * Remove dependency on 'backoff' library (#3679)

OBS-URL: https://build.opensuse.org/request/show/1161031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=23
2024-03-25 13:46:54 +00:00
8404af6f75 Accepting request 1135287 from devel:languages:python
- update to 1.22.0:
  * Prometheus exporter sanitize info metric (#3572)
  * Remove Jaeger exporters (#3554)
  * Log stacktrace on `UNKNOWN` status OTLP export error  (#3536)
  * Fix OTLPExporterMixin shutdown timeout period (#3524)
  * Handle `taskName` `logrecord` attribute (#3557)

OBS-URL: https://build.opensuse.org/request/show/1135287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=11
2023-12-28 22:01:50 +00:00
37c590ea1a - update to 1.22.0:
* Prometheus exporter sanitize info metric (#3572)
  * Remove Jaeger exporters (#3554)
  * Log stacktrace on `UNKNOWN` status OTLP export error  (#3536)
  * Fix OTLPExporterMixin shutdown timeout period (#3524)
  * Handle `taskName` `logrecord` attribute (#3557)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=21
2023-12-27 11:04:02 +00:00
be6161088e Accepting request 1132370 from devel:languages:python
- update to 1.21.0:
  * Fix `SumAggregation`   (#3390)
  * Fix handling of empty metric collection cycles (#3335)
  * Fix error when no LoggerProvider configured for
    LoggingHandler (#3423)
  * Make `opentelemetry_metrics_exporter` entrypoint support pull
    exporters (#3428)
  * Allow instrument names to have '/' and up to 255 characters
    (#3442)
  * Do not load Resource on sdk import (#3447)
  * Update semantic conventions to version 1.21.0 (#3251)
  * Add missing schema_url in global api for logging and metrics
    (#3251)
  * Prometheus exporter support for auto instrumentation  (#3413)
  * Modify Prometheus exporter to translate non-monotonic Sums
    into Gauges (#3306)
  * Update the body type in the log ($3343)
  * Add max_scale option to Exponential Bucket Histogram
    Aggregation  (#3323)
  * Use BoundedAttributes instead of raw dict to extract
    attributes from LogRecord (#3310)
  * Support dropped_attributes_count in LogRecord and exporters
    (#3351)
  * Add unit to view instrument selection criteria (#3341)
  * 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 (#3169)
  * Add experimental feature to detect resource detectors in auto

OBS-URL: https://build.opensuse.org/request/show/1132370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=10
2023-12-11 20:50:41 +00:00
04e6f9f289 - update to 1.21.0:
* Fix `SumAggregation`   (#3390)
  * Fix handling of empty metric collection cycles (#3335)
  * Fix error when no LoggerProvider configured for
    LoggingHandler (#3423)
  * Make `opentelemetry_metrics_exporter` entrypoint support pull
    exporters (#3428)
  * Allow instrument names to have '/' and up to 255 characters
    (#3442)
  * Do not load Resource on sdk import (#3447)
  * Update semantic conventions to version 1.21.0 (#3251)
  * Add missing schema_url in global api for logging and metrics
    (#3251)
  * Prometheus exporter support for auto instrumentation  (#3413)
  * Modify Prometheus exporter to translate non-monotonic Sums
    into Gauges (#3306)
  * Update the body type in the log ($3343)
  * Add max_scale option to Exponential Bucket Histogram
    Aggregation  (#3323)
  * Use BoundedAttributes instead of raw dict to extract
    attributes from LogRecord (#3310)
  * Support dropped_attributes_count in LogRecord and exporters
    (#3351)
  * Add unit to view instrument selection criteria (#3341)
  * 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 (#3169)
  * Add experimental feature to detect resource detectors in auto

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=19
2023-12-10 21:50:02 +00:00
64a17a04a4 Accepting request 1086592 from devel:languages:python
- Ignore some tests because there's no opentelemetry-test-util module
  gh#open-telemetry/opentelemetry-python#2263
- Update to 1.17.0:
  * Implement LowMemory temporality (#3223)
  * PeriodicExportingMetricReader will continue if collection times out (#3100)
  * Fix formatting of ConsoleMetricExporter. (#3197)
  * Fix use of built-in samplers in SDK configuration (#3176)
  * Implement shutdown procedure forOTLP grpc exporters (#3138)
  * Add exponential histogram (#2964)
  * Add OpenCensus trace bridge/shim (#3210)
  * A lot more changes in previous releases can be found at
  https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md#version-1170038b0-2023-03-22

OBS-URL: https://build.opensuse.org/request/show/1086592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=9
2023-05-12 18:37:38 +00:00
a18f496be9 - Ignore some tests because there's no opentelemetry-test-util module
gh#open-telemetry/opentelemetry-python#2263
- Update to 1.17.0:
  * Implement LowMemory temporality (#3223)
  * PeriodicExportingMetricReader will continue if collection times out (#3100)
  * Fix formatting of ConsoleMetricExporter. (#3197)
  * Fix use of built-in samplers in SDK configuration (#3176)
  * Implement shutdown procedure forOTLP grpc exporters (#3138)
  * Add exponential histogram (#2964)
  * Add OpenCensus trace bridge/shim (#3210)
  * A lot more changes in previous releases can be found at
  https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md#version-1170038b0-2023-03-22

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=17
2023-05-11 16:56:36 +00:00
57d54f6be6 Accepting request 1081849 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=8
2023-04-21 16:48:06 +00:00
a5490381a0 Accepting request 1081505 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081505
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=15
2023-04-21 14:19:46 +00:00
22e07fec30 Accepting request 946889 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/946889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=7
2022-01-17 21:34:05 +00:00
2a40310cca Accepting request 946841 from home:bnavigator:branches:devel:languages:python
- Remove obsolete but unresolvable python36 requirement

OBS-URL: https://build.opensuse.org/request/show/946841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=14
2022-01-17 06:45:11 +00:00
5d2bb21738 Accepting request 929161 from devel:languages:python
- Version update to 1.5.0
  - Add pre and post instrumentation entry points (#1983)
  - Fix documentation on well known exporters and variable OTEL_TRACES_EXPORTER
    which were misnamed (#2023)
  - `opentelemetry-sdk` `get_aggregated_resource()` returns default resource and
    service name whenever called (#2013)
  - `opentelemetry-distro` & `opentelemetry-sdk` Moved Auto Instrumentation Configurator
    code to SDK to let distros use its default implementation (#1937)
  - Add Trace ID validation to meet TraceID spec (#1992)
  - Fixed Python 3.10 incompatibility in `opentelemetry-opentracing-shim` tests (#2018)
  - `opentelemetry-sdk` added support for `OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT` (#2044)
  - `opentelemetry-sdk` Fixed bugs (#2041, #2042 & #2045) in Span Limits (#2044)
  - `opentelemetry-sdk` Add support for `OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT` env var (#2056)
  - `opentelemetry-sdk` Treat limit even vars set to empty values as unset/unlimited. (#2054)
  - `opentelemetry-api` Attribute keys must be non-empty strings. (#2057)
- from version 1.4.0
  + Added
    - Moved `opentelemetry-instrumentation` to core repository. (#1959)
    - Add support for OTLP Exporter Protobuf over HTTP (#1868)
    - Dropped attributes/events/links count available exposed on ReadableSpans. (#1893)
    - Added dropped count to otlp, jaeger and zipkin exporters. (#1893)
    - Give OTLPHandler the ability to process attributes (#1952)
    - Add global LogEmitterProvider and convenience function get_log_emitter (#1901)
    - Add OTLPHandler for standard library logging module (#1903)
  + Changed
    - Updated `opentelemetry-opencensus-exporter` to use `service_name` of spans
      instead of resource (#1897)
    - Added descriptions to the env variables mentioned in the opentelemetry-specification
      (#1898)
    - Ignore calls to `Span.set_status` with `StatusCode.UNSET` and also if previous (forwarded request 929148 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/929161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=6
2021-12-24 19:23:12 +00:00
a2c1df22dc Accepting request 929148 from home:glaubitz:branches:devel:languages:python
- Version update to 1.5.0
  - Add pre and post instrumentation entry points (#1983)
  - Fix documentation on well known exporters and variable OTEL_TRACES_EXPORTER
    which were misnamed (#2023)
  - `opentelemetry-sdk` `get_aggregated_resource()` returns default resource and
    service name whenever called (#2013)
  - `opentelemetry-distro` & `opentelemetry-sdk` Moved Auto Instrumentation Configurator
    code to SDK to let distros use its default implementation (#1937)
  - Add Trace ID validation to meet TraceID spec (#1992)
  - Fixed Python 3.10 incompatibility in `opentelemetry-opentracing-shim` tests (#2018)
  - `opentelemetry-sdk` added support for `OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT` (#2044)
  - `opentelemetry-sdk` Fixed bugs (#2041, #2042 & #2045) in Span Limits (#2044)
  - `opentelemetry-sdk` Add support for `OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT` env var (#2056)
  - `opentelemetry-sdk` Treat limit even vars set to empty values as unset/unlimited. (#2054)
  - `opentelemetry-api` Attribute keys must be non-empty strings. (#2057)
- from version 1.4.0
  + Added
    - Moved `opentelemetry-instrumentation` to core repository. (#1959)
    - Add support for OTLP Exporter Protobuf over HTTP (#1868)
    - Dropped attributes/events/links count available exposed on ReadableSpans. (#1893)
    - Added dropped count to otlp, jaeger and zipkin exporters. (#1893)
    - Give OTLPHandler the ability to process attributes (#1952)
    - Add global LogEmitterProvider and convenience function get_log_emitter (#1901)
    - Add OTLPHandler for standard library logging module (#1903)
  + Changed
    - Updated `opentelemetry-opencensus-exporter` to use `service_name` of spans
      instead of resource (#1897)
    - Added descriptions to the env variables mentioned in the opentelemetry-specification
      (#1898)
    - Ignore calls to `Span.set_status` with `StatusCode.UNSET` and also if previous

OBS-URL: https://build.opensuse.org/request/show/929148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=13
2021-11-04 11:23:09 +00:00
f1adcb1347 Accepting request 891320 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/891320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=5
2021-05-07 15:15:34 +00:00
a69d1513cb Accepting request 891317 from home:glaubitz:branches:devel:languages:python
- Version update to 1.1.0
  + Added
    - Added py.typed file to every package. This should resolve a bunch of mypy
      errors for users. (#1720)
    - Add auto generated trace and resource attributes semantic conventions (#1759)
    - Added SpanKind to should_sample parameters, suggest using parent span
      context's tracestate instead of manually passed in tracestate in
      should_sample (#1764)
    - Added experimental HTTP back propagators. (#1762)
    - Adjust B3Format propagator to be spec compliant by not modifying context
      when propagation headers are not present/invalid/empty (#1728)
    - Silence unnecessary warning when creating a new Status object without description. (#1721)
    - Update bootstrap cmd to use exact version when installing instrumentation packages. (#1722)
    - Fix B3 propagator to never return None. (#1750)
    - Added ProxyTracerProvider and ProxyTracer implementations to allow fetching provider
      and tracer instances before a global provider is set up. (#1726)
    - Added __contains__ to opentelementry.trace.span.TraceState. (#1773)
      opentelemetry-opentracing-shim Fix an issue in the shim where a Span was being wrapped
      in a NonRecordingSpan when it wasn't necessary. (#1776)
    - OTLP Exporter now uses the scheme in the endpoint to determine whether to establish
      a secure connection or not. (#1771)
- from version 1.10a0
  + This release adds the experimental metrics API/SDK and will include the following packages:
    - opentelemetry-exporter-prometheus
    - opentelemetry-api
    - opentelemetry-sdk
    - opentelemetry-exporter-otlp-proto-grpc
    - opentelemetry-exporter-otlp
- from version 1.0.0
  + NOTE: As part of this release, all old versions have been removed for packages

OBS-URL: https://build.opensuse.org/request/show/891317
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=11
2021-05-07 14:10:15 +00:00
803be3d2f7 Accepting request 866015 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/866015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=4
2021-01-22 20:51:53 +00:00
4ffe617353 Accepting request 866014 from home:bnavigator:branches:devel:languages:python
- aiocontextvars is only needed for older Python 3.6. Python 3.7
  and beyond provide everything in stdlib contextvars. See
  upstreams' setup.cfg.  Use rpm boolean dependencies to pull in
  aiocontextvars only for python36 if available (TW) or python3 if
  python3-base < 3.7 (Leap)

OBS-URL: https://build.opensuse.org/request/show/866014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=9
2021-01-22 13:49:20 +00:00
1bca3cb0a4 Accepting request 865954 from home:glaubitz:branches:devel:languages:python
- Version update to 0.17b0
  + Added
  - Add support for OTLP v0.6.0 (#1472)
  - Add protobuf via gRPC exporting support for Jaeger (#1471)
  - Add support for Python 3.9 (#1441)
  - Added the ability to disable instrumenting libraries specified by
    OTEL_PYTHON_DISABLED_INSTRUMENTATIONS env variable, when using
    opentelemetry-instrument command. (#1461)
  - Add `fields` to propagators (#1374)
  - Add local/remote samplers to parent based sampler (#1440)
  - Add support for OTEL_SPAN_{ATTRIBUTE_COUNT_LIMIT,EVENT_COUNT_LIMIT,LINK_COUNT_LIMIT}
    (#1377)
  - Return `None` for `DictGetter` if key not found (#1449)
  - Added support for Jaeger propagator (#1219)
  - Remove dependency on SDK from `opentelemetry-instrumentation` package. The
    `opentelemetry-sdk` package now registers an entrypoint `opentelemetry_configurator`
    to allow `opentelemetry-instrument` to load the configuration for the SDK (#1420)
  - `opentelemetry-exporter-zipkin` Add support for array attributes in Span and
    Resource exports (#1285)
  - Added `__repr__` for `DefaultSpan`, added `trace_flags` to `__repr__` of
    `SpanContext` (#1485)
  - `opentelemetry-sdk` Add support for OTEL_TRACE_SAMPLER and OTEL_TRACE_SAMPLER_ARG
    env variables (#1496)
  - Adding `opentelemetry-distro` package to add default configuration for
    span exporter to OTLP (#1482)
  + Changed
  - `opentelemetry-exporter-zipkin` Updated zipkin exporter status code and error tag
    (#1486)
  - Recreate span on every run of a `start_as_current_span`-decorated function (#1451)
  - `opentelemetry-exporter-otlp` Headers are now passed in as tuple as metadata, instead of a

OBS-URL: https://build.opensuse.org/request/show/865954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=8
2021-01-22 13:01:12 +00:00
0b031f339a Accepting request 794251 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/794251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=3
2020-04-16 21:01:37 +00:00
Tomáš Chvátal
9f15645d61 Accepting request 794215 from home:pgajdos:python
- version update to 0.6b0
  * Add support for lazy events and links (#474)
  * Metrics API no longer uses LabelSet (#527)
  * Adding is_remote flag to SpanContext, indicating when a span is remote (#516)
  * Allow digit as first char in vendor specific trace state key (#511)

OBS-URL: https://build.opensuse.org/request/show/794215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=6
2020-04-15 16:32:46 +00:00
e78910c768 Accepting request 789081 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/789081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=2
2020-03-27 21:01:55 +00:00
Tomáš Chvátal
d51239763a Accepting request 789052 from home:pgajdos:python
- version update to 0.5b0
  * W3C Correlation Context Propagation
  * OpenTelemetry Collector Exporter Integration for both metrics and traces
  * Metrics SDK
  * Global configuration module

OBS-URL: https://build.opensuse.org/request/show/789052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=4
2020-03-27 15:15:03 +00:00
c311b6b2c3 Accepting request 783441 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/783441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=1
2020-03-11 17:49:31 +00:00
Tomáš Chvátal
ddce0ab8e8 - Update to 0.4a1:
* various minor tweaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=2
2020-03-10 14:50:12 +00:00
Tomáš Chvátal
7f9e8d60c5 osc copypac from project:home:glaubitz:branches:devel:languages:python package:python-opentelemetry-api revision:2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=1
2020-03-10 14:42:22 +00:00
5 changed files with 77 additions and 9 deletions

Binary file not shown.

Binary file not shown.

BIN
opentelemetry_api-1.33.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,74 @@
-------------------------------------------------------------------
Mon May 26 07:37:35 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 1.33.1
* Remove log messages from BatchLogRecordProcessor.emit, this caused the
program to crash at shutdown with a max recursion error
- Update to 1.33.0
* 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
-------------------------------------------------------------------
Tue Feb 25 20:37:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Wed Jan 8 12:00:10 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.29.0
* 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 `ExemplarBucket`s in `ExemplarReservoir`s
* semantic-conventions: Bump to 1.29.0
- from version 1.28.0
* 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 BuildRequires from pyproject.toml
-------------------------------------------------------------------
Mon Sep 2 08:01:13 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opentelemetry-api
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-opentelemetry-api%{?psuffix}
Version: 1.27.0
Version: 1.33.1
Release: 0
Summary: OpenTelemetry Python API
License: Apache-2.0
@@ -51,7 +51,7 @@ Requires: python-aiocontextvars
%endif
%if %{with test}
BuildRequires: %{python_module opentelemetry-api = %{version}}
BuildRequires: %{python_module opentelemetry-test-utils == 0.48b0}
BuildRequires: %{python_module opentelemetry-test-utils == 0.54b1}
BuildRequires: %{python_module pytest}
%endif
%python_subpackages