Documentation ¶
Index ¶
Constants ¶
View Source
const ( AttachSync = syncType("attach") DetachSync = syncType("detach") )
Variables ¶
View Source
var ( SyncLatency = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: metrics.GLBC_NAMESPACE, Subsystem: negControllerSubsystem, Name: syncLatencyKey, Help: "Sync latency of a NEG syncer", }, syncMetricsLabels, ) LastSyncTimestamp = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metrics.GLBC_NAMESPACE, Subsystem: negControllerSubsystem, Name: lastSyncTimestampKey, Help: "The timestamp of the last execution of NEG controller sync loop.", }, []string{}, ) )
Functions ¶
func ObserveNegSync ¶
ObserveNegSync publish collected metrics for the sync of NEG
func RegisterMetrics ¶
func RegisterMetrics()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.