mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python3Packages.opentelemetry-instrumentation-botocore: init at 0.47b0
This commit is contained in:
parent
31d7f267cd
commit
e740696edc
@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
hatchling,
|
||||
opentelemetry-api,
|
||||
opentelemetry-instrumentation,
|
||||
opentelemetry-semantic-conventions,
|
||||
botocore,
|
||||
moto,
|
||||
opentelemetry-test-utils,
|
||||
opentelemetry-propagator-aws-xray,
|
||||
pytestCheckHook,
|
||||
aws-xray-sdk,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit (opentelemetry-instrumentation) version src;
|
||||
pname = "opentelemetry-instrumentation-botocore";
|
||||
pyproject = true;
|
||||
|
||||
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-botocore";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
opentelemetry-api
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-propagator-aws-xray
|
||||
opentelemetry-semantic-conventions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aws-xray-sdk
|
||||
moto
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
instruments = [ botocore ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.botocore" ];
|
||||
|
||||
meta = opentelemetry-instrumentation.meta // {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-botocore";
|
||||
description = "Botocore instrumentation for OpenTelemetry";
|
||||
};
|
||||
}
|
@ -9401,6 +9401,8 @@ self: super: with self; {
|
||||
|
||||
opentelemetry-instrumentation-celery = callPackage ../development/python-modules/opentelemetry-instrumentation-celery { };
|
||||
|
||||
opentelemetry-instrumentation-botocore = callPackage ../development/python-modules/opentelemetry-instrumentation-botocore { };
|
||||
|
||||
opentelemetry-instrumentation-dbapi = callPackage ../development/python-modules/opentelemetry-instrumentation-dbapi { };
|
||||
|
||||
opentelemetry-instrumentation-django = callPackage ../development/python-modules/opentelemetry-instrumentation-django { };
|
||||
|
Loading…
Reference in New Issue
Block a user