Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for paste (0.26 sec)

  1. docs/metrics/prometheus/README.md

      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ### 4. Update `scrape_configs` section in prometheus.yml
    
    To authorize every scrape request, copy and paste the generated `scrape_configs` section in the prometheus.yml and restart the Prometheus service.
    
    ### 5. Start Prometheus
    
    Start (or) Restart Prometheus service by running
    
    ```sh
    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)
  2. cmd/auth-handler.go

    				atomic.AddUint64(&globalHTTPStats.rejectedRequestsTime, 1)
    				return
    			}
    			// Verify if the request date header is shifted by less than globalMaxSkewTime parameter in the past
    			// or in the future, reject request otherwise.
    			curTime := UTCNow()
    			if curTime.Sub(amzDate) > globalMaxSkewTime || amzDate.Sub(curTime) > globalMaxSkewTime {
    				if ok {
    					tc.FuncName = "handler.Auth"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. cmd/bucket-object-lock.go

    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in "Compliance" mode can be overwritten only if retention date is past.
    func enforceRetentionBypassForDelete(ctx context.Context, r *http.Request, bucket string, object ObjectToDelete, oi ObjectInfo, gerr error) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	}
    
    	// queue replication heal in a goroutine to avoid holding up mrf save routine
    	go func() {
    		for vID, e := range mrfRec.Entries {
    			ctx, cancel := context.WithTimeout(p.ctx, time.Second) // Do not waste more than a second on this.
    
    			oi, err := p.objLayer.GetObjectInfo(ctx, e.Bucket, e.Object, ObjectOptions{
    				VersionID: vID,
    			})
    			cancel()
    			if err != nil {
    				continue
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/metacache-set.go

    	resCh := resultsDone
    	var done bool
    	var mu sync.Mutex
    	resErr := io.EOF
    
    	go func() {
    		var results metaCacheEntriesSorted
    		var returned bool
    		for entry := range in {
    			if returned {
    				// past limit
    				continue
    			}
    			mu.Lock()
    			returned = done
    			mu.Unlock()
    			if returned {
    				resCh = nil
    				continue
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    				}
    			}
    		}
    	}
    
    	if len(events) > 0 {
    		slices.SortFunc(events, func(a, b Event) int {
    			// Prefer Expiration over Transition for both current
    			// and noncurrent versions when,
    			// - now is past the expected time to action
    			// - expected time to action is the same for both actions
    			if now.After(a.Due) && now.After(b.Due) || a.Due.Equal(b.Due) {
    				switch a.Action {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			isDelMarker:     true,
    			hasManyVersions: true,
    			expectedAction:  NoneAction,
    		},
    		// Should delete all versions of this object since the latest version has past the expiry days criteria
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top