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