Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hectogram (0.15 sec)

  1. cmd/metrics.go

    			bucket,
    		)
    
    		for k, v := range usageInfo.ObjectSizesHistogram {
    			ch <- prometheus.MustNewConstMetric(
    				prometheus.NewDesc(
    					prometheus.BuildFQName(bucketNamespace, "objects", "histogram"),
    					"Total number of objects of different sizes in a bucket",
    					[]string{"bucket", "object_size"}, nil),
    				prometheus.GaugeValue,
    				float64(v),
    				bucket,
    				k,
    			)
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics.go

    	}
    
    	return sm, nil
    }
    
    func getLatency(promAPI promv1.API, workloadName, workloadNamespace string, duration time.Duration, quantile float64) (time.Duration, error) {
    	latencyQuery := fmt.Sprintf(`histogram_quantile(%f, sum(rate(%s_bucket{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s])) by (le))`,
    		quantile, reqDur, destWorkloadLabel, workloadName, destWorkloadNamespaceLabel, workloadNamespace, duration)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top