prometheus

package
v0.0.0-...-91d8bac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelzMetrics

type ChannelzMetrics struct {
	ServerCallsStarted   *prometheus.Desc
	ServerCallsSucceeded *prometheus.Desc
	ServerCallsFailed    *prometheus.Desc
	// contains filtered or unexported fields
}

func NewChannelzMetrics

func NewChannelzMetrics(grpcServerAddress string, logWriter io.Writer) *ChannelzMetrics

func (ChannelzMetrics) Collect

func (c ChannelzMetrics) Collect(metrics chan<- prometheus.Metric)

func (ChannelzMetrics) Describe

func (c ChannelzMetrics) Describe(descriptors chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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