Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateMetric (0.3 sec)

  1. pilot/pkg/model/push_context.go

    func (ps *PushContext) OnConfigChange() {
    	LastPushMutex.Lock()
    	LastPushStatus = ps
    	LastPushMutex.Unlock()
    	ps.UpdateMetrics()
    }
    
    // UpdateMetrics will update the prometheus metrics based on the
    // current status of the push.
    func (ps *PushContext) UpdateMetrics() {
    	ps.proxyStatusMutex.RLock()
    	defer ps.proxyStatusMutex.RUnlock()
    
    	for _, pm := range metrics {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top