monitor

package
Version: v0.0.0-...-514d410 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

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

func New

func New(
	address server.Address,
	port server.Port,
	maybeHealthcheckMonitorOption *healthcheckmonitor.Option,
	metricsEntries []metrics.MetricEntry,
) *Monitor

func (*Monitor) GetHealthStatus

func (m *Monitor) GetHealthStatus() server.HealthStatus

func (*Monitor) GetMetricsRepository

func (m *Monitor) GetMetricsRepository() metrics.MetricsRepository

func (*Monitor) Shutdown

func (m *Monitor) Shutdown()

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL