package
1.3.9
Repository: https://github.com/qkbyte/go-zero.git
Documentation: pkg.go.dev

# Functions

Extract extracts the metadata from ctx.
Inject injects the metadata into ctx.
ParseFullMethod returns the method name and attributes.
PeerAttr returns the peer attributes.
PeerFromCtx returns the peer from ctx.
SpanInfo returns the span info.
StartAgent starts a opentelemetry agent.
StatusCodeAttr returns an attribute.KeyValue that represents the give c.

# Constants

GRPCStatusCodeKey is convention for numeric status code of a gRPC request.
RPCMessageCompressedSizeKey is the compressed size of the message transmitted or received in bytes.
RPCMessageIDKey is the identifier of message transmitted or received.
RPCMessageTypeKey is the type of message transmitted or received.
RPCMessageUncompressedSizeKey is the uncompressed size of the message transmitted or received in bytes.
RPCNameKey is the name of message transmitted or received.
TraceName represents the tracing name.

# Variables

MessageReceived is the type of received messages.
MessageSent is the type of sent messages.
RPCMessageTypeReceived is the semantic conventions for the received RPC message types.
RPCMessageTypeSent is the semantic conventions for sent RPC message types.
RPCNameMessage is the semantic convention for a message named message.
RPCSystemGRPC is the semantic convention for gRPC as the remoting system.
TraceIdKey is the trace id header.

# Structs

A Config is a opentelemetry config.