metric

package
v16.0.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientStatsHandler

func ClientStatsHandler() *promgrpc.StatsHandler

ClientStatsHandler is a simplified promgrpc.ClientStatsHandler().

func Register

func Register(registerer prometheus.Registerer, toRegister ...prometheus.Collector) error

func ServerStatsHandler

func ServerStatsHandler() *promgrpc.StatsHandler

ServerStatsHandler is a simplified promgrpc.ServerStatsHandler().

Types

type OtelErrorHandler

type OtelErrorHandler zap.Logger

func (*OtelErrorHandler) Handle

func (h *OtelErrorHandler) Handle(err error)

Jump to

Keyboard shortcuts

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