- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for registerRule (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go
// `*TimingRatioHistogram` implements both Registerable and RatioedGauge. type TimingRatioHistogram struct { // The implementation is layered on TimingHistogram, // adding the division by an occasionally adjusted denominator. // Registerable is the registerable aspect. // That is the registerable aspect of the underlying TimingHistogram. compbasemetrics.Registerable
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics.go
// if the metrics cannot be re-registered. Returns all the reset metrics func (m *validationMetrics) Reset() []metrics.Registerable { m.RatchetingTime = metrics.NewHistogram(m.RatchetingTime.HistogramOpts) return []metrics.Registerable{m.RatchetingTime}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:57:34 UTC 2023 - 2K bytes - Viewed (0) -
pkg/controller/podautoscaler/monitor/metrics.go
Buckets: metrics.ExponentialBuckets(0.001, 2, 15), StabilityLevel: metrics.ALPHA, }, []string{"action", "error", "metric_type"}) metricsList = []metrics.Registerable{ reconciliationsTotal, reconciliationsDuration, metricComputationTotal, metricComputationDuration, } ) var register sync.Once // Register all metrics. func Register() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 22:47:24 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/controller/replicaset/metrics/metrics.go
Buckets: metrics.ExponentialBuckets(0.25, 2, 6), StabilityLevel: metrics.ALPHA, }, ) // Register registers ReplicaSet controller metrics. func Register(registrationFunc func(metrics.Registerable) error) error { return registrationFunc(SortingDeletionAgeRatio)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 15:28:42 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/metrics.go
*/ package authenticatorfactory import ( "context" compbasemetrics "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) type registerables []compbasemetrics.Registerable // init registers all metrics. func init() { for _, metric := range metrics { legacyregistry.MustRegister(metric) } } var ( requestTotal = compbasemetrics.NewCounterVec(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 29 07:49:14 UTC 2021 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go
f.realSum += d } func (f *fakeMetrics) Reset() []metrics.Registerable { f.realSum = 0 originalResettable, ok := f.original.(resettable) if !ok { panic("wrapped metrics must implement resettable") } return originalResettable.Reset() } type resettable interface { Reset() []metrics.Registerable } func TestMetrics(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.9K bytes - Viewed (1) -
pkg/scheduler/metrics/metrics.go
StabilityLevel: metrics.ALPHA, }, []string{"plugin", "extension_point", "profile"}) metricsList = []metrics.Registerable{ scheduleAttempts, schedulingLatency, SchedulingAlgorithmLatency, PreemptionVictims, PreemptionAttempts, pendingPods, PodSchedulingDuration, PodSchedulingSLIDuration,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:22:53 UTC 2024 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go
// A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("k8s.io/apimachinery/pkg/runtime/schema/generated.proto", fileDescriptor_25f8f0eed21c6089) } var fileDescriptor_25f8f0eed21c6089 = []byte{ // 170 bytes of a gzipped FileDescriptorProto
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go
} // Registerables is a slice of Registerable type Registerables []compbasemetrics.Registerable // Append adds more func (rs Registerables) Append(more ...compbasemetrics.Registerable) Registerables { return append(rs, more...) } var ( apiserverRejectedRequestsTotal = compbasemetrics.NewCounterVec(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 19:40:05 UTC 2023 - 25.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/generated.pb.go
func init() { proto.RegisterType((*Quantity)(nil), "k8s.io.apimachinery.pkg.api.resource.Quantity") proto.RegisterType((*QuantityValue)(nil), "k8s.io.apimachinery.pkg.api.resource.QuantityValue") } func init() { proto.RegisterFile("k8s.io/apimachinery/pkg/api/resource/generated.proto", fileDescriptor_7288c78ff45111e9) } var fileDescriptor_7288c78ff45111e9 = []byte{ // 234 bytes of a gzipped FileDescriptorProto
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 4.5K bytes - Viewed (0)