monitoring

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultBuckets = []float64{0.3, 1.2, 5.0}
)

Functions

func NewPrometheus

func NewPrometheus(serviceName string)

func PrometheusRecord

func PrometheusRecord(statusCode int, method, path, service string, duration time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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