- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 548 for cedric (0.13 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/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 ( etcdRequestLatency = compbasemetrics.NewHistogramVec( &compbasemetrics.HistogramOpts{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 21:15:32 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/metrics/example_test.go
"fmt" "runtime/metrics" ) func ExampleRead_readingOneMetric() { // Name of the metric we want to read. const myMetric = "/memory/classes/heap/free:bytes" // Create a sample for the metric. sample := make([]metrics.Sample, 1) sample[0].Name = myMetric // Sample the metric. metrics.Read(sample) // Check if the metric is actually supported. // If it's not, the resulting value will always have // kind KindBad.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 08 16:09:01 UTC 2021 - 2.6K 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) -
staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.yaml
- containerResource: container: containerValue name: nameValue target: averageUtilization: 4 averageValue: "0" type: typeValue value: "0" external: metric: name: nameValue selector: matchExpressions: - key: keyValue operator: operatorValue values: - valuesValue matchLabels:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 4.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2beta2.HorizontalPodAutoscaler.json
}, "target": { "type": "typeValue", "value": "0", "averageValue": "0", "averageUtilization": 4 }, "metric": { "name": "nameValue", "selector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 7.3K bytes - Viewed (0)