metrics

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 6 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 {
	ConsumedMessages  prometheus.Counter
	EventsChecked     prometheus.Counter
	MessagesSkipped   prometheus.Counter
	EventsTriggered   prometheus.Counter
	MessageAges       prometheus.Histogram
	EventRepoLockTime prometheus.Counter
	DoDuration        prometheus.Counter
	// contains filtered or unexported fields
}

func New

func New() *Metrics

func (*Metrics) Serve

func (this *Metrics) Serve(ctx context.Context, port string) *Metrics

func (*Metrics) ServeHTTP

func (this *Metrics) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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