prometheus

package
v0.0.0-...-f584327 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmitMetrics

func EmitMetrics(metricsCli metrics.Metrics)

EmitMetrics convert prometheus metrics for

func GetGrpcServerOptions

func GetGrpcServerOptions() []grpc.ServerOption

GetGrpcServerOptions returns the grpc interceptor to collect metrics

func NewMetrics

func NewMetrics(globalLabels ...metrics.T) metrics.Metrics

NewMetrics returns the prometheus implement of metrics.Metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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