monitoring

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package monitoring contains methods for recording metrics and reporting them through a HTTP handler

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitoring

type Monitoring interface {
	RecordFeedUpdate(systemID, feedID string, feedUpdate *api.FeedUpdate)
	RecordPublicRequest(methodName string, err error, duration time.Duration)
	Handler() http.Handler
}

func NewPrometheusMonitoring

func NewPrometheusMonitoring(namespace string) Monitoring

Jump to

Keyboard shortcuts

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