telemetry

package
v1.1.0-RC2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FunctionInvocationCounter = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Namespace: "morty",
			Name:      "function_invocation",
			Help:      "The number of invocations per function",
		}, labels)

	FunctionInvocationDurationHistogram = prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Namespace: "morty",
			Name:      "function_invocation_duration",
			Help:      "The invocation duration in seconds for a given function",
			Buckets:   []float64{0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2},
		}, labels)
)

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