Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for health (0.06 sec)

  1. cmd/metrics-v3-cluster-health.go

    		"Count of offline nodes in the cluster")
    	healthNodesOnlineCountMD = NewGaugeMD(healthNodesOnlineCount,
    		"Count of online nodes in the cluster")
    )
    
    // loadClusterHealthNodeMetrics - `MetricsLoaderFn` for cluster health node
    // metrics.
    func loadClusterHealthNodeMetrics(ctx context.Context, m MetricValues,
    	c *metricsCache,
    ) error {
    	nodesUpDown, _ := c.nodesUpDown.Get()
    
    	m.Set(healthNodesOfflineCount, float64(nodesUpDown.Offline))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    		return ctx, done, ctx.Err()
    	}
    
    	atomic.StoreInt64(&p.health.lastStarted, time.Now().UnixNano())
    	p.health.waiting.Add(1)
    
    	ctx = context.WithValue(ctx, healthDiskCtxKey{}, &healthDiskCtxValue{lastSuccess: &p.health.lastSuccess})
    	si := p.updateStorageMetrics(s, paths...)
    	var once sync.Once
    	return ctx, func(sz int64, errp *error) {
    		p.health.waiting.Add(-1)
    		once.Do(func() {
    			if errp != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-erasure-set.go

    		poolIDL, setIDL)
    	erasureSetReadHealthMD = NewGaugeMD(erasureSetReadHealth,
    		"Health of the erasure set in a pool for read operations (1=healthy, 0=unhealthy)",
    		poolIDL, setIDL)
    	erasureSetWriteHealthMD = NewGaugeMD(erasureSetWriteHealth,
    		"Health of the erasure set in a pool for write operations (1=healthy, 0=unhealthy)",
    		poolIDL, setIDL)
    )
    
    func b2f(v bool) float64 {
    	if v {
    		return 1
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. .github/workflows/tests.yml

              MYSQL_RANDOM_ROOT_PASSWORD: "yes"
            ports:
              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. cmd/healthcheck-handler.go

    	}
    	result := objLayer.Health(ctx, opts)
    	w.Header().Set(xhttp.MinIOWriteQuorum, strconv.Itoa(result.WriteQuorum))
    	w.Header().Set(xhttp.MinIOStorageClassDefaults, strconv.FormatBool(result.UsingDefaults))
    	// return how many drives are being healed if any
    	if result.HealingDrives > 0 {
    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    	var health float64
    	switch drive.Healing {
    	case true:
    		health = driveHealthHealing
    	case false:
    		if drive.State == "ok" {
    			health = driveHealthOnline
    		} else {
    			health = driveHealthOffline
    		}
    	}
    	m.Set(driveHealth, health, labels...)
    }
    
    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. .github/workflows/iam-integrations.yaml

              ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379"
            ports:
              - "2379:2379"
            options: >-
              --health-cmd "etcdctl endpoint health"
              --health-interval 10s
              --health-timeout 5s
              --health-retries 5
          openid:
            image: quay.io/minio/dex
            ports:
              - "5556:5556"
            env:
              DEX_LDAP_SERVER: "openldap:389"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/metrics/README.md

    - Liveness probe available at `/minio/health/live`
    - Cluster probe available at `/minio/health/cluster`
    
    Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/minio/minio/blob/master/docs/metrics/healthcheck/README.md).
    
    ## Prometheus Probe
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 29 18:35:20 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. cmd/callhome.go

    	enc := json.NewEncoder(gzWriter)
    	if e := enc.Encode(header); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info header: %w", e))
    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    	return b.Bytes()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. docs/metrics/v3.md

    | `minio_cluster_erasure_set_read_health`          | Health of the erasure set in a pool for read operations (1=healthy, 0=unhealthy). <br><br>Type: gauge   | `pool_id`, `set_id` |
    | `minio_cluster_erasure_set_write_health`         | Health of the erasure set in a pool for write operations (1=healthy, 0=unhealthy). <br><br>Type: gauge  | `pool_id`, `set_id` |
    
    #### `/cluster/health`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top