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()
Click to show internal directories.
Click to hide internal directories.