metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTNNSubSystem        = "htnn"
	TranslateDurationKey = "translate_duration_seconds"
)

Variables

View Source
var (
	TranslateDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
		Subsystem: HTNNSubSystem,
		Name:      TranslateDurationKey,
		Help:      "How long in seconds translate in a batch.",

		Buckets: prometheus.ExponentialBuckets(10e-5, 10, 10),
	}, []string{"controller"})

	HFPTranslateDurationObserver = TranslateDuration.WithLabelValues("httpfilterpolicy")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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