Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for Latency (0.06 sec)

  1. internal/kms/kms.go

    func (k *KMS) Metrics(ctx context.Context) (*Metrics, error) {
    	latency := make(map[time.Duration]uint64, len(k.latencyBuckets))
    	for i, b := range k.latencyBuckets {
    		latency[b] = k.latency[i].Load()
    	}
    
    	return &Metrics{
    		ReqOK:   k.reqOK.Load(),
    		ReqErr:  k.reqErr.Load(),
    		ReqFail: k.reqFail.Load(),
    		Latency: latency,
    	}, nil
    }
    
    // Status returns status information about the KMS.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics.go

    			metric.TotalDowntime = epHealth.offlineDuration
    			metric.LastOnline = epHealth.lastOnline
    			metric.Online = epHealth.Online
    			metric.Latency = madmin.LatencyStat{
    				Curr: epHealth.latency.curr,
    				Avg:  epHealth.latency.avg,
    				Max:  epHealth.latency.peak,
    			}
    		}
    		m[dID] = metric
    	}
    	return m
    }
    
    func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. internal/grid/benchmark_test.go

    						resp, err := conn.Request(ctx, handlerTest, payload)
    						latency += time.Since(t).Nanoseconds()
    						if err != nil {
    							if debugReqs {
    								fmt.Println(err.Error())
    							}
    							b.Fatal(err.Error())
    						}
    						PutByteBuffer(resp)
    						n++
    					}
    					atomic.AddInt64(&ops, int64(n))
    					atomic.AddInt64(&lat, latency)
    				})
    				spent := time.Since(t)
    				if spent > 0 && n > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. cmd/bucket-targets.go

    					if hs, ok := h[t.URL().Host]; ok {
    						t.TotalDowntime = hs.offlineDuration
    						t.Online = hs.Online
    						t.LastOnline = hs.lastOnline
    						t.Latency = madmin.LatencyStat{
    							Curr: hs.latency.curr,
    							Avg:  hs.latency.avg,
    							Max:  hs.latency.peak,
    						}
    					}
    					targets = append(targets, t.Clone())
    				}
    			}
    		}
    		return targets
    	}
    	sys.RLock()
    	defer sys.RUnlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. cmd/bucket-stats.go

    	"github.com/minio/madmin-go/v3"
    )
    
    //go:generate msgp -file $GOFILE
    
    // ReplicationLatency holds information of bucket operations latency, such us uploads
    type ReplicationLatency struct {
    	// Single & Multipart PUTs latency
    	UploadHistogram LastMinuteHistogram
    }
    
    // Merge two replication latency into a new one
    func (rl ReplicationLatency) merge(other ReplicationLatency) (newReplLatency ReplicationLatency) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    }
    
    func printHeader(writer io.Writer) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD")
    	_ = w.Flush()
    }
    
    func printMetrics(writer io.Writer, wm workloadMetrics) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen.go

    				return
    			}
    		case "Online":
    			z.Online, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Online")
    				return
    			}
    		case "Latency":
    			err = z.Latency.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Latency")
    				return
    			}
    		case "ReplicatedSize":
    			z.ReplicatedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. cmd/bucket-stats_gen.go

    				err = msgp.WrapError(err, "ReplicatedCount")
    				return
    			}
    		case "Latency":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Latency")
    				return
    			}
    			for zb0002 > 0 {
    				zb0002--
    				field, err = dc.ReadMapKeyPtr()
    				if err != nil {
    					err = msgp.WrapError(err, "Latency")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. cmd/data-scanner-metric.go

    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) {
    	atomic.AddUint64(&p.operations[s], 1)
    	if s < scannerMetricLastRealtime {
    		p.latency[s].add(d)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/lib/panels.libsonnet

            override.byName.new('Value #p50')
            + override.byName.withProperty('displayName', 'P50 Latency')
            + override.byName.withProperty('decimals', 2)
            + override.byName.withProperty('unit', 'ms'),
            override.byName.new('Value #p90')
            + override.byName.withProperty('displayName', 'P90 Latency')
            + override.byName.withProperty('decimals', 2)
            + override.byName.withProperty('unit', 'ms'),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top