stats

package
v0.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BadJsonCtr = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "choria_protocol_json_parse_failures",
		Help: "Amount of times un-parsable JSON was received",
	}, []string{"version"})

	ValidCtr = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "choria_protocol_valid",
		Help: "Number of messages with valid signatures",
	}, []string{"version"})

	InvalidCtr = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "choria_protocol_invalid",
		Help: "Number of messages with invalid signatures",
	}, []string{"version"})

	ProtocolErrorCtr = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "choria_protocol_error",
		Help: "Number of protocol errors such as missing certificate, un-parsable files and other unrecoverable errors",
	}, []string{"version"})
)

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