grpcprometheus

package
v0.0.0-...-007c7ba Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMetrics

func RegisterMetrics(registry *prometheus.Registry, collectors *Collectors) error

RegisterMetrics must be called before the Prometheus interceptor is used.

Types

type Collectors

type Collectors struct {
	Client *grpcprom.ClientMetrics
	Server *grpcprom.ServerMetrics
}

func NewPrometheusMetricsCollectors

func NewPrometheusMetricsCollectors() *Collectors

Jump to

Keyboard shortcuts

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