metric

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CmdCount = promauto.NewCounterVec(prometheus.CounterOpts{
		Namespace: "pgo",
		Subsystem: "command",
		Name:      "count",
		Help:      "Counter for the number of commands executed.",
	}, []string{"service", "cmd", "subcmd"})

	CmdErrorCount = promauto.NewCounterVec(prometheus.CounterOpts{
		Namespace: "pgo",
		Subsystem: "command",
		Name:      "error_count",
		Help:      "Counter for the number of commands executed that resulted in an error",
	}, []string{"service", "cmd", "subcmd"})
)

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