Documentation ¶
Index ¶
- Constants
- type Metrics
- func (m *Metrics) AddCRCountMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddCRDeleteFaultMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddCRDeleteSuccessMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddCRFaultMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddCRSuccessMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddReconcileFaultMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddReconcileSuccessMetrics(component string, msg string, resourceName string, namespace string)
- func (m *Metrics) AddSecretCountMetrics(component string, msg string, resourceName string, namespace string)
Constants ¶
View Source
const ( ReconcileSuccess = "oci_service_operator_reconcile_success" ReconcileFault = "oci_service_operator_reconcile_fault" CRDeleteSuccess = "oci_service_operator_cr_delete_success" CRDeleteFault = "oci_service_operator_cr_delete_fault" CRSuccess = "oci_service_operator_cr_success" CRFault = "oci_service_operator_cr_fault" CRCount = "oci_service_operator_cr_count" SecretCount = "oci_service_operator_secret_count" CRLatency = "oci_service_operator_cr_latency" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { Name string ServiceName string Logger loggerutil.OSOKLogger }
func Init ¶
func Init(serviceName string, log loggerutil.OSOKLogger) *Metrics
func (*Metrics) AddCRCountMetrics ¶
func (*Metrics) AddCRDeleteFaultMetrics ¶
func (*Metrics) AddCRDeleteSuccessMetrics ¶
func (*Metrics) AddCRFaultMetrics ¶
func (*Metrics) AddCRSuccessMetrics ¶
func (*Metrics) AddReconcileFaultMetrics ¶
func (*Metrics) AddReconcileSuccessMetrics ¶
Click to show internal directories.
Click to hide internal directories.