mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.opentelemetry-exporter-otlp-proto-grpc: init at 1.18.0
This commit is contained in:
parent
e3f3bc084b
commit
bcc7954874
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, backoff
|
||||
, googleapis-common-protos
|
||||
, grpcio
|
||||
, hatchling
|
||||
, opentelemetry-test-utils
|
||||
, opentelemetry-exporter-otlp-proto-common
|
||||
, pytest-grpc
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-otlp-proto-grpc";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-feAmPL/G3ABIY5tBODlMJIBzxqg6Bl7imJB2EYtEp2o=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backoff
|
||||
googleapis-common-protos
|
||||
grpcio
|
||||
opentelemetry-exporter-otlp-proto-common
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/performance/benchmarks/"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.grpc" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-grpc";
|
||||
description = "OpenTelemetry Collector Protobuf over gRPC Exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -7098,6 +7098,8 @@ self: super: with self; {
|
||||
|
||||
opentelemetry-exporter-otlp-proto-common = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-common { };
|
||||
|
||||
opentelemetry-exporter-otlp-proto-grpc = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-grpc { };
|
||||
|
||||
opentelemetry-exporter-prometheus = callPackage ../development/python-modules/opentelemetry-exporter-prometheus { };
|
||||
|
||||
opentelemetry-proto = callPackage ../development/python-modules/opentelemetry-proto { };
|
||||
|
Loading…
Reference in New Issue
Block a user