Documentation ¶
Index ¶
- Constants
- func IncDataloaderCacheClears(dataloader string)
- func IncDataloaderCalls(dataloader string)
- func IncDataloaderLoads(dataloader string)
- func IncDeleteErrorCounter(numErrors int)
- func IncExternalCalls(systemName string, statusCode int)
- func IncExternalCallsByError(systemName string, err error)
- func IncExternalHTTPCalls(systemName string, resp *http.Response, err error)
- func IncReconcilerCounter(name sqlc.ReconcilerName, state ReconcilerState)
- func IncReconcilerMaxAttemptsExhaustion()
- func MeasureReconcileTeamDuration() *prometheus.Timer
- func MeasureReconcilerDuration(reconciler sqlc.ReconcilerName) *prometheus.Timer
- func SetPendingTeamCount(numTeams int)
- func SetSchemaVersion(version uint, dirty bool)
- type ReconcilerState
Constants ¶
View Source
const DirtyLabel = "dirty"
Variables ¶
This section is empty.
Functions ¶
func IncDataloaderCacheClears ¶
func IncDataloaderCacheClears(dataloader string)
func IncDataloaderCalls ¶
func IncDataloaderCalls(dataloader string)
func IncDataloaderLoads ¶
func IncDataloaderLoads(dataloader string)
func IncDeleteErrorCounter ¶
func IncDeleteErrorCounter(numErrors int)
func IncExternalCalls ¶
func IncExternalCallsByError ¶
func IncExternalHTTPCalls ¶
func IncReconcilerCounter ¶
func IncReconcilerCounter(name sqlc.ReconcilerName, state ReconcilerState)
func IncReconcilerMaxAttemptsExhaustion ¶
func IncReconcilerMaxAttemptsExhaustion()
func MeasureReconcileTeamDuration ¶
func MeasureReconcileTeamDuration() *prometheus.Timer
func MeasureReconcilerDuration ¶
func MeasureReconcilerDuration(reconciler sqlc.ReconcilerName) *prometheus.Timer
func SetPendingTeamCount ¶
func SetPendingTeamCount(numTeams int)
func SetSchemaVersion ¶
Types ¶
type ReconcilerState ¶
type ReconcilerState string
const ( ReconcilerStateStarted ReconcilerState = "started" ReconcilerStateFailed ReconcilerState = "failed" ReconcilerStateSuccessful ReconcilerState = "successful" )
Click to show internal directories.
Click to hide internal directories.