python3Packages.opentelemetry-instrumentation-sqlalchemy: init at 0.50b0 (#379424)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
opentelemetry-api,
|
||||
opentelemetry-instrumentation,
|
||||
opentelemetry-semantic-conventions,
|
||||
packaging,
|
||||
sqlalchemy,
|
||||
wrapt,
|
||||
|
||||
# tests
|
||||
opentelemetry-test-utils,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
inherit (opentelemetry-instrumentation) version src;
|
||||
pname = "opentelemetry-instrumentation-sqlalchemy";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-sqlalchemy";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
opentelemetry-api
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-semantic-conventions
|
||||
packaging
|
||||
sqlalchemy
|
||||
wrapt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.sqlalchemy" ];
|
||||
|
||||
meta = opentelemetry-instrumentation.meta // {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-sqlalchemy";
|
||||
description = "SQLAlchemy instrumentation for OpenTelemetry";
|
||||
};
|
||||
}
|
||||
@@ -10311,6 +10311,10 @@ self: super: with self; {
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-requests
|
||||
{ };
|
||||
|
||||
opentelemetry-instrumentation-sqlalchemy =
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-sqlalchemy
|
||||
{ };
|
||||
|
||||
opentelemetry-instrumentation-wsgi =
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-wsgi
|
||||
{ };
|
||||
|
||||
Reference in New Issue
Block a user