prometheus

package
v0.0.0-...-9bd9899 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UUIDFilter = regexp.MustCompile(`[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}`)
)

Functions

func AlertTriggered

func AlertTriggered(metric, atype string)

func Init

func Init()

func InitAlertTriggered

func InitAlertTriggered(metric, atype string)

func InitNotificationSent

func InitNotificationSent(notificationType string)

func NotificationError

func NotificationError(notificationType string)

func NotificationSent

func NotificationSent(notificationType string)

Types

type HTTPTiming

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

func NewHTTPTiming

func NewHTTPTiming(router *httprouter.Router) *HTTPTiming

func (*HTTPTiming) ServeHTTP

func (ht *HTTPTiming) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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