prometheus

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 4 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 NewMonitor

func NewMonitor(service string, logger logging.LoggerInterface) *Monitor

func (*Monitor) GetResponseTimeMetric

func (m *Monitor) GetResponseTimeMetric(tags map[string]string) (monitoring.MetricInterface, error)

func (*Monitor) GetService

func (m *Monitor) GetService() string

Jump to

Keyboard shortcuts

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