metric

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package metric provides metrics functions for grpc

Package metric provides metrics functions for grpc

Package metric provides metrics functions for grpc

Package metric provides metrics functions for grpc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientHandler

type ClientHandler = ocgrpc.ClientHandler

ClientHandler is a type alias of ocgrpc.ClientHandler to record OpenCensus stats and traces.

func NewClientHandler

func NewClientHandler(opts ...ClientOption) *ClientHandler

NewClientHandler returns the client handler of OpenCensus stats and traces.

type ClientOption

type ClientOption func(*ClientHandler)

type ServerHandler

type ServerHandler = ocgrpc.ServerHandler

ServerHandler is a type alias of ocgrpc.ServerHandler to record OpenCensus stats and traces.

func NewServerHandler

func NewServerHandler(opts ...ServerOption) *ServerHandler

NewServerHandler returns the server handler of OpenCensus stats and traces.

type ServerOption

type ServerOption func(*ServerHandler)

Jump to

Keyboard shortcuts

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