Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for Janitor (0.21 sec)

  1. internal/bucket/bandwidth/monitor.go

    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    	mlock sync.RWMutex // mutex for bucket measurement
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor_test.go

    			t.Parallel()
    			thr := bucketThrottle{
    				NodeBandwidthPerSec: 1024 * 1024,
    			}
    			th := make(map[BucketOptions]*bucketThrottle)
    			th[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = &thr
    			m := &Monitor{
    				bucketsMeasurement: tt.fields.activeBuckets,
    				bucketsThrottle:    th,
    				NodeCount:          1,
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. docs/metrics/README.md

    `<Address for MinIO Node>/minio/v2/metrics/resource`.
    
    To use this endpoint, setup Prometheus to scrape data from this endpoint. Read more on how to configure and use Prometheus to monitor MinIO server in [How to monitor MinIO server with Prometheus](https://github.com/minio/minio/blob/master/docs/metrics/prometheus/README.md).
    
    ### **Deprecated metrics monitoring**
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 1.9K bytes
    - Viewed (1)
  4. docs/bucket/replication/README.md

    On the target bucket, `s3:PutObject` event shows `X-Amz-Replication-Status` status of `REPLICA` in the metadata. Additional metrics to monitor backlog state for the purpose of bandwidth management and resource allocation are exposed via Prometheus - see <https://github.com/minio/minio/blob/master/docs/metrics/prometheus/list.md> for more details.
    
    ### Sync/Async Replication
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor_gen_test.go

    Klaus Post <******@****.***> 1708383286 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    ```
    
    ### Step 3: Test on Redis
    
    Start the `redis-cli` Redis client program to inspect the contents in Redis. Run the `monitor` Redis command. This prints each operation performed on Redis as it occurs.
    
    ```
    redis-cli -a yoursecret
    127.0.0.1:6379> monitor
    OK
    ```
    
    Open another terminal and upload a JPEG image into `images` bucket.
    
    ```
    mc cp myphoto.jpg myminio/images
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  7. cmd/erasure-sets.go

    	s.connectDisks()
    
    	monitor := time.NewTimer(monitorInterval)
    	defer monitor.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-monitor.C:
    			if serverDebugLog {
    				console.Debugln("running drive monitoring")
    			}
    
    			s.connectDisks()
    
    			// Reset the timer for next interval
    			monitor.Reset(monitorInterval)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  8. cmd/server-main.go

    	if globalBucketMetadataSys == nil {
    		globalBucketMetadataSys = NewBucketMetadataSys()
    	} else {
    		// Reinitialize safely when testing.
    		globalBucketMetadataSys.Reset()
    	}
    
    	// Create the bucket bandwidth monitor
    	globalBucketMonitor = bandwidth.NewMonitor(ctx, uint64(totalNodeCount()))
    
    	// Create a new config system.
    	globalConfigSys = NewConfigSys()
    
    	// Create new IAM system.
    	globalIAMSys = NewIAMSys()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (2)
Back to top