Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Stats (0.13 sec)

  1. cmd/http-stats.go

    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    func (stats *HTTPAPIStats) Load(toLower bool) map[string]int {
    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    			}
    			if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    				labels := map[string]string{}
    				stats := hm.Mem.Info
    				updateResourceMetrics(memSubsystem, total, float64(stats.Total), labels, false)
    				updateResourceMetrics(memSubsystem, memUsed, float64(stats.Used), labels, false)
    				perc := math.Round(float64(stats.Used*100*100)/float64(stats.Total)) / 100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    func (es *expiryState) enqueueTierJournalEntry(je jentry) {
    	wrkr := es.getWorkerCh(je.OpHash())
    	if wrkr == nil {
    		es.stats.missedTierJournalTasks.Add(1)
    		return
    	}
    	select {
    	case <-GlobalContext.Done():
    	case wrkr <- je:
    	default:
    		es.stats.missedTierJournalTasks.Add(1)
    	}
    }
    
    // enqueueFreeVersion enqueues a free version to be deleted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    		runtime.Gosched()
    		stats := c.Stats()
    		if stats.IncomingStreams != 0 {
    			if i > 0 {
    				time.Sleep(100 * time.Millisecond)
    				continue
    			}
    			var found []uint64
    			c.inStream.Range(func(key uint64, value *muxServer) bool {
    				found = append(found, key)
    				return true
    			})
    			t.Errorf("expected no active streams, got %d incoming: %v", stats.IncomingStreams, found)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. cmd/api-router.go

    // handlers.
    //
    // It is set per-"handler function registration" in the router to allow for
    // behavior modification via flags.
    //
    // This middleware always calls `collectAPIStats` to collect API stats.
    //
    // The passed in handler function must be a method of `objectAPIHandlers` for
    // the name displayed in logs and trace to be accurate. The name is extracted
    // via reflection.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  6. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/tier/{tier}").HandlerFunc(adminMiddleware(adminAPI.VerifyTierHandler))
    		// Tier stats
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/tier-stats").HandlerFunc(adminMiddleware(adminAPI.TierStatsHandler))
    
    		// Cluster Replication APIs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    		}
    	}
    }
    
    // State returns the current connection status.
    func (c *Connection) State() State {
    	return State(atomic.LoadUint32((*uint32)(&c.state)))
    }
    
    // Stats returns the current connection stats.
    func (c *Connection) Stats() ConnectionStats {
    	return ConnectionStats{
    		IncomingStreams: c.inStream.Size(),
    		OutgoingStreams: c.outgoing.Size(),
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

      # Retrieve Envoy server metrics in prometheus format with custom proxy admin port
      istioctl experimental envoy-stats <pod-name[.namespace]> --output prom --proxy-admin-port 15000
    
      # Retrieve Envoy server metrics in prometheus format with merged application metrics
      istioctl experimental envoy-stats <pod-name[.namespace]> --output prom-merged
    
      # Retrieve Envoy cluster metrics
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    	if err != nil || resp == nil {
    		return SRMetricsSummary{}, err
    	}
    	return *resp, nil
    }
    
    // GetAllBucketStats - load replication stats for all buckets
    func (client *peerRESTClient) GetAllBucketStats() (BucketStatsMap, error) {
    	resp, err := getAllBucketStatsRPC.Call(context.Background(), client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    	for tier, st := range ats.Tiers {
    		dst.Tiers[tier] = st
    	}
    	return &dst
    }
    
    func (ats *allTierStats) populateStats(stats map[string]madmin.TierStats) {
    	if ats == nil {
    		return
    	}
    
    	// Update stats for tiers as they become available.
    	for tier, st := range ats.Tiers {
    		stats[tier] = madmin.TierStats{
    			TotalSize:   st.TotalSize,
    			NumVersions: st.NumVersions,
    			NumObjects:  st.NumObjects,
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
Back to top