package
1.2.1
Repository: https://github.com/ringbrew/gsv.git
Documentation: pkg.go.dev

# Functions

GrpcExtract returns the correlation context and span context that another service encoded in the gRPC metadata object with Inject.
GrpcInject injects correlation context and span context into the gRPC metadata object.
No description provided by the author
No description provided by the author
No description provided by the author
NewConfig returns a config configured with all the passed Options.
No description provided by the author
No description provided by the author
ParseFullMethod returns a span name following the OpenTelemetry semantic conventions as well as all applicable span attribute.KeyValue attributes based on a gRPC's FullMethod.
PeerAttr returns attributes about the peer address.
PeerFromCtx returns a peer address from a context, if one exists.
SemVersion is the semantic version to be supplied to tracer/meter creation.
SpanInfo returns a span name and all appropriate attributes from the gRPC method and peer address.
Version is the current release version of the gsv instrumentation.

# Constants

No description provided by the author
No description provided by the author
Semantic conventions for attribute keys for gRPC.
No description provided by the author
RPCMessageCompressedSizeKey The compressed size of the message transmitted or received in bytes.
RPCMessageIDKey Identifier of message transmitted or received.
RPCMessageTypeKey Type of message transmitted or received.
RPCMessageUncompressedSizeKey The uncompressed size of the message transmitted or received in bytes.
RPCNameKey Name of message transmitted or received.

# Variables

No description provided by the author
No description provided by the author
Semantic conventions for common RPC attributes.
RPCMessageTypeSent RPCMessageTypeReceived Semantic conventions for RPC message types.
RPCNameMessage Semantic convention for a message named message.
RPCSystemGRPC Semantic convention for gRPC as the remoting system.

# Structs

Config is a group of options for this instrumentation.
No description provided by the author

# Type aliases

No description provided by the author