metrics

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SnatHealAttemptsCounter = prometheus.NewCounter(
	prometheus.CounterOpts{
		Name: "cops_vigilante_snat_node_healing_attempts",
		Help: "Count of node healing attempts for the SNAT issue.",
	},
)
View Source
var SnatNumberOfNotReadyNodesFound = prometheus.NewCounter(
	prometheus.CounterOpts{
		Name: "cops_vigilante_snat_number_of_not_ready_nodes_found",
		Help: "Count of nodes in not ready state found during attempting to heal the SNAT issue.",
	},
)

Functions

This section is empty.

Types

type SnatMetrics

type SnatMetrics interface {
	IncHealAttemptsCounter()
	IncNumberOfNotReadyNodesSeen()
}

type SnatMetricsRecorder

type SnatMetricsRecorder struct{}

func (*SnatMetricsRecorder) IncHealAttemptsCounter

func (r *SnatMetricsRecorder) IncHealAttemptsCounter()

func (*SnatMetricsRecorder) IncNumberOfNotReadyNodesSeen

func (r *SnatMetricsRecorder) IncNumberOfNotReadyNodesSeen()

Jump to

Keyboard shortcuts

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