Documentation ¶
Index ¶
- type AppMetrics
- func (am *AppMetrics) DeleteMetrics(appName string, namespace string)
- func (am *AppMetrics) InitMetrics(appName string, namespace string)
- func (am *AppMetrics) RegisterAllMetrics()
- func (am *AppMetrics) RegisterReconcileAttempt(appName string, namespace string)
- func (am *AppMetrics) RegisterReconcileDeleteAttempt(appName string, namespace string)
- func (am *AppMetrics) RegisterReconcileDeleteFailed(appName string, namespace string)
- func (am *AppMetrics) RegisterReconcileFailure(appName string, namespace string)
- func (am *AppMetrics) RegisterReconcileSuccess(appName string, namespace string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMetrics ¶
type AppMetrics struct {
// contains filtered or unexported fields
}
AppMetrics holds server metrics
func (*AppMetrics) DeleteMetrics ¶
func (am *AppMetrics) DeleteMetrics(appName string, namespace string)
DeleteMetrics deletes metrics
func (*AppMetrics) InitMetrics ¶
func (am *AppMetrics) InitMetrics(appName string, namespace string)
InitMetrics initializes metrics
func (*AppMetrics) RegisterAllMetrics ¶
func (am *AppMetrics) RegisterAllMetrics()
RegisterAllMetrics registers all prometheus metrics.
func (*AppMetrics) RegisterReconcileAttempt ¶
func (am *AppMetrics) RegisterReconcileAttempt(appName string, namespace string)
RegisterReconcileAttempt increments reconcileAttemptTotal
func (*AppMetrics) RegisterReconcileDeleteAttempt ¶
func (am *AppMetrics) RegisterReconcileDeleteAttempt(appName string, namespace string)
RegisterReconcileDeleteAttempt increments reconcileDeleteAttemptTotal
func (*AppMetrics) RegisterReconcileDeleteFailed ¶
func (am *AppMetrics) RegisterReconcileDeleteFailed(appName string, namespace string)
RegisterReconcileDeleteFailed increments reconcileDeleteFailedTotal
func (*AppMetrics) RegisterReconcileFailure ¶
func (am *AppMetrics) RegisterReconcileFailure(appName string, namespace string)
RegisterReconcileFailure increments reconcileFailureTotal
func (*AppMetrics) RegisterReconcileSuccess ¶
func (am *AppMetrics) RegisterReconcileSuccess(appName string, namespace string)
RegisterReconcileSuccess increments reconcileSuccessTotal
Click to show internal directories.
Click to hide internal directories.