Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Detrio (0.15 sec)

  1. cmd/metrics-v2.go

    	if metric.Description.Type == histogramMetric {
    		if metric.Histogram == nil {
    			return
    		}
    		for k, v := range metric.Histogram {
    			pmetric, err := prometheus.NewConstMetric(
    				prometheus.NewDesc(
    					prometheus.BuildFQName(string(metric.Description.Namespace),
    						string(metric.Description.Subsystem),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/metrics.go

    	prometheus.MustRegister(minioVersionInfo)
    }
    
    // newMinioCollector describes the collector
    // and returns reference of minioCollector
    // 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),
    	}
    }
    
    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)
  3. docs/metrics/prometheus/README.md

    The command will generate the `scrape_configs` section of the prometheus.yml as follows:
    
    ##### Cluster
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/minio-dashboard.json

              "format": "time_series",
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
              "legendFormat": "{{instance}}",
              "metric": "process_start_time_seconds",
              "refId": "A",
              "step": 60
            }
          ],
          "title": "Uptime",
          "type": "stat"
        },
        {
          "datasource": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  5. cmd/os-instrumented.go

    	startTime := time.Now()
    	return func() {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&o.operations[s], 1)
    		o.latency[s].add(duration)
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    func (o *osMetrics) incTime(s osMetric, d time.Duration) {
    	atomic.AddUint64(&o.operations[s], 1)
    	o.latency[s].add(d)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    			t = &m
    		}
    
    		mx[Total] = *t
    		metric := SRMetric{
    			ReplicatedSize:  v.ReplicatedSize,
    			ReplicatedCount: v.ReplicatedCount,
    			DeploymentID:    dID,
    			Failed:          v.Failed.toMetric(),
    			XferStats:       mx,
    		}
    		epHealth, ok := epMap[v.Endpoint]
    		if ok {
    			metric.Endpoint = epHealth.Endpoint
    			metric.TotalDowntime = epHealth.offlineDuration
    			metric.LastOnline = epHealth.lastOnline
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. internal/kms/kms.go

    	// IsLocal returns true if the KMS is a local implementation
    	IsLocal() bool
    
    	// List returns an array of local KMS Names
    	List() []kes.KeyInfo
    
    	// Metrics returns a KMS metric snapshot.
    	Metrics(ctx context.Context) (kes.Metric, error)
    
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(ctx context.Context, keyID string) error
    
    	// GenerateKey generates a new data encryption key using the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. internal/kms/single-key.go

    func (kms secretKey) List() []kes.KeyInfo {
    	kmsSecret := []kes.KeyInfo{
    		{
    			Name: kms.keyID,
    		},
    	}
    	return kmsSecret
    }
    
    func (secretKey) Metrics(ctx context.Context) (kes.Metric, error) {
    	return kes.Metric{}, Error{
    		HTTPStatusCode: http.StatusNotImplemented,
    		APICode:        "KMS.NotImplemented",
    		Err:            errors.New("metrics are not supported"),
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    	}
    
    	key := getResourceKey(name, labels)
    	metric, found := subsysMetrics[key]
    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    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)
  10. cmd/metrics-v3-handler.go

    			for _, d := range mg.Descriptors {
    				labels := slices.Clone(d.VariableLabels)
    				labels = append(labels, commonLabels...)
    				metric := metricDisplay{
    					Name:   mg.MetricFQN(d.Name),
    					Help:   d.Help,
    					Type:   d.Type.String(),
    					Labels: labels,
    				}
    				metrics = append(metrics, metric)
    			}
    		}
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top