Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for target_id (0.68 sec)

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

    	auditTotalMessages     = "total_messages"
    	targetID               = "target_id"
    )
    
    var (
    	auditFailedMessagesMD = NewCounterMD(auditFailedMessages,
    		"Total number of messages that failed to send since start",
    		targetID)
    	auditTargetQueueLengthMD = NewGaugeMD(auditTargetQueueLength,
    		"Number of unsent messages in queue for target",
    		targetID)
    	auditTotalMessagesMD = NewCounterMD(auditTotalMessages,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 09:18:02 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients.cc

      for (int i = 0; i < target_tensor_ids.size(); ++i) {
        int64_t target_id = target_tensor_ids[i];
        if (sources_set.find(target_id) != sources_set.end()) {
          auto tensor = targets[i];
          sources_that_are_targets.insert(
              std::make_pair(target_id, TapeTensor(tensor)));
        }
      }
    
      TF_RETURN_IF_ERROR(GradientTape::ComputeGradient(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    						Name:      "target_total_events",
    						Help:      "Total number of events sent (or) queued to the target",
    						Type:      counterMetric,
    					},
    					VariableLabels: map[string]string{"target_id": id.ID, "target_name": id.Name},
    					Value:          float64(st.TotalEvents),
    				})
    				metrics = append(metrics, MetricV2{
    					Description: MetricDescription{
    						Namespace: minioNamespace,
    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. docs/metrics/v3.md

    | `minio_cluster_audit_target_queue_length` | `gauge`   | Number of unsent messages in queue for target            | `target_id` |
    | `minio_cluster_audit_total_messages`      | `counter` | Total number of messages sent since start                | `target_id` |
    
    ### `/cluster/usage/objects`
    
    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)
  5. internal/config/lambda/event/targetid.go

    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. internal/event/targetlist_test.go

    		expectedResult []TargetID
    		expectErr      bool
    	}{
    		{targetListCase1, &ExampleTarget{TargetID{"1", "webhook"}, false, false}, []TargetID{{"1", "webhook"}}, false},
    		{targetListCase2, &ExampleTarget{TargetID{"1", "webhook"}, false, false}, []TargetID{{"2", "testcase"}, {"1", "webhook"}}, false},
    		{targetListCase3, &ExampleTarget{TargetID{"3", "testcase"}, false, false}, nil, true},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. internal/event/targetid.go

    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  8. internal/event/targetid_test.go

    		data             []byte
    		expectedTargetID *TargetID
    		expectErr        bool
    	}{
    		{[]byte(`""`), nil, true},
    		{[]byte(`"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"`), nil, true},
    		{[]byte(`":"`), &TargetID{}, false},
    		{[]byte(`"1:webhook"`), &TargetID{"1", "webhook"}, false},
    	}
    
    	for i, testCase := range testCases {
    		targetID := &TargetID{}
    		err := targetID.UnmarshalJSON(testCase.data)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  9. internal/config/lambda/event/targetid_test.go

    		data             []byte
    		expectedTargetID *TargetID
    		expectErr        bool
    	}{
    		{[]byte(`""`), nil, true},
    		{[]byte(`"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"`), nil, true},
    		{[]byte(`":"`), &TargetID{}, false},
    		{[]byte(`"1:webhook"`), &TargetID{"1", "webhook"}, false},
    	}
    
    	for i, testCase := range testCases {
    		targetID := &TargetID{}
    		err := targetID.UnmarshalJSON(testCase.data)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  10. internal/event/rules.go

    // Match - returns TargetIDSet matching object name in rules.
    func (rules Rules) Match(objectName string) TargetIDSet {
    	targetIDs := NewTargetIDSet()
    
    	for pattern, targetIDSet := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    			targetIDs = targetIDs.Union(targetIDSet)
    		}
    	}
    
    	return targetIDs
    }
    
    // Clone - returns copy of this rules.
    func (rules Rules) Clone() Rules {
    	rulesCopy := make(Rules)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top