Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for health (0.16 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))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 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(errp *error) {
    		p.health.waiting.Add(-1)
    		once.Do(func() {
    			if errp != nil {
    				err := *errp
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		opts := HealthOptions{}
    		result := objLayer.Health(ctx, opts)
    
    		metrics = make([]MetricV2, 0, 2+4*len(result.ESHealth))
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterWriteQuorumMD(),
    			Value:       float64(result.WriteQuorum),
    		})
    
    		health := 1
    		if !result.Healthy {
    			health = 0
    		}
    
    		metrics = append(metrics, MetricV2{
    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)
  4. cmd/bucket-targets.go

    				epHealth.lastOnline = prev.lastOnline
    				epHealth.offlineDuration = prev.offlineDuration
    				epHealth.lastHCAt = prev.lastHCAt
    				epHealth.latency = prev.latency
    			}
    			m[t.Endpoint] = epHealth
    		}
    	}
    	// swap out the map
    	sys.hc = m
    	sys.hMutex.Unlock()
    }
    
    func (sys *BucketTargetSys) healthStats() map[string]epHealth {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  5. docs/metrics/v3.md

    | `minio_cluster_health_drives_online_count`         | `gauge` | Count of online drives in the cluster          |        |
    | `minio_cluster_health_drives_count`                | `gauge` | Count of all drives in the cluster             |        |
    | `minio_cluster_health_nodes_offline_count`         | `gauge` | Count of offline nodes in the cluster          |        |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  6. cmd/http-tracer.go

    	op = strings.Replace(op, "(*peerS3Server)", "s3", 1)
    	op = strings.Replace(op, "ClusterCheckHandler", "health.Cluster", 1)
    	op = strings.Replace(op, "ClusterReadCheckHandler", "health.ClusterRead", 1)
    	op = strings.Replace(op, "LivenessCheckHandler", "health.Liveness", 1)
    	op = strings.Replace(op, "ReadinessCheckHandler", "health.Readiness", 1)
    	op = strings.Replace(op, "-fm", "", 1)
    	return op
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/minio-dashboard.json

              "expr": "minio_cluster_health_status{job=~\"$scrape_jobs\"}",
              "fullMetaSearch": false,
              "includeNullMetadata": true,
              "interval": "",
              "legendFormat": "Pool: {{pool}} Set: {{set}}",
              "range": true,
              "refId": "A",
              "useBackend": false
            }
          ],
          "title": "Cluster Health Status",
          "type": "stat"
        },
        {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  8. cmd/erasure-server-pool.go

    			})
    
    			healthy := erasureSetUpCount[poolIdx][setIdx].online >= poolWriteQuorums[poolIdx]
    			if !healthy {
    				storageLogIf(logger.SetReqInfo(ctx, reqInfo),
    					fmt.Errorf("Write quorum may be lost on pool: %d, set: %d, expected write quorum: %d",
    						poolIdx, setIdx, poolWriteQuorums[poolIdx]), logger.FatalKind)
    			}
    			result.Healthy = result.Healthy && healthy
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/list.md

    | `minio_cluster_health_status`                     | Get current cluster health status              |
    | `minio_cluster_health_erasure_set_healing_drives` | Count of healing drives in the erasure set     |
    | `minio_cluster_health_erasure_set_online_drives`  | Count of online drives in the erasure set      |
    | `minio_cluster_health_erasure_set_read_quorum`    | Get read quorum of the erasure set             |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  10. internal/rest/client.go

    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    	// is online or offline.
    	HealthCheckFn func() bool
    
    	// HealthCheckRetryUnit will be used to calculate the exponential
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top