# Functions
RPCServerOption returns a StartSpanOption appropriate for an RPC server span with `client` representing the metadata for the remote peer Span if available.
# Variables
Component is a low-cardinality identifier of the module, library, or package that is generating a span.
Error indicates that operation represented by the span resulted in an error.
HTTPMethod is the HTTP method of the request, and is case-insensitive.
HTTPStatusCode is the numeric HTTP status code (200, 404, etc) of the HTTP response.
HTTPUrl should be the URL of the request being handled in this segment of the trace, in standard URI format.
PeerHostIPv4 records IP v4 host address of the peer.
PeerHostIPv6 records IP v6 host address of the peer.
PeerHostname records the host name of the peer.
PeerPort records port number of the peer.
PeerService records the service name of the peer.
SamplingPriority determines the priority of sampling this Span.
SpanKind hints at relationship between spans, e.g.
These constants define common tag names recommended for better portability across tracing systems and languages/platforms.
SpanKindRPCClient marks a span representing the client-side of an RPC or other remote call.
These constants define common tag names recommended for better portability across tracing systems and languages/platforms.
SpanKindRPCServer marks a span representing the server-side of an RPC or other remote call.
# Type aliases
SpanKindEnum represents common span types.