- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for Cedric (0.36 sec)
-
cmd/data-scanner-metric.go
return true }) return i } // lifetime returns the lifetime count of the specified metric. func (p *scannerMetrics) lifetime(m scannerMetric) uint64 { if m >= scannerMetricLast { return 0 } val := atomic.LoadUint64(&p.operations[m]) return val } // lastMinute returns the last minute statistics of a metric. // m should be < scannerMetricLastRealtime
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 25 05:15:31 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/scheduler/metrics/metric_recorder.go
} // Dec decreases a metric counter by 1, in an atomic way func (r *PendingPodsRecorder) Dec() { r.recorder.Dec() } // Clear set a metric counter to 0, in an atomic way func (r *PendingPodsRecorder) Clear() { r.recorder.Set(float64(0)) } // metric is the data structure passed in the buffer channel between the main framework thread // and the metricsRecorder goroutine. type metric struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 16 07:27:08 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/monitoring/monitortest/test.go
func (m *MetricsTest) Metrics() []Metric { m.t.Helper() res, err := m.reg.Gather() if err != nil { m.t.Fatal(err) } metrics := []Metric{} for _, metric := range res { if len(metric.Metric) == 0 { m.t.Logf("%v: no rows", *metric.Name) } for _, row := range metric.Metric { m := Metric{Name: *metric.Name, Labels: map[string]string{}, Value: display(row)}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 13 16:04:48 UTC 2023 - 7.2K bytes - Viewed (0) -
pkg/monitoring/disabled.go
name string } // Decrement implements Metric func (dm *disabledMetric) Decrement() {} // Increment implements Metric func (dm *disabledMetric) Increment() {} // Name implements Metric func (dm *disabledMetric) Name() string { return dm.name } // Record implements Metric func (dm *disabledMetric) Record(value float64) {} // RecordInt implements Metric func (dm *disabledMetric) RecordInt(value int64) {}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/metrics/value.go
return v.kind } // Uint64 returns the internal uint64 value for the metric. // // If v.Kind() != KindUint64, this method panics. func (v Value) Uint64() uint64 { if v.kind != KindUint64 { panic("called Uint64 on non-uint64 metric value") } return v.scalar } // Float64 returns the internal float64 value for the metric. // // If v.Kind() != KindFloat64, this method panics.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:59:11 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/monitoring/monitoring.go
for name, def := range d.known { if def.Bounds == nil { continue } // for each histogram metric (i.e. those with bounds), set up a view explicitly defining those buckets. v := metric.WithView(metric.NewView( metric.Instrument{Name: name}, metric.Stream{Aggregation: metric.AggregationExplicitBucketHistogram{ Boundaries: def.Bounds, }}, )) opts = append(opts, v) } return opts
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0) -
tests/integration/telemetry/policy/traffic_allow_any_test.go
) func TestOutboundTrafficPolicy_AllowAny(t *testing.T) { cases := []*TestCase{ { Name: "HTTP Traffic", PortName: "http", Expected: Expected{ Query: prometheus.Query{ Metric: "istio_requests_total", Aggregation: "sum", Labels: map[string]string{ "reporter": "source", "destination_service_name": "PassthroughCluster",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 18 18:03:23 UTC 2022 - 5.4K bytes - Viewed (0) -
tests/integration/telemetry/policy/traffic_registry_only_test.go
Query: prometheus.Query{ Metric: "istio_tcp_connections_closed_total", Aggregation: "sum", Labels: map[string]string{ "destination_service_name": "BlackHoleCluster", }, }, }, }, { Name: "HTTPS Traffic Conflict", PortName: "https-conflict", Expected: Expected{ Query: prometheus.Query{ Metric: "istio_tcp_connections_closed_total",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 18 18:03:23 UTC 2022 - 3.3K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/instrumented_plugins.go
) type instrumentedFilterPlugin struct { framework.FilterPlugin metric compbasemetrics.CounterMetric } var _ framework.FilterPlugin = &instrumentedFilterPlugin{} func (p *instrumentedFilterPlugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { p.metric.Inc() return p.FilterPlugin.Filter(ctx, state, pod, nodeInfo) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 2.4K bytes - Viewed (0) -
pkg/monitoring/options.go
package monitoring // Options encode changes to the options passed to a Metric at creation time. type Options func(*options) type options struct { enabledCondition func() bool unit Unit name string description string } // WithUnit provides configuration options for a new Metric, providing unit of measure // information for a new Metric. func WithUnit(unit Unit) Options { return func(opts *options) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.6K bytes - Viewed (0)