[grpc-io] TCP_USER_TIMEOUT configuration and logging

2024-04-25 Thread Kyle Strand
I'm concerned that I'm seeing an issue similar to this old one , so I want to verify that `TCP_USER_TIMEOUT` is set to something reasonable. To configure that value, it sounds like gRPC keepalive must be enabled, but there are concerns this is

[grpc-io] [gRPC-Python] Configuring TCP_QUICKACK?

2024-04-25 Thread Kyle Strand
Is it possible to configure TCP_QUICKACK when using grpc with Python? It appears that all TCP configuration (e.g. for TCP_USER_TIMEOUT) is done by the grpc library itself, but I can't find any mention of quickack in the code, in other issues, or in the mailing list archives. I ask because

Re: [grpc-io] [gRPC-Python] tracing for retries

2024-04-25 Thread Kyle Strand
gt; in progress which will be implemented in Python once it's finished. > > Our `grpcio-observability` package currently only works for metrics, it > does have some functions for tracing but it's not fully implemented yet. > > > On Thu, Apr 25, 2024 at 12:01 PM Kyle Strand wrote: &g

[grpc-io] Re: TCP_USER_TIMEOUT configuration and logging

2024-04-26 Thread Kyle Strand
the intended recipient, or an employee or agent authorized by the intended recipient, is prohibited. On Thu, Apr 25, 2024 at 3:27 PM Kyle Strand wrote: > I'm concerned that I'm seeing an issue similar to this old one > <https://github.com/grpc/grpc/issues/15889>, so I wa

[grpc-io] [gRPC-Python] grpcio-observability compatibiltiy with OTEL SDK 1.22.0+

2024-04-24 Thread Kyle Strand
uld it use the API only, as `opentelemetry-api >= 1.21.0`? If the version-pinning is necessary, can a version be released that supports OTEL SDK 1.22.0 or above? Thanks! Kyle Strand Links: `grpcio-observability` requirements file: https://github.com/grpc/grpc/blob/master/examples/python/observa

[grpc-io] [gRPC-Python] tracing for retries

2024-04-25 Thread Kyle Strand
bservability/__init__.py`, which makes me think it might not be intended for public consumption; and it also isn't used in the observability example code <https://github.com/grpc/grpc/tree/master/examples/python/observability>. How can tracing for retries be collected and exported? Th

Re: [grpc-io] [gRPC-Python] grpcio-observability compatibiltiy with OTEL SDK 1.22.0+

2024-04-25 Thread Kyle Strand
ility package itself doesn't have a dependency on sdk as listed > in setup.py > <https://github.com/grpc/grpc/blob/master/src/python/grpcio_observability/setup.py#L293> > (We'll also remove the version ping here). > > > Thanks, > Xuan > > On Wed, Apr 24, 2024 at 2:36 P