# Packages
Package opentelemetry implements opentelemetry instrumentation code for gRPC-Go clients and servers.
# Functions
NewMetricSet returns a MetricSet containing metricNames.
SetTags attaches stats tagging data to the context, which will be sent in the outgoing RPC with the header grpc-tags-bin.
SetTrace attaches stats tagging data to the context, which will be sent in the outgoing RPC with the header grpc-trace-bin.
Tags returns the tags from the context for the inbound RPC.
Trace returns the trace from the context for the inbound RPC.
# Structs
Begin contains stats when an RPC attempt begins.
ConnBegin contains the stats of a connection when it is established.
ConnEnd contains the stats of a connection when it ends.
ConnTagInfo defines the relevant information needed by connection context tagger.
End contains stats when an RPC ends.
InHeader contains stats when a header is received.
InPayload contains the information for an incoming payload.
InTrailer contains stats when a trailer is received.
MetricSet is a set of metrics to record.
OutHeader contains stats when a header is sent.
OutPayload contains the information for an outgoing payload.
OutTrailer contains stats when a trailer is sent.
PickerUpdated indicates that the LB policy provided a new picker while the RPC was waiting for one.
RPCTagInfo defines the relevant information needed by RPC context tagger.