healthprom

package
v0.5.0-beta5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthProm

type HealthProm struct {
	// contains filtered or unexported fields
}

func New

func New(manager *health.HealthManager, serviceName string, logger *zap.Logger) *HealthProm

func (*HealthProm) Collect

func (prom *HealthProm) Collect(ch chan<- prometheus.Metric)

func (*HealthProm) Describe

func (prom *HealthProm) Describe(ch chan<- *prometheus.Desc)

func (*HealthProm) MustRegister

func (prom *HealthProm) MustRegister()

Jump to

Keyboard shortcuts

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