grpcstats

package
v1.20201204.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package grpcstats provides shims for writing rpc logger events to a stats collector.

Index

Constants

View Source
const (
	TagRPCMethod    string = "rpc_method"
	TagRPCPeer      string = "rpc_peer"
	TagRPCEngine    string = "rpc_peer"
	TagRPCAuthority string = "rpc_authority"

	RPCMethodUnknown string = "unknown"

	MetricNameRPC        string = string(grpcutil.FlagRPC)
	MetricNameRPCElapsed string = MetricNameRPC + ".elapsed"
)

Tag constants

Variables

This section is empty.

Functions

func AddListeners

func AddListeners(log logger.Listenable, collector stats.Collector)

AddListeners adds grpc listeners.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL