-------------------------------------------------------------------
Sun Nov  1 15:11:12 UTC 2026 - Martin Pluskal <mpluskal@suse.com>

- Update to 1.45.1:
  * Make AnyValue and AttributeValue explicit type aliases.
  * Fix quadratic-time parsing of the tracestate header and
    discard headers longer than 8192 characters.
  * CVE-2026-114603: denial of service via unbounded whitespace
    matching in TraceState.from_header (boo#1287483)

-------------------------------------------------------------------
Sat Sep 26 14:12:17 UTC 2026 - ecsos <ecsos@opensuse.org>

- Update to 1.45.0
  * Added
    - opentelemetry-exporter-prometheus: add support to configure Resource attributes as metric labels (#5122)
    - infra: add renovate (#5202)
    - opentelemetry-api, opentelemetry-sdk: add support for extended attribute values everywhere. (#5266)
    - opentelemetry-sdk: wire the top-level log_level field in declarative configuration — when set,
      maps the OTel SeverityNumber value to a Python logging level and applies it to the opentelemetry logger
      so SDK internal diagnostics respect the configured severity. (#5351)
    - opentelemetry-sdk: add the new stable AlwaysRecordSampler (#5354)
    - opentelemetry-configuration, opentelemetry-sdk: wire top-level attribute_limits into per-signal providers via declarative config;
      add log_record_limits support to LoggerProvider (#5365)
    - opentelemetry-exporter-otlp-json-http: add OTLP JSON HTTP exporter package (#5374)
    - opentelemetry-api, opentelemetry-sdk: add enabled() support to the Logger API, SDK, and LogRecordProcessor
      to let instrumentation skip expensive work when logging is disabled (#5380)
    - opentelemetry-exporter-otlp-json-file: add OTLP JSON file Docker tests (#5412)
    - opentelemetry-configuration: wire the experimental tracer_configurator/development, meter_configurator/development and
      logger_configurator/development fields into create_tracer_provider, create_meter_provider and create_logger_provider,
      so per-instrumentation-scope enabled overrides declared in the config file are applied to the provider (previously these fields were parsed but silently discarded).
      The logger minimum_severity/trace_based fields are not supported by the Python SDK and are ignored with a warning. (#5418)
    - docs/examples: add example on how to manually setup the SDK to get SDK metrics (#5449)
    - opentelemetry-docker-tests: add Prometheus exporter docker tests (#5457)
    - opentelemetry-sdk: count records dropped after shutdown on otel.sdk.processor.{span,log}.processed with error.type=already_shutdown (batch span/log and simple log processors),
      which the semantic conventions define as a valid value for this metric. (#5509)
    - opentelemetry-semantic-conventions: update semantic conventions to v1.44.0 (#5511)
    - opentelemetry-sdk: add host.id to the host resource detector (#5653)
    - opentelemetry-test-utils: add CapturingSampler to record what samplers receive in instrumentation tests (#5681)
  * Changed
    - Enable PIE (flake8-pie) ruff rule and fix all violations (#5150)
    - The public opentelemetry.util.types.AttributeValue type in package opentelemetry-api is being expanded to include None,
      heterogeneous sequences of primitive types (and nested sequences) as opposed to only homogeneous primitive sequences,
      and Mappings of strings to any primitive types or sequences/mappings (which themselves must only contain primitive types
      or sequences/mappings validated the same way). If a bytes type is set as an attribute value in the SDK,
      it will no longer be utf-8 decoded to a string, instead it will be passed along as is in accordance with the OTEL spec,
      since bytes is a valid type in the OTLP proto. (#5266)
    - opentelemetry-exporter-otlp-proto-http: add a max_request_size argument to the OTLP HTTP exporters (traces, logs, metrics);
      serialized requests larger than the limit are dropped before sending, measured before compression.
      Defaults to 64 MiB (enabled); set to 0 to disable. Mirrors opentelemetry-go#8157. (#5369)
    - [BREAKING] opentelemetry-api: subclasses of Logger need to implement the enabled method (#5380)
    - opentelemetry-exporter-otlp-proto-http: refactor to use shared opentelemetry-exporter-otlp-common
      and opentelemetry-exporter-http-transport packages and switch default HTTP backend to urllib3 (#5389)
    - opentelemetry-sdk: unify logging force_flush timeout defaults to 30000ms (#5438)
    - opentelemetry-python: enable Ruff default ruleset and fix auto-fixable lint issues (#5491)
    - opentelemetry-sdk: SimpleSpanProcessor now drops spans ended after shutdown() instead of passing them to the exporter,
      and counts them on otel.sdk.processor.span.processed with error.type=already_shutdown. (#5512)
    - Bump pytest to 9.0.3 (#5518)
    - opentelemetry-exporter-otlp-proto-http: clarify that the endpoint= kwarg requires the full signal path (#5633)
    - opentelemetry-sdk: fix typos in SpanLimits docstring (#5658)
  * Fixed
    - opentelemetry-configuration: perform environment variable substitution on scalar values after parsing the configuration file,
      so ${VAR} references inside comments and mapping keys are no longer substituted and undefined references in comments no longer abort loading (#5407)
    - opentelemetry-configuration: declarative config environment variable substitution now replaces an unset variable
      that has no default with an empty value instead of raising an error, per the configuration spec.
      Resource attributes whose value resolves to null (an unset ${VAR} with no default) are skipped with a warning instead of being inserted as a null value. (#5408)
    - 'scripts/build.sh: add opentelemetry-configurationandopentelemetry-proto-json` to the package to release (#5425)
    - opentelemetry-sdk: fix View instrument-name matching so a view configured with an instrument's real (mixed-case) name is applied;
      matching is now case-insensitive and platform-independent instead of relying on fnmatch's OS-dependent case handling (#5430)
    - opentelemetry-sdk: fix missing f-prefix in exponential histogram error messages (#5434)
    - opentelemetry-configuration: resolve false-positive warning logs for newer schema minor version (#5436)
    - opentelemetry-sdk: make methods on FixedSizeExemplarReservoirABC thread safe (#5437)
    - opentelemetry-propagator-jaeger: fix typing issues and enable pyright typechecking for the package opentelemetry-propagator-jaeger:
      skip uberctx- baggage headers with an empty value on extraction instead of raising TypeError (#5440)
    - opentelemetry-sdk: fix TypeError when instantiating a _BaseConfigurator subclass whose __init__ takes arguments (#5441)
    - opentelemetry-sdk: fix TypeError in os.fork() when a BatchProcessor or PeriodicExportingMetricReader is garbage collected (#5453)
    - opentelemetry-configuration: a declarative config key present with an empty (null) value on an object-typed node (e.g. always_on:,
      a - service: detector, or a metric console: exporter) is now treated the same as an explicit empty config (always_on: {})
      instead of failing type dispatch or silently skipping the node. Both dict-typed nodes and dataclasses constructible with no arguments are covered. (#5454)
    - opentelemetry-api: fix copy-pasted log message in SpanContext.__delattr__ (#5455)
    - opentelemetry-sdk: reject views with ExponentialBucketHistogramAggregation for asynchronous instruments instead of silently producing no data (#5461)
    - opentelemetry-sdk: fill every bucket of SimpleFixedSizeExemplarReservoir before random sampling (#5462)
    - opentelemetry-sdk: Import code_attributes from stable semconv package (#5465)
    - `opentelemetry-...
- Changes from 1.44.0
  * Added
    - opentelemetry-docker-tests: Refactor Docker tests to properly validate contents of exported telemetry (#5220)
    - opentelemetry-exporter-otlp-common: add shared package for common OTLP utilities (#5252)
    - opentelemetry-sdk: add MissingDependencyError exception for declarative configuration and use it for missing optional dependency errors (#5265)
    - opentelemetry-sdk: Add ability to refresh process dependent Resource attributes (#5280)
    - opentelemetry-sdk: add force_flush method to LogRecordExporter ABC (#5294)
    - opentelemetry-sdk: Make it possible to limit the size of stored spans in InMemorySpanExporter (#5296)
    - opentelemetry-sdk: add log record limits environment variables OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT and OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT (#5300)
    - opentelemetry-sdk: add support for file exporter with declarative config (#5311)
    - opentelemetry-sdk: expose SynchronousMultiLogRecordProcessor and ConcurrentMultiLogRecordProcessor publicly (#5327)
    - opentelemetry-sdk: point the declarative configuration package README at the shared language support status matrix in the opentelemetry-configuration repo,
    so Python conformance status lives alongside the other languages instead of being duplicated per language SDK. (#5347)
    - opentelemetry-sdk: document that Python-implementation extensions (OTEL_PYTHON_* variables) are bypassed when OTEL_CONFIG_FILE is set.
      The env-var initialisation path is skipped entirely in favour of the declarative file;
      honouring these alongside a config file is tracked as a follow-up. (#5353)
    - opentelemetry-sdk: wire id_generator from declarative configuration to TracerProvider (#5363)
    - opentelemetry-sdk: Add support for activating instrumentors from a declarative configuration file via the instrumentation/development.python section.
      Instrumentors can declare a configuration attribute to have their options validated through the same type-coercion pipeline used for SDK component configuration. (#5372)
    - opentelemetry-sdk: add record_min_max option to ExponentialBucketHistogramAggregation, matching the option
      already available on ExplicitBucketHistogramAggregation and required by the specification (#5377)
  * Changed
    - opentelemetry-sdk: revert BoundedAttributes RLock back to Lock (#5329)
    - docs: update logs example to use opentelemetry-instrumentation-logging (#5344)
    - opentelemetry-sdk: bump declarative configuration schema to v1.1.0 (#5345)
    - opentelemetry-configuration: declarative configuration moves from opentelemetry.sdk._configuration into
      the new public opentelemetry-configuration package (opentelemetry.configuration namespace), published experimentally.
      opentelemetry-sdk[file-configuration] continues to work as an alias that installs opentelemetry-configuration alongside the SDK. (#5356)
    - opentelemetry-api: remove env carrier environment snapshot caching, you now have to pass explicitly the mapping
      where to get the environment variables from as the EnvironmentGetter.get first argument. (#5366)
    - opentelemetry-semantic-conventions: bump to 1.42.0 (#5410)
    - opentelemetry-semantic-conventions: bump to 1.43.0 (#5413)
  * Removed
    - opentelemetry-api, opentelemetry-sdk: Removed deprecated Events API/SDK. Use LogRecord with the event_name field set instead. (#5293)
  * Fixed
    - opentelemetry-sdk: Optimize LogRecord memory in BatchLogRecordProcessor by clearing the Context object before buffering.
      This is a potentially breaking change for custom log exporters that access context from the exported ReadableLogRecord,
      as the context will now be an empty Context() instead of the original. (#4977)
    - opentelemetry-sdk: drop non-finite measurements (NaN and Inf) at the instrument level to prevent permanent aggregation poisoning (#5336)
    - opentelemetry-sdk: raise ValueError when ExplicitBucketHistogramAggregation boundaries are not strictly increasing or finite (#5340)
    - opentelemetry-sdk: ProcessResourceDetector no longer collects or emits process.command_args and process.command_line
      by default since the values are not sanitized and may contain sensitive information.
      Users who depend on these resource attributes must pass include_command_args=True. (#5364)
    - opentelemetry-exporter-otlp-proto-http: fix the OTLP HTTP metric exporter self-observability metrics over-counting data points
      when max_export_batch_size splits a batch; each split now reports its own data-point count instead of the whole-batch count. (#5370)
    - opentelemetry-api: Prevent in-place mutation of Context via inherited dict methods (#5399)

-------------------------------------------------------------------
Sun Jul  5 10:00:18 UTC 2026 - Dirk Müller <dmueller@suse.com>

- update to 1.43.0:
  * ### Added
  * `opentelemetry-sdk`: add `add_metric_reader` /
    `remove_metric_reader` public APIs to register / unregister
    metric readers at runtime.
  * `opentelemetry-exporter-prometheus`: add support for
    configuring metric scope labels
  * `opentelemetry-exporter-otlp-proto-grpc`: Add grpc error
    details to the log message that's written when the grpc call
    fails.
  * `opentelemetry-exporter-http-transport`: add 'opentelemetry-
    exporter-http-transport' package for HTTP exporters
  * `opentelemetry-sdk`: Add `composite/development` samplers
    support to declarative file configuration
  * `opentelemetry-exporter-otlp-json-file`: Add OTLP JSON File
    exporter implementation
  * `opentelemetry-sdk`: add `_resolve_component` shared utility
    for declarative config plugin loading, reducing boilerplate
    in exporter factory functions
  * `opentelemetry-sdk`: add pull metric reader support to
    declarative file configuration, including Prometheus metric
    reader via the `prometheus_development` config field
  * `opentelemetry-proto-json`: update to use opentelemetry-proto
    v1.10.0
  * `opentelemetry-proto`: bump maximum supported protobuf
    version to 7.x.x
  * `opentelemetry-sdk`: add `ServiceInstanceIdResourceDetector`
    for populating `service.instance.id`
  * `opentelemetry-sdk`: declarative config loader now
    recursively converts parsed dicts into typed dataclass
    instances, including nested dataclasses, lists of
    dataclasses, and enum values. End-to-end YAML/JSON → SDK
    configuration now works via the factory functions.
  * `opentelemetry-sdk`: add `configure_sdk(config)` to the
    declarative configuration API. Single entry point that takes
    a parsed `OpenTelemetryConfiguration`, builds the resource,
    and applies the tracer/meter/logger providers and propagator
    globally. Honors the top-level `disabled` flag.
  * `opentelemetry-sdk`: the SDK configurator now honors the
    `OTEL_CONFIG_FILE` environment variable. When set, the SDK
    loads and applies the referenced declarative configuration
    file (YAML or JSON) in place of the env-var-based init path.
  * `opentelemetry-sdk`: update declarative config to use
    `ServiceInstanceIdResourceDetector`
  * `opentelemetry-exporter-otlp-proto-common`, `opentelemetry-
    exporter-otlp-json-common`: encoders now always accept null,
    and encode it as an empty `AnyValue` in accordance with the
    spec.
  * `opentelemetry-sdk`: validate the declarative config
    `file_format` version — reject an unsupported major version
    and warn on a newer minor version, per the configuration spec
    versioning rules
  * `opentelemetry-exporter-http-transport`: enable entry-point
    loading of transport implementations
  * ### Changed
  * `opentelemetry-sdk`: introduce experimental entry points for
    OpAMP agent integration
  * `opentelemetry-api`: conditionally import entrypoints for
    `opentelemetry_context` only if the `OTEL_PYTHON_CONTEXT` env
    variable is defined, return `ContextVarsRuntimeContext`
    otherwise
  * `opentelemetry-sdk`: rename "known/unknown" to "built-
    in/user-defined" terminology in declarative config component
    loading code
  * `opentelemetry-proto`: regenerate protobuf code from
    opentelemetry-proto v1.10.0
  * `opentelemetry-sdk`: remove unnecessary `copy` in Span
    creation
  * opentelemetry-sdk: remove unnecessary dict in set_attribute
    method
  * `opentelemetry-sdk`: inline the method
    `_clean_attribute_value`
  * Remove typing aliases deprecated in python 3.9 and replace
    all usages of `typing.Union` and `typing.Optional` with `|`.
  * opentelemetry-sdk: remove generator in the accessor for
    links/events
  * opentelemetry-api: remove unnecessary copy in iterator
  * `opentelemetry-api`: update `EnvironmentGetter` to ignore
    non-normalized environment variable names
  * opentelemetry-sdk: update iterator for BoundedList
  * opentelemetry-sdk: reduce lock contention in attributes
  * opentelemetry-sdk: merge doesn't need a copy, dict already
    does this
  * `opentelemetry-api`: normalize empty environment propagation
    names to `_` in `EnvironmentSetter` and `EnvironmentGetter`
  * ### Fixed
  * Add missing `.rst` files to Sphinx documentation build for
    SDK logs, propagators, and exporter submodules.
  * Preserve the random trace ID flag when creating child spans
    instead of always setting the random trace id bit depending
    on the available trace id generator.
  * `opentelemetry-api`: fix SelectableGroups deprecation warning
  * `opentelemetry-sdk`: make
    `SynchronousMeasurementConsumer.consume_measurement` lock
    free to avoid deadlocks

-------------------------------------------------------------------
Tue Jun 16 09:57:08 UTC 2026 - Jordi Massaguer <jmassaguerpla@suse.com>

- update to 1.42.1:
  * Preserve the random trace ID flag when creating child spans
    instead of always setting the random trace id bit depending on
    the available trace id generator. (#5241)

- update to 1.42.0:
* opentelemetry-api, opentelemetry-sdk: add support
    for 'random-trace-id' flags in W3C traceparent
    header trace flags. Implementations of IdGenerator
    that do randomly generate the 56 least significant
    bits, should also implement a is_trace_id_random
    methods that returns True. (#4854)
  * logs: add exception support to Logger emit and
    LogRecord attributes (#4908)
  * opentelemetry-exporter-otlp-proto-grpc: make
    retryable gRPC error codes configurable for gRPC
    exporters (#4917)
  * opentelemetry-sdk: Add create_logger_provider/
    configure_logger_provider to declarative file
    configuration, enabling LoggerProvider instantiation
    from config files without reading env vars (#4990)
  * opentelemetry-exporter-otlp-json-common: add
    'opentelemetry-exporter-otlp-json-common' package
    for OTLP JSON exporters (#4996)
  * opentelemetry-sdk: Add service resource detector
    support to declarative file configuration via
    detection_development.detectors[].service (#5003)
  * opentelemetry-docker-tests: add docker-tests
    coverage of opentelemetry-exporter-otlp-proto-grpc
    and opentelemetry-exporter-otlp-proto-http metrics
    export (#5030)
  * Add registry keyword argument to PrometheusMetricReader
    to allow passing a custom Prometheus registry (#5055)
  * Add WeaverLiveCheck test util (#5088)
  * opentelemetry-sdk: add load_entry_point shared
    utility to declarative file configuration for loading
    plugins via entry points; refactor propagator loading
    to use it (#5093)
  * opentelemetry-sdk: add sampler plugin loading to
    declarative file configuration via the
    opentelemetry_sampler entry point group, matching
    the spec's PluginComponentProvider mechanism (#5095)
  * opentelemetry-sdk: add propagator plugin loading to
    declarative file configuration via the
    opentelemetry_propagator entry point group, matching
    the spec's PluginComponentProvider mechanism (#5098)
  * opentelemetry-sdk: add exporter plugin loading to
    declarative file configuration for all three signals
    (traces, metrics, logs) via the opentelemetry_*_exporter
    entry point groups, matching the spec's
    PluginComponentProvider mechanism (#5128)
  * opentelemetry-sdk: add generic resource detector
    plugin loading to declarative file configuration via
    the opentelemetry_resource_detector entry point
    group, matching the spec's PluginComponentProvider
    mechanism (#5129)
  * opentelemetry-sdk: add additional_properties support
    to generated config models via custom datamodel-codegen
    template, enabling plugin/custom component names to
    flow through typed dataclasses (#5131)
  * Add ability to selectively enable exporting of SDK
    internal metrics with the
    OTEL_PYTHON_SDK_INTERNAL_METRICS_ENABLED environment
    variable. (#5151)
  * opentelemetry-semantic-conventions: use X | Y union
    annotation (#5096)
  * opentelemetry-api: update EnvironmentGetter and
    EnvironmentSetter to use normalized environment
    variable names (#5119)
  * Apply fixes for UP ruff rule (#5133)
  * opentelemetry-sdk: only load entrypoints for resource
    detectors if they are configured via
    OTEL_EXPERIMENTAL_RESOURCE_DETECTORS (#5145)
  * ci: wait for tracecontext server readiness instead
    of a fixed sleep in
    scripts/tracecontext-integration-test.sh (#5149)
  * Switch to SPDX license headers and add CI
    enforcement (#5177)
  * opentelemetry-semantic-conventions: Bump semantic
    conventions to 1.41.1, this changes the metrics
    name of K8S_CONTAINER_CPU_LIMIT_UTILIZATION and
    K8S_CONTAINER_CPU_REQUEST_UTILIZATION. (#5200)
  * opentelemetry-api: remove third-party
    importlib-metadata in favor of standard library
    since Python >= 3.10 is now required (#3234)
    Drop Python 3.9 support (#5076)
  * opentelemetry-sdk: Allow declarative OTLP HTTP
    exporters to map compression: deflate instead of
    rejecting it as unsupported. (#5075)
  * Fix incorrect code example in create_tracer()
    docstring (#5077)
  * opentelemetry-sdk: Fix ProcessResourceDetector to
    use sys.orig_argv so that process.command,
    process.command_line, and process.command_args reflect
    the original invocation for python -m <module> runs
    (where sys.argv[0] is rewritten to the module path)
    (#508)

-------------------------------------------------------------------
Sat Apr 25 08:11:23 UTC 2026 - Dirk Müller <dmueller@suse.com>

- update to 1.41.1:
  * This is a patch release on the previous 1.41.0/0.62b0
    release

-------------------------------------------------------------------
Sun Apr 12 16:22:06 UTC 2026 - Dirk Müller <dmueller@suse.com>

- update to 1.41.0:
  * `opentelemetry-sdk`: Add `host` resource detector support to
    declarative file configuration via
    `detection_development.detectors[].host`
  * `opentelemetry-sdk`: Add `container` resource detector
    support to declarative file configuration via
    `detection_development.detectors[].container`, using entry
    point loading of the `opentelemetry-resource-detector-
    containerid` contrib package
  * `opentelemetry-sdk`: Add
    `create_tracer_provider`/`configure_tracer_provider` to
    declarative file configuration, enabling TracerProvider
    instantiation from config files without reading env vars
  * Enabled the flake8-tidy-import plugins rules for the ruff
    linter. These rules throw warnings for relative imports in
    the modules.
  * `opentelemetry-sdk`: Fix `AttributeError` in
    `ExplicitBucketHistogramAggregation` when applied to non-
    Histogram instruments without explicit boundaries
  * Fix `BatchLogRecordProcessor` default `schedule_delay_millis`
    from 5000ms to 1000ms to comply with the OTel specification.
    Note: logs may be exported 5x more frequently by default
    (e.g. for users who don't explicitly set the
    `OTEL_BLRP_SCHEDULE_DELAY` env var).
  * `opentelemetry-sdk`: Add `process` resource detector support
    to declarative file configuration via
    `detection_development.detectors[].process`
  * `opentelemetry-sdk`: Add shared `_parse_headers` helper for
    declarative config OTLP exporters
  * `opentelemetry-api`: Replace a broad exception in attribute
    cleaning tests to satisfy pylint in the `lint-opentelemetry-
    api` CI job
  * `opentelemetry-sdk`: Add
    `create_meter_provider`/`configure_meter_provider` to
    declarative file configuration, enabling MeterProvider
    instantiation from config files without reading env vars
  * `opentelemetry-sdk`: Add `create_resource` and
    `create_propagator`/`configure_propagator` to declarative
    file configuration, enabling Resource and propagator
    instantiation from config files without reading env vars
  * `opentelemetry-sdk`: Map Python `CRITICAL` log level to OTel
    `FATAL` severity text per the specification
  * `opentelemetry-sdk`: Add file configuration support with
    YAML/JSON loading, environment variable substitution, and
    schema validation against the vendored OTel config JSON
    schema
  * Fix intermittent CI failures in `getting-started` and
    `tracecontext` jobs caused by GitHub git CDN SHA propagation
    lag by installing contrib packages from the already-checked-
    out local copy instead of a second git clone
  * `opentelemetry-sdk`: fix type annotations on `MetricReader`
    and related types
  * `opentelemetry-sdk`: implement log creation metric
  * `opentelemetry-sdk`: implement metric reader metrics
  * `opentelemetry-sdk`: implement processor metrics
  * `opentelemetry-sdk`: upgrade vendored OTel configuration
    schema from v1.0.0-rc.3 to v1.0.0
  * improve check-links ci job
  * Resolve some Pyright type errors in Span/ReadableSpan and
    utility stubs
  * `opentelemetry-exporter-prometheus`: Fix metric name prefix
  * `opentelemetry-api`, `opentelemetry-sdk`: Add deepcopy
    support for `BoundedAttributes` and `BoundedList`
  * `opentelemetry-proto-json`, `opentelemetry-codegen-json`:
    Implement custom protoc plugin to generate OTLP JSON class
    definitions
  * Add configurable `max_export_batch_size` to OTLP HTTP metrics
    exporter
  * `opentelemetry-sdk`: Implement experimental Meter
    configurator
  * `opentelemetry-exporter-otlp-proto-http`: use consistent
    protobuf for export request
  * `opentelemetry-sdk`: cache TracerConfig into the tracer, this
    changes an internal interface. Only one Tracer with the same
    instrumentation scope will be created
  * Redo OTLPMetricExporter unit tests of `max_export_batch_size`
    to use real `export`
  * `opentelemetry-sdk`: Implement experimental Logger
    configurator

-------------------------------------------------------------------
Mon Mar 23 22:08:22 UTC 2026 - Dirk Müller <dmueller@suse.com>

- update to 1.40.0:
  * bump semantic-conventions to v1.40.0
  * Add stale PR GitHub Action
  * Allow loading all resource detectors by setting
    `OTEL_EXPERIMENTAL_RESOURCE_DETECTORS` to `*`
  * Regenerate opentelemetry-proto code with v1.9.0 release
  * Add python 3.14 support
  * Silence events API warnings for internal users
  * opentelemetry-sdk: make it possible to override the default
    processors in the SDK configurator
  * Prevent possible endless recursion from happening in
    `SimpleLogRecordProcessor.on_emit`, (#4799) and (#4867).
  * Implement span start/end metrics
  * Add environment variable carriers to API
  * Add experimental composable rule based sampler
  * Make ConcurrentMultiSpanProcessor fork safe

-------------------------------------------------------------------
Sun Dec 28 15:14:41 UTC 2025 - Dirk Müller <dmueller@suse.com>

- update to 1.39.1:
  * Silence events API warnings for internal users

-------------------------------------------------------------------
Sat Dec 13 11:31:06 UTC 2025 - Dirk Müller <dmueller@suse.com>

- 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
  * Fix type checking for built-in metric exporters

-------------------------------------------------------------------
Mon Nov 17 21:30:09 UTC 2025 - Dirk Müller <dmueller@suse.com>

- 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

-------------------------------------------------------------------
Sun Sep 21 14:52:54 UTC 2025 - Dirk Müller <dmueller@suse.com>

- 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
    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).
- update to 1.35.0:
  * Update OTLP proto to v1.7 #4645.
  * Add `event_name` as a top level field in the `LogRecord`.
    Events are now simply logs with the `event_name` field set,
    the logs SDK should be used to emit events (#4652).
  * Update OTLP gRPC/HTTP exporters: the export timeout is now
    inclusive of all retries and backoffs. A +/-20% jitter was
    added to all backoffs. A pointless 32 second sleep that
    occurred after all retries had completed/failed was removed.
    (#4564).
  * Update ConsoleLogExporter.export to handle LogRecord's
    containing bytes type in the body (#4614).
  * opentelemetry-sdk: Fix invalid `type: ignore` that causes
    mypy to ignore the whole file
  * Add `span_exporter` property back to `BatchSpanProcessor`
    class
  * Fix license field in pyproject.toml files
  * Update logger level to NOTSET in logs example
  * Logging API accepts optional `context`; deprecates
    `trace_id`, `span_id`, `trace_flags`. (#4597) and
  * sdk: use context instead of trace_id,span_id for initializing
    LogRecord
  * Rename LogRecordProcessor.emit to on_emit
  * Logging API hide std_to_otel function to convert python
    logging severity to otel severity
  * proto: relax protobuf version requirement to support v6
  * Bump semantic-conventions to 1.36.0
  * Set expected User-Agent in HTTP headers for grpc OTLP
    exporter
- update to 1.34.1:
  * opentelemetry-sdk: Fix invalid `type: ignore` that causes
    mypy to ignore the whole file
  * Add `span_exporter` property back to `BatchSpanProcessor`
    class
- update to 1.34.0:
  * typecheck: add sdk/resources and drop mypy
  * Refactor `BatchLogRecordProcessor` to simplify code and make
    the control flow more clear (#4562 and #4535).
  * Use PEP702 for marking deprecations
  * Refactor `BatchLogRecordProcessor` and `BatchSpanProcessor`
    to simplify code and make the control flow more clear (#4562
    #4535, and #4580).
  * Remove log messages from `BatchLogRecordProcessor.emit`, this
    caused the program to crash at shutdown with a max recursion
    error (#4586).
  * Configurable max retry timeout for grpc exporter
  * opentelemetry-api: allow importlib-metadata 8.7.0
  * opentelemetry-test-utils: assert explicit bucket boundaries
    in histogram metrics
  * Bump semantic conventions to 1.34.0
  * Drop support for Python 3.8

-------------------------------------------------------------------
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>

- Update to 1.27.0
  * Implementation of Events API (#4054)
  * Make log sdk add `exception.message` to logRecord for exceptions whose argument
    is an exception not a string message (#4122)
  * Fix use of `link.attributes.dropped`, which may not exist (#4119)
  * Running mypy on SDK resources (#4053)
  * Added py.typed file to top-level module (#4084)
  * Drop Final annotation from Enum in semantic conventions (#4085)
  * Update log export example to not use root logger (#4090)
  * sdk: Add OS resource detector (#3992)
  * sdk: Accept non URL-encoded headers in `OTEL_EXPORTER_OTLP_*HEADERS`
    to match other languages SDKs (#4103)
  * Update semantic conventions to version 1.27.0 (#4104)
  * Add support to type bytes for OTLP AnyValue (#4128)
  * Export ExponentialHistogram and ExponentialHistogramDataPoint (#4134)
  * Implement Client Key and Certificate File Support for All OTLP Exporters (#4116)
  * Remove `_start_time_unix_nano` attribute from `_ViewInstrumentMatch` in favor
    of using `time_ns()` at the moment when the aggregation object is created (#4137)
- from version 1.26.0
  * Standardizing timeout calculation in measurement consumer collect to nanoseconds (#4074)
  * Optional scope attributes for logger creation (#4035)
  * Optional scope attribute for tracer creation (#4028)
  * OTLP exporter is encoding invalid span/trace IDs in the logs fix (#4006)
  * Update sdk process resource detector `process.command_args` attribute
    to also include the executable itself (#4032)
  * Fix `start_time_unix_nano` for delta collection for explicit bucket
    histogram aggregation (#4009)
  * Fix `start_time_unix_nano` for delta collection for sum aggregation (#4011)
  * Update opentracing and opencesus docs examples to not use JaegerExporter (#4023)
  * Do not execute Flask Tests in debug mode (#3956)
  * When encountering an error encoding metric attributes in the OTLP exporter,
    log the key that had an error. (#3838)
  * Fix `ExponentialHistogramAggregation` (#3978)
  * Log a warning when a `LogRecord` in `sdk/log` has dropped attributes
    due to reaching limits (#3946)
  * Fix RandomIdGenerator can generate invalid Span/Trace Ids (#3949)
  * Add Python 3.12 to tox (#3616)
  * Improve resource field structure for LogRecords (#3972)
  * Update Semantic Conventions code generation scripts:
    + Fix namespace exclusion that resulted in dropping  `os` and `net` namespaces.
    + Add `Final` decorator to constants to prevent collisions
    + Enable mypy and fix detected issues
    + Allow to drop specific attributes in preparation for Semantic Conventions v1.26.0 (#3973)
  * Update semantic conventions to version 1.26.0. (#3964)
  * Use semconv exception attributes for record exceptions in spans (#3979)
  * Fix _encode_events assumes events.attributes.dropped exists (#3965)
  * Validate links at span creation (#3991)
  * Add attributes field in  `MeterProvider.get_meter` and `InstrumentationScope` (#4015)
  * Fix inaccessible `SCHEMA_URL` constants in `opentelemetry-semantic-conventions` (#4069)
- Add python-opentelemetry-test-utils to BuildRequires
- Enable all previously disabled tests in %check section
- Split off tests into separate -test package to avoid circular
  build dependency with python-opentelemetry-test-utils

-------------------------------------------------------------------
Mon Jun 17 11:41:56 UTC 2024 - Dirk Müller <dmueller@suse.com>

- 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.

-------------------------------------------------------------------
Wed Apr  3 08:04:29 UTC 2024 - Dirk Müller <dmueller@suse.com>

- 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

-------------------------------------------------------------------
Sat Mar 23 21:32:36 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>

- 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)

-------------------------------------------------------------------
Wed Dec 27 11:03:31 UTC 2023 - Dirk Müller <dmueller@suse.com>

- 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)

-------------------------------------------------------------------
Sun Dec 10 21:48:52 UTC 2023 - Dirk Müller <dmueller@suse.com>

- 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
    instrumentation (#3181)
  * Fix exporting of ExponentialBucketHistogramAggregation from
    opentelemetry.sdk.metrics.view (#3240)
  * Fix headers types mismatch for OTLP Exporters (#3226)
  * Fix suppress instrumentation for log batch processor (#3223)
  * Add speced out environment variables and arguments for
    BatchLogRecordProcessor (#3237)

-------------------------------------------------------------------
Thu May 11 16:49:48 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

- 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

-------------------------------------------------------------------
Fri Apr 21 12:28:45 UTC 2023 - Dirk Müller <dmueller@suse.com>

- add sle15_python_module_pythons (jsc#PED-68)

-------------------------------------------------------------------
Thu Apr 13 22:42:47 UTC 2023 - Matej Cepl <mcepl@suse.com>

- Make calling of %{sle15modernpython} optional.

-------------------------------------------------------------------
Sun Jan 16 20:23:52 UTC 2022 - Ben Greiner <code@bnavigator.de>

- Remove obsolete but unresolvable python36 requirement

-------------------------------------------------------------------
Thu Nov  4 10:15:19 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- 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
      status already had `StatusCode.OK`. (#1902)
    - Attributes for `Link` and `Resource` are immutable as they are for `Event`, which
      means any attempt to modify attributes directly will result in a `TypeError` exception.
      (#1909)
    - Added `BoundedAttributes` to the API to make it available for `Link` which is defined
      in the API. Marked `BoundedDict` in the SDK as deprecated as a result. (#1915)
    - Fix OTLP SpanExporter to distinguish spans based off Resource and InstrumentationInfo
      (#1927)
    - Updating dependency for opentelemetry api/sdk packages to support major version
      instead of pinning to specific versions. (#1933)
    - `opentelemetry-semantic-conventions` Generate semconv constants update for OTel
       Spec 1.5.0 (#1946)
  + Fixed
    - Updated `opentelementry-opentracing-shim` `ScopeShim` to report exceptions in
      opentelemetry specification format, rather than opentracing spec format. (#1878)
- from version 1.3.0
  + Added
    - Allow span limits to be set programatically via TracerProvider. (#1877)
    - Added support for CreateKey functionality. (#1853)
  + Changed
    - Updated get_tracer to return an empty string when passed an invalid name (#1854)
    - Changed AttributeValue sequences to warn mypy users on adding None values to array
      (#1855)
    - Fixed exporter OTLP header parsing to match baggage header formatting. (#1869)
    - Added optional `schema_url` field to `Resource` class (#1871)
    - Update protos to latest version release 0.9.0 (#1873)
- from version 1.2.0
  + Added
    - Added example for running Django with auto instrumentation. (#1803)
    - Added `B3SingleFormat` and `B3MultiFormat` propagators to the
      `opentelemetry-propagator-b3` package. (#1823)
    - Added support for OTEL_SERVICE_NAME. (#1829)
    - Lazily read/configure limits and allow limits to be unset. (#1839)
    - Added support for OTEL_EXPORTER_JAEGER_TIMEOUT (#1863)
  + Changed
    - Fixed OTLP gRPC exporter silently failing if scheme is not specified
      in endpoint. (#1806)
    - Rename CompositeHTTPPropagator to CompositePropagator as per specification.
      (#1807)
    - Propagators use the root context as default for `extract` and do not modify
      the context if extracting from carrier does not work. (#1811)
    - Fixed `b3` propagator entrypoint to point to `B3SingleFormat` propagator.
      (#1823)
    - Added `b3multi` propagator entrypoint to point to `B3MultiFormat` propagator.
      (#1823)
    - Improve warning when failing to decode byte attribute (#1810)
    - Fixed inconsistency in parent_id formatting from the ConsoleSpanExporter
      (#1833)
    - Include span parent in Jaeger gRPC export as `CHILD_OF` reference (#1809)
    - Fixed sequence values in OTLP exporter not translating (#1818)
    - Update transient errors retry timeout and retryable status codes (#1842)
    - Apply validation of attributes to `Resource`, move attribute related logic
      to separate package. (#1834)
    - Fix start span behavior when excess links and attributes are included (#1856)
  +  Removed
     - Moved `opentelemetry-instrumentation` to contrib repository. (#1797)

-------------------------------------------------------------------
Fri May  7 13:44:36 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- 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
    prefixed with opentelemetry-ext-
  + Added
    - Document how to work with fork process web server models(Gunicorn, uWSGI etc...)
      (#1609)
    - Add max_attr_value_length support to Jaeger exporter (#1633)
    - Moved use_span from Tracer to opentelemetry.trace.use_span. (#1668)
    - opentelemetry.trace.use_span() will now overwrite previously set status on span
      in case an exception is raised inside the context manager and set_status_on_exception
      is set to True. (#1668)
    - Add udp_split_oversized_batches support to jaeger exporter (#1500)
  + Changed
    - remove service_name from constructor of jaeger and opencensus exporters and
      use of env variable OTEL_PYTHON_SERVICE_NAME ([#1669])(#1669)
    - Rename IdsGenerator to IdGenerator (#1651)
    - Make TracerProvider's resource attribute private (#1652)
    - Rename Resource's create_empty to get_empty (#1653)
    - Renamed BatchExportSpanProcessor to BatchSpanProcessor and SimpleExportSpanProcessor
      to SimpleSpanProcessor (#1656)
    - Rename DefaultSpan to NonRecordingSpan (#1661)
    - Fixed distro configuration with OTEL_TRACES_EXPORTER env var set to otlp (#1657)
    - Moving Getter, Setter and TextMapPropagator out of opentelemetry.trace.propagation
      and into opentelemetry.propagators (#1662)
    - Rename BaggagePropagator to W3CBaggagePropagator (#1663)
    - Rename JaegerSpanExporter to JaegerExporter and rename ZipkinSpanExporter to
      ZipkinExporter (#1664)
    - Expose StatusCode from the opentelemetry.trace module (#1681)
    - Status now only sets description when status_code is set to StatusCode.ERROR (#1673)
    - Update OTLP exporter to use OTLP proto 0.7.0 (#1674)
    - Remove time_ns from API and add a warning for older versions of Python (#1602)
    - Hide implementation classes/variables in api/sdk (#1684)
    - Cleanup OTLP exporter compression options, add tests (#1671)
    - Initial documentation for environment variables (#1680)
    - Change Zipkin exporter to obtain service.name from span (#1696)
    - Split up opentelemetry-exporter-jaeger package into opentelemetry-exporter-jaeger-proto-grpc
      and opentelemetry-exporter-jaeger-thrift packages to reduce dependencies for each one. (#1694)
    - Added opentelemetry-exporter-otlp-proto-grpc and changed opentelemetry-exporter-otlp to
      install it as a dependency. This will allow for the next package/protocol to also be in
      its own package. (#1695)
    - Change Jaeger exporters to obtain service.name from span (#1703)
    - Fixed an unset OTEL_TRACES_EXPORTER resulting in an error (#1707)
    - Split Zipkin exporter into opentelemetry-exporter-zipkin-json and opentelemetry-exporter-zipkin-
      proto-http packages to reduce dependencies. The opentelemetry-exporter-zipkin installs both. (#1699)
    - Make setters and getters optional (#1690)
  + Removed
    - Removed unused get_hexadecimal_trace_id and get_hexadecimal_span_id methods. (#1675)
    - Remove OTEL_EXPORTER_*_ INSECURE env var (#1682)
    - Removing support for Python 3.5 (#1706)
- from version 0.19b0
  + Changed
    - remove service_name from constructor of jaeger and opencensus exporters and
      use of env variable OTEL_PYTHON_SERVICE_NAME ([#1669])(#1669)
    - Rename IdsGenerator to IdGenerator (#1651)
  + Removed
    - Removing support for Python 3.5 (#1706)
- from version 0.18b0
  + Release only affects Opentelemetry components listed below:
    - opentelemetry-distro
    - opentelemetry-exporter-opencensus
    - opentelemetry-instrumentation
    - opentelemetry-opentracing-shim
  + Added
    - Add urllib to opentelemetry-bootstrap target list ([#1584])(#1584)
- from version 1.0.0rc1
  + Release only affects core Opentelemetry components listed below:
    - opentelemetry-api
    - opentelemetry-sdk
    - opentelemetry-exporter-otlp
    - opentelemetry-exporter-jaeger
    - opentelemetry-exporter-zipkin
    - opentelemetry-proto
    - opentelemetry-propagator-b3
    - opentelemetry-propagator-jaeger
   + Changed
    - Tracer and Meter provider environment variables are now consistent with the rest (#1571])
    - Rename TRACE_ to TRACES_ for environment variables (#1595])
    - Read-only Span attributes have been moved to ReadableSpan class (#1560)
  + Added
    - Added end_on_exit argument to start_as_current_span (#1519])
    - Add Span.set_attributes method to set multiple values with one call (#1520)
    - Make sure Resources follow semantic conventions (#1480)
    - Allow missing carrier headers to continue without raising AttributeError (#1545)
  + Removed
    - Remove Configuration (#1523)
    - Remove Metrics as part of stable, marked as experimental (#1568)

-------------------------------------------------------------------
Fri Jan 22 13:40:17 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

- 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)

-------------------------------------------------------------------
Fri Jan 22 11:39:19 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- 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
    string, which was incorrect. (#1507)
  - `opentelemetry-exporter-jaeger` Updated Jaeger exporter status code tag (#1488)
  - `opentelemetry-api` `opentelemety-sdk` Moved `idsgenerator` into sdk (#1514)
  - `opentelemetry-sdk` The B3Format propagator has been moved into its own package:
    `opentelemetry-propagator-b3` (#1513)
  - Update default port for OTLP exporter from 55680 to 4317 (#1516)
  - `opentelemetry-exporter-zipkin` Update boolean attribute value transformation (#1509)
  - Move opentelemetry-opentracing-shim out of instrumentation folder (#1533)
  - `opentelemetry-sdk` The JaegerPropagator has been moved into its own package:
    `opentelemetry-propagator-jaeger` (#1525)
  - `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin` Update
    InstrumentationInfo tag keys for Jaeger and Zipkin exporters (#1535)
  - `opentelemetry-sdk` Remove rate property setter from TraceIdRatioBasedSampler (#1536)
  - Fix TraceState to adhere to specs (#1502)
  + Removed
  - `opentelemetry-api` Remove ThreadLocalRuntimeContext since python3.4 is not supported.
- from version 0.16b1
  + Added
    - Add meter reference to observers (#1425)
- from version 0.16b0
  + Added
    - Add optional parameter to `record_exception` method (#1314)
    - Add pickle support to SpanContext class (#1380)
    - Add instrumentation library name and version to OTLP exported metrics (#1418)
    - Add Gzip compression for exporter (#1141)
    - Support for v2 api protobuf format (#1318)
    - Add IDs Generator as Configurable Property of Auto Instrumentation (#1404)
    - Added support for `OTEL_EXPORTER` to the `opentelemetry-instrument` command
      (#1036)
  + Changed
    - Change temporality for Counter and UpDownCounter (#1384)
    - OTLP exporter: Handle error case when no credentials supplied (#1366)
    - Update protobuf versions (#1356)
    - Add missing references to instrumented packages (#1416)
    - Instrumentation Package depends on the OTel SDK (#1405)
    - Allow samplers to modify tracestate (#1319)
    - Update exception handling optional parameters, add escaped attribute to record_exception
      (#1365)
    - Rename `MetricRecord` to `ExportRecord` (#1367)
    - Rename `Record` to `Accumulation` (#1373)
    - Rename `Meter` to `Accumulator (#1372)
    - Fix `ParentBased` sampler for implicit parent spans. Fix also `trace_state`
      erasure for dropped spans or spans sampled by the `TraceIdRatioBased` sampler.
      (#1394)
- See upstream CHANGELOG.md for the changes from 0.7b1 to 0.15b0
  + https://raw.githubusercontent.com/open-telemetry/opentelemetry-python/master/CHANGELOG.md
- Drop tests.tar.bz2 tarball as tests are included in the upstream source now

-------------------------------------------------------------------
Wed Apr 15 14:03:21 UTC 2020 - pgajdos@suse.com

- 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)

-------------------------------------------------------------------
Fri Mar 27 14:01:45 UTC 2020 - pgajdos@suse.com

- version update to 0.5b0
  * W3C Correlation Context Propagation
  * OpenTelemetry Collector Exporter Integration for both metrics and traces
  * Metrics SDK
  * Global configuration module

-------------------------------------------------------------------
Tue Mar 10 14:43:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

- Update to 0.4a1:
  * various minor tweaks

-------------------------------------------------------------------
Sat Feb 22 15:59:29 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Initial build
  + Version 0.4a0
