The sides that make automatic spans for an RPC, read from its annotations
(rpc.annotate(TracingEnabled, "server")): "client", "server", "both" (the
default) or "none". Without a client span, the client still sends its caller's span,
which a handler reads as remote_parent_span (always None over plain HTTP, where the
span arrives in the HTTP headers instead). A client's or server's disable_tracing=True
overrides it on that side, and a client with tracing disabled sends no span.
Functions#
default#
default() -> TracingReturns Tracing
@classmethod
def default(cls) -> Tracing:
return "both"