7 opentelemetry-instrumentation,
8 opentelemetry-instrumentation-asgi,
9 opentelemetry-instrumentation-wsgi,
10 opentelemetry-semantic-conventions,
11 opentelemetry-test-utils,
12 opentelemetry-util-http,
16 buildPythonPackage rec {
17 inherit (opentelemetry-instrumentation) version src;
18 pname = "opentelemetry-instrumentation-django";
21 disabled = pythonOlder "3.8";
23 sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-django";
25 build-system = [ hatchling ];
30 opentelemetry-instrumentation
31 opentelemetry-instrumentation-wsgi
32 opentelemetry-semantic-conventions
33 opentelemetry-util-http
36 optional-dependencies = {
37 asgi = [ opentelemetry-instrumentation-asgi ];
41 opentelemetry-test-utils
43 ] ++ optional-dependencies.asgi;
45 pythonImportsCheck = [ "opentelemetry.instrumentation.django" ];
47 meta = opentelemetry-instrumentation.meta // {
48 homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-django";
49 description = "OpenTelemetry Instrumentation for Django";