Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for Stats (0.23 sec)

  1. cni/pkg/nodeagent/netns_linux.go

    	return n.innerNetns.Close()
    }
    
    func (n *NetnsWrapper) Fd() uintptr {
    	return n.innerNetns.Fd()
    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. cmd/bucket-replication-metrics.go

    		Avg:  a.Avg,
    		Max:  a.Max,
    	}
    	return w
    }
    
    // QStat holds queue stats for replication
    type QStat struct {
    	Count float64 `json:"count"`
    	Bytes float64 `json:"bytes"`
    }
    
    func (q *QStat) add(o QStat) QStat {
    	return QStat{Bytes: q.Bytes + o.Bytes, Count: q.Count + o.Count}
    }
    
    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. 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)
  5. cmd/metrics-v3-system-drive.go

    	driveRealtimeMetrics := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	stats := map[string]madmin.DiskIOStats{}
    	for d, m := range driveRealtimeMetrics.ByDisk {
    		stats[d] = m.IOStats
    	}
    	return stats
    }
    
    func (m *MetricValues) setDriveBasicMetrics(drive madmin.Disk, labels []string) {
    	m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    				// if metadata is not updated for some reason after replication, such as
    				// 503 encountered while updating metadata - make sure to set ReplicationStatus
    				// as Completed.
    				//
    				// Note: Replication Stats would have been updated despite metadata update failure.
    				rinfo.ReplicationAction = rAction
    				rinfo.ReplicationStatus = replication.Completed
    			}
    			return
    		}
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. 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)
  8. 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)
  9. cmd/metrics.go

    // It creates the Prometheus Description which is used
    // to define metric and  help string
    func newMinioCollector() *minioCollector {
    	return &minioCollector{
    		desc: prometheus.NewDesc("minio_stats", "Statistics exposed by MinIO server", nil, nil),
    	}
    }
    
    // minioCollector is the Custom Collector
    type minioCollector struct {
    	desc *prometheus.Desc
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. internal/disk/stat_freebsd.go

    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top