metrics

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPromCollectors

func NewPromCollectors(_ context.Context, m map[string]interface{}) ([]prometheus.Collector, error)

New returns a prometheus collector.

func NewStream

func NewStream() grpc.StreamServerInterceptor

NewStream returns a new server stream interceptor that adds the user agent to the context.

func NewUnary

func NewUnary() grpc.UnaryServerInterceptor

NewUnary returns a new unary interceptor that adds the useragent to the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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