Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,120 for hist (0.07 sec)

  1. cmd/bucket-replication-metrics.go

    		return
    	}
    	a.Curr = globalReplicationPool.Get().ActiveWorkers()
    	a.hist.Update(int64(a.Curr))
    	a.Avg = float32(a.hist.Mean())
    	a.Max = int(a.hist.Max())
    }
    
    func (a *ActiveWorkerStat) get() ActiveWorkerStat {
    	w := ActiveWorkerStat{
    		Curr: a.Curr,
    		Avg:  a.Avg,
    		Max:  a.Max,
    	}
    	return w
    }
    
    // QStat holds queue stats for replication
    type QStat struct {
    	Count float64 `json:"count"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    func (m *MetricValues) SetHistogram(name MetricName, hist *prometheus.HistogramVec,
    	filterByLabels map[string]set.StringSet, renameLabels map[string]string, bucketFilter []string,
    	extraLabels ...string,
    ) {
    	if _, ok := m.descriptors[name]; !ok {
    		panic(fmt.Sprintf("metric has no description: %s", name))
    	}
    	dummyDesc := MetricDescription{}
    	metricsV2 := getHistogramMetrics(hist, dummyDesc, false)
    mainLoop:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    								splitDataShards[i] += v
    							}
    						}
    						var hist [256]int
    						for _, v := range splitDataShards {
    							hist[v]++
    						}
    
    						for _, v := range hist[m.data-hasParity : m.shards] {
    							if attempt > 0 {
    								break
    							}
    							if v == 0 {
    								continue
    							}
    							for i, v := range hist[:m.shards] {
    								if v > 0 {
    									if i < m.data {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    // `api` label values.
    func getHistogramMetrics(hist *prometheus.HistogramVec, desc MetricDescription, toLowerAPILabels bool) []MetricV2 {
    	ch := make(chan prometheus.Metric)
    	go func() {
    		defer xioutil.SafeClose(ch)
    		// Collects prometheus metrics from hist and sends it over ch
    		hist.Collect(ch)
    	}()
    
    	// Converts metrics received into internal []Metric type
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/list.md

    Andrea Longo <******@****.***> 1722278931 -0600
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    }
    
    func injectorListCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:     "list",
    		Short:   "List sidecar injector and sidecar versions",
    		Long:    `List sidecar injector and sidecar versions`,
    		Example: `  istioctl experimental injector list`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. cni/pkg/install/testdata/list.conflist.golden

          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        },
        {
          "ambient_enabled": false,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 776 bytes
    - Viewed (0)
  8. cni/pkg/install/testdata/list-with-istio.conflist

          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        },
        {
          "kubernetes": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 724 bytes
    - Viewed (0)
  9. cni/pkg/install/testdata/list-with-istio.conflist.golden

          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        },
        {
          "ambient_enabled": false,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 776 bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    		// If its available, we haven't tried to install in over 5s, reset our hits and return
    		i.hits = 0
    		return
    	}
    	// Otherwise, wait. We only wait up to 1s.
    	sleep.UntilContext(ctx, min(res.Delay(), time.Second))
    	// Increment our hits. If we are spamming this loop, we will hit this many times as we continually are sending >1 RPS
    	i.hits++
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top