forked from pool/python-opentelemetry-api
- 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
61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package python-opentelemetry-api
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
%define skip_python2 1
|
|
Name: python-opentelemetry-api
|
|
Version: 0.17b0
|
|
Release: 0
|
|
Summary: OpenTelemetry Python API
|
|
License: Apache-2.0
|
|
URL: https://github.com/open-telemetry/opentelemetry-python/tree/master/opentelemetry-api
|
|
Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-api/opentelemetry-api-%{version}.tar.gz
|
|
BuildRequires: %{python_module aiocontextvars}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
Requires: python-setuptools
|
|
# SECTION test requirements
|
|
BuildRequires: %{python_module pytest}
|
|
# /SECTION
|
|
%python_subpackages
|
|
|
|
%description
|
|
OpenTelemetry Python API
|
|
|
|
%prep
|
|
%setup -q -n opentelemetry-api-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files %{python_files}
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|