Documentation ¶
Index ¶
- Constants
- func IncreaseL4NetLBLegacyToRBSMigrationAttempts()
- func IncreaseL4NetLBTargetPoolRaceWithRBS()
- func PublishILBSyncMetrics(success bool, syncType, gceResource, errType string, startTime time.Time)
- func PublishL4ControllerHealthCheckStatus(controllerName string, status L4ControllerHealthCheckStatus)
- func PublishL4FailedHealthCheckCount(controllerName string)
- func PublishL4ILBDualStackSyncLatency(success bool, syncType, ipFamilies string, startTime time.Time)
- func PublishL4NetLBDualStackSyncLatency(success bool, syncType, ipFamilies string, startTime time.Time)
- func PublishL4NetLBSyncError(syncType, gceResource, errType string, startTime time.Time)
- func PublishL4NetLBSyncSuccess(syncType string, startTime time.Time)
- type L4ControllerHealthCheckStatus
Constants ¶
const ( L4ilbLatencyMetricName = "l4_ilb_sync_duration_seconds" L4ILBDualStackLatencyMetricName = "l4_ilb_dualstack_sync_duration_seconds" L4ilbErrorMetricName = "l4_ilb_sync_error_count" L4netlbLatencyMetricName = "l4_netlb_sync_duration_seconds" L4NetLBDualStackLatencyMetricName = "l4_netlb_dualstack_sync_duration_seconds" L4netlbErrorMetricName = "l4_netlb_sync_error_count" L4netlbLegacyToRBSMigrationPreventedMetricName = "l4_netlb_legacy_to_rbs_migration_prevented_count" )
const ControllerHealthyStatus = L4ControllerHealthCheckStatus("Healthy")
const ControllerUnhealthyStatus = L4ControllerHealthCheckStatus("Unhealthy")
Variables ¶
This section is empty.
Functions ¶
func IncreaseL4NetLBLegacyToRBSMigrationAttempts ¶ added in v1.19.0
func IncreaseL4NetLBLegacyToRBSMigrationAttempts()
IncreaseL4NetLBLegacyToRBSMigrationAttempts increases l4NetLBLegacyToRBSPrevented metric for stopped migration
func IncreaseL4NetLBTargetPoolRaceWithRBS ¶ added in v1.19.0
func IncreaseL4NetLBTargetPoolRaceWithRBS()
IncreaseL4NetLBTargetPoolRaceWithRBS increases l4NetLBLegacyToRBSPrevented metric for race condition between controllers
func PublishILBSyncMetrics ¶
func PublishILBSyncMetrics(success bool, syncType, gceResource, errType string, startTime time.Time)
PublishILBSyncMetrics exports metrics related to the L4 ILB sync.
func PublishL4ControllerHealthCheckStatus ¶ added in v1.22.0
func PublishL4ControllerHealthCheckStatus(controllerName string, status L4ControllerHealthCheckStatus)
PublishL4ControllerHealthCheckStatus stores health state of the controller.
func PublishL4FailedHealthCheckCount ¶ added in v1.17.0
func PublishL4FailedHealthCheckCount(controllerName string)
PublishL4FailedHealthCheckCount observers failed health check from controller.
func PublishL4ILBDualStackSyncLatency ¶ added in v1.22.0
func PublishL4ILBDualStackSyncLatency(success bool, syncType, ipFamilies string, startTime time.Time)
PublishL4ILBDualStackSyncLatency exports the given sync latency datapoint.
func PublishL4NetLBDualStackSyncLatency ¶ added in v1.22.0
func PublishL4NetLBDualStackSyncLatency(success bool, syncType, ipFamilies string, startTime time.Time)
PublishL4NetLBDualStackSyncLatency exports the given sync latency datapoint.
func PublishL4NetLBSyncError ¶ added in v1.17.0
PublishL4NetLBSyncError exports latency and error count metrics for L4 NetLB after error sync.
func PublishL4NetLBSyncSuccess ¶ added in v1.17.0
PublishL4NetLBSyncSuccess exports latency metrics for L4 NetLB service after successful sync.
Types ¶
type L4ControllerHealthCheckStatus ¶ added in v1.22.0
type L4ControllerHealthCheckStatus string