metrics

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package metrics implements custom metrics for CAPC

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACSCustomMetrics

type ACSCustomMetrics struct {
	// contains filtered or unexported fields
}

AcsCustomMetrics encapsulates all CloudStack custom metrics defined for the controller.

func NewCustomMetrics

func NewCustomMetrics() ACSCustomMetrics

NewCustomMetrics constructs an ACSCustomMetrics with all desired CloudStack custom metrics and any supporting resources.

func (*ACSCustomMetrics) EvaluateErrorAndIncrementAcsReconciliationErrorCounter

func (m *ACSCustomMetrics) EvaluateErrorAndIncrementAcsReconciliationErrorCounter(acsError error)

EvaluateErrorAndIncrementAcsReconciliationErrorCounter accepts a CloudStack error message and increments the custom acs_reconciliation_errors counter, labeled with the error code if present in the error message.

Jump to

Keyboard shortcuts

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