mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
python3Packages.opentelemetry-exporter-otlp-proto-http: init at 1.18.0
This commit is contained in:
parent
bcc7954874
commit
a08fd23edf
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, backoff
|
||||
, googleapis-common-protos
|
||||
, hatchling
|
||||
, opentelemetry-exporter-otlp-proto-common
|
||||
, opentelemetry-test-utils
|
||||
, requests
|
||||
, responses
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-otlp-proto-http";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r4jvIhRM9E4CuZyS/XvvYO+F9cPxip8ab57CUfip47Q=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backoff
|
||||
googleapis-common-protos
|
||||
opentelemetry-exporter-otlp-proto-common
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.http" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http";
|
||||
description = "OpenTelemetry Collector Protobuf over HTTP Exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -7100,6 +7100,8 @@ self: super: with self; {
|
||||
|
||||
opentelemetry-exporter-otlp-proto-grpc = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-grpc { };
|
||||
|
||||
opentelemetry-exporter-otlp-proto-http = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-http { };
|
||||
|
||||
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