7 , opentelemetry-instrumentation
9 , opentelemetry-semantic-conventions
10 , opentelemetry-test-utils
17 inherit (opentelemetry-instrumentation) version src;
18 pname = "opentelemetry-instrumentation-grpc";
21 disabled = pythonOlder "3.8";
23 sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-grpc";
31 opentelemetry-instrumentation
33 opentelemetry-semantic-conventions
37 passthru.optional-dependencies = {
38 instruments = [ grpcio ];
42 opentelemetry-test-utils
47 disabledTests = lib.optionals stdenv.isDarwin [
48 # RuntimeError: Failed to bind to address
49 "TestOpenTelemetryServerInterceptorUnix"
52 pythonImportsCheck = [ "opentelemetry.instrumentation.grpc" ];
54 __darwinAllowLocalNetworking = true;
56 meta = opentelemetry-instrumentation.meta // {
57 homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc";
58 description = "OpenTelemetry Instrumentation for grpc";