Versions in this module Expand all Collapse all v1 v1.1.0 Nov 1, 2022 v1.0.0 Apr 16, 2022 Changes in this version + const TracePropagationField + var ClientLatency = stats.Float64("opencensus.io/rpc/client/latency", "End-to-end latency", ...) + var ClientLatencyView = &view.View + var ClientProfile = &StatsProfile + var ClientRequestCount = stats.Int64("opencensus.io/rpc/client/request_count", "Number of RPC requests started", ...) + var ClientRequestCountByMethod = &view.View + var ClientRequestCountView = &view.View + var ClientResponseCountByStatusCode = &view.View + var DefaultClientViews = []*view.View + var DefaultLatencyDistribution = view.Distribution(0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 16, 20, 25, 30, 40, 50, 65, 80, 100, 130, 160, ...) + var DefaultServerViews = []*view.View + var Endpoint = tag.NewKey("rpc.endpoint") + var ServerLatency = stats.Float64("opencensus.io/rpc/server/latency", "End-to-end latency", ...) + var ServerLatencyView = &view.View + var ServerProfile = &StatsProfile + var ServerRequestCount = stats.Int64("opencensus.io/rpc/server/request_count", "Number of RPC requests received", ...) + var ServerRequestCountByMethod = &view.View + var ServerRequestCountView = &view.View + var ServerResponseCountByStatusCode = &view.View + var Service = tag.NewKey("rpc.service") + var StatusCode = tag.NewKey("rpc.status") + func NewClientWrapper() client.Wrapper + func NewHandlerWrapper() server.HandlerWrapper + func NewSubscriberWrapper() server.SubscriberWrapper + type StatsProfile struct + CountMeasure *stats.Int64Measure + LatencyMeasure *stats.Float64Measure + Role string