Categorygoogle.golang.org/grpc/stats/opencensus
modulepackage
1.0.0
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Functions

DialOption returns a dial option which enables OpenCensus instrumentation code for a grpc.ClientConn.
ServerOption returns a server option which enables OpenCensus instrumentation code for a grpc.Server.
SpanContextFromContext returns the Span Context about the Span in the context.

# Variables

ClientAPILatencyView is the distribution of client api latency for the full RPC call, keyed on method and status.
ClientCompletedRPCsView is the count of completed RPCs, keyed on method and status.
ClientReceivedBytesPerRPCView is the distribution of received bytes per RPC, keyed on method.
ClientReceivedCompressedMessageBytesPerRPCView is the distribution of compressed received message bytes per RPC, keyed on method.
ClientReceivedMessagesPerRPCView is the distribution of received messages per RPC, keyed on method.
ClientRoundtripLatencyView is the distribution of round-trip latency in milliseconds per RPC, keyed on method.
ClientSentBytesPerRPCView is the distribution of sent bytes per RPC, keyed on method.
ClientSentCompressedMessageBytesPerRPCView is the distribution of compressed sent message bytes per RPC, keyed on method.
ClientSentMessagesPerRPCView is the distribution of sent messages per RPC, keyed on method.
ClientStartedRPCsView is the count of opened RPCs, keyed on method.
DefaultClientViews is the set of client views which are considered the minimum required to monitor client side performance.
DefaultServerViews is the set of server views which are considered the minimum required to monitor server side performance.
ServerCompletedRPCsView is the count of completed RPCs, keyed on method and status.
ServerLatencyView is the distribution of server latency in milliseconds per RPC, keyed on method.
ServerReceivedBytesPerRPCView is the distribution of sent bytes per RPC, keyed on method.
ServerReceivedCompressedMessageBytesPerRPCView is the distribution of sent compressed message bytes per RPC, keyed on method.
ServerReceivedMessagesPerRPCView is the distribution of received messages per RPC, keyed on method.
ServerSentBytesPerRPCView is the distribution of received bytes per RPC, keyed on method.
ServerSentCompressedMessageBytesPerRPCView is the distribution of received compressed message bytes per RPC, keyed on method.
ServerSentMessagesPerRPCView is the distribution of sent messages per RPC, keyed on method.
ServerStartedRPCsView is the count of opened RPCs, keyed on method.

# Structs

TraceOptions are the tracing options for opencensus instrumentation.