Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for cedric (0.12 sec)

  1. security/pkg/server/ca/monitoring.go

    type monitoringMetrics struct {
    	CSR               monitoring.Metric
    	AuthnError        monitoring.Metric
    	Success           monitoring.Metric
    	CSRError          monitoring.Metric
    	IDExtractionError monitoring.Metric
    	certSignErrors    monitoring.Metric
    }
    
    // newMonitoringMetrics creates a new monitoringMetrics.
    func newMonitoringMetrics() monitoringMetrics {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pilot/pkg/features/telemetry.go

    	MetricRotationInterval = env.Register("METRIC_ROTATION_INTERVAL", 0*time.Second,
    		"Metric scope rotation interval, set to 0 to disable the metric scope rotation").Get()
    	MetricGracefulDeletionInterval = env.Register("METRIC_GRACEFUL_DELETION_INTERVAL", 5*time.Minute,
    		"Metric expiry graceful deletion interval. No-op if METRIC_ROTATION_INTERVAL is disabled.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:36:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/testing/benchmark_test.go

    					return cmp.Compare(a, b)
    				})
    			}
    		})
    
    		// NOTE: Report each metric once, after all of the parallel
    		// calls have completed.
    
    		// This metric is per-operation, so divide by b.N and
    		// report it as a "/op" unit.
    		b.ReportMetric(float64(compares.Load())/float64(b.N), "compares/op")
    		// This metric is per-time, so divide by b.Elapsed and
    		// report it as a "/ns" unit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. cmd/metrics-v3-handler.go

    			for _, d := range mg.Descriptors {
    				labels := slices.Clone(d.VariableLabels)
    				labels = append(labels, commonLabels...)
    				metric := metricDisplay{
    					Name:   mg.MetricFQN(d.Name),
    					Help:   d.Help,
    					Type:   d.Type.String(),
    					Labels: labels,
    				}
    				metrics = append(metrics, metric)
    			}
    		}
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:06:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

     *
     * Promoting the stability level of the metric is a responsibility of the component owner, since it
     * involves explicitly acknowledging support for the metric across multiple releases, in accordance with
     * the metric stability policy.
     */
    var (
    	listCacheCount = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/internal/trace/event_test.go

    func TestPanicEvent(t *testing.T) {
    	// Use a sync event for this because it doesn't have any extra metadata.
    	ev := syncEvent(nil, 0)
    
    	mustPanic(t, func() {
    		_ = ev.Range()
    	})
    	mustPanic(t, func() {
    		_ = ev.Metric()
    	})
    	mustPanic(t, func() {
    		_ = ev.Log()
    	})
    	mustPanic(t, func() {
    		_ = ev.Task()
    	})
    	mustPanic(t, func() {
    		_ = ev.Region()
    	})
    	mustPanic(t, func() {
    		_ = ev.Label()
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 784 bytes
    - Viewed (0)
  7. pkg/test/framework/components/prometheus/kube.go

    	for _, forwarder := range c.forwarder {
    		forwarder.Close()
    	}
    	return nil
    }
    
    type Query struct {
    	Metric      string
    	Aggregation string
    	Labels      map[string]string
    }
    
    func (q Query) String() string {
    	query := q.Metric + `{`
    
    	keys := []string{}
    	for k := range q.Labels {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/config.go

    	// If the value is 0, no compaction will be issued.
    	CompactionInterval time.Duration
    	// CountMetricPollPeriod specifies how often should count metric be updated
    	CountMetricPollPeriod time.Duration
    	// DBMetricPollInterval specifies how often should storage backend metric be updated.
    	DBMetricPollInterval time.Duration
    	// HealthcheckTimeout specifies the timeout used when checking health
    	HealthcheckTimeout time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/trace/jsontrace_test.go

    	for _, e := range data.Events {
    		if e.Phase == "C" && e.Name == "Heap" {
    			j, _ := json.Marshal(e.Arg)
    			var metric format.HeapCountersArg
    			json.Unmarshal(j, &metric)
    			metrics = append(metrics, metric)
    		}
    	}
    	return
    }
    
    func recordJSONTraceHandlerResponse(t *testing.T, parsed *parsedTrace) format.Data {
    	h := JSONTraceHandler(parsed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/internal/trace/value.go

    // to that possibility.
    func (v Value) Kind() ValueKind {
    	return v.kind
    }
    
    // Uint64 returns the uint64 value for a MetricSampleUint64.
    //
    // Panics if this metric sample's Kind is not MetricSampleUint64.
    func (v Value) Uint64() uint64 {
    	if v.kind != ValueUint64 {
    		panic("Uint64 called on Value of a different Kind")
    	}
    	return v.scalar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top