metrics

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

func NewMetrics

func NewMetrics(appInfo appinfo.AppInfo, timeSvc absos.TimeSvc) *Metrics

func NewMetricsWithoutDefaultCollectors

func NewMetricsWithoutDefaultCollectors(appInfo appinfo.AppInfo) *Metrics

func (*Metrics) DumpAsTextForTest

func (m *Metrics) DumpAsTextForTest() string

func (*Metrics) Handler

func (m *Metrics) Handler() http.Handler

func (*Metrics) MustRegister

func (m *Metrics) MustRegister(cs ...prometheus.Collector)

func (*Metrics) Prefixed

func (m *Metrics) Prefixed(name string) string

Jump to

Keyboard shortcuts

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