- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,522 for Metrics (0.14 sec)
-
pkg/proxy/metrics/metrics.go
if n.client != nil { counter, err := n.client.Get(n.counter) if err != nil { klog.ErrorS(err, "failed to collect nfacct counter", "counter", n.counter) } else { metric, err := metrics.NewConstMetric(n.description, metrics.CounterValue, float64(counter.Packets)) if err != nil { klog.ErrorS(err, "failed to create constant metric") } else { ch <- metric } }
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-21 14:39 - 13.7K bytes - Viewed (0) -
pkg/controller/podautoscaler/monitor/metrics.go
} ) var register sync.Once // Register all metrics. func Register() { // Register the metrics. register.Do(func() { registerMetrics(metricsList...) }) } // RegisterMetrics registers a list of metrics. func registerMetrics(extraMetrics ...metrics.Registerable) { for _, metric := range extraMetrics { legacyregistry.MustRegister(metric) }
Registered: 2024-06-15 01:39 - Last Modified: 2023-03-14 22:47 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/metrics.go
"k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) const ( namespace = "apiserver" subsystem = "storage" ) /* * By default, all the following metrics are defined as falling under * ALPHA stability level https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/1209-metrics-stability/kubernetes-control-plane-metrics-stability.md#stability-classes) *
Registered: 2024-06-15 01:39 - Last Modified: 2023-07-18 22:44 - 5.5K bytes - Viewed (0) -
prow/config/metrics/metrics.yaml
# With a startup probe and `--kubelet-insecure-tls` added. apiVersion: v1 kind: ServiceAccount metadata: labels: k8s-app: metrics-server name: metrics-server namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: k8s-app: metrics-server
Registered: 2024-06-14 15:00 - Last Modified: 2024-04-11 20:51 - 4.6K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/metrics/metrics.go
func (c *totalPluginsCollector) DescribeWithStability(ch chan<- *metrics.Desc) { ch <- totalPluginsDesc } // CollectWithStability implements the metrics.StableCollector interface. func (c *totalPluginsCollector) CollectWithStability(ch chan<- metrics.Metric) { for stateName, pluginCount := range c.getPluginCount() { for socketPath, count := range pluginCount {
Registered: 2024-06-15 01:39 - Last Modified: 2019-11-08 01:16 - 2.7K bytes - Viewed (0) -
pkg/controller/job/metrics/metrics.go
// action: reconciling, tracking, pods_created, pods_deleted JobSyncDurationSeconds = metrics.NewHistogramVec( &metrics.HistogramOpts{ Subsystem: JobControllerSubsystem, Name: "job_sync_duration_seconds", Help: "The time it took to sync a job", StabilityLevel: metrics.STABLE, Buckets: metrics.ExponentialBuckets(0.004, 2, 15), }, []string{"completion_mode", "result", "action"}, )
Registered: 2024-06-15 01:39 - Last Modified: 2024-03-05 17:25 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics.go
"k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) var ( latencyBuckets = metrics.ExponentialBuckets(0.001, 2, 15) ) // converterMetricFactory holds metrics for all CRD converters type converterMetricFactory struct { // A map from a converter name to it's metric. Allows the converterMetric to be created // again with the same metric for a specific converter (e.g. 'webhook').
Registered: 2024-06-15 01:39 - Last Modified: 2023-06-07 19:34 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go
&metrics.HistogramOpts{ Namespace: namespace, Subsystem: subsystem, Name: "dek_cache_inter_arrival_time_seconds", Help: "Time (in seconds) of inter arrival of transformation requests.", StabilityLevel: metrics.ALPHA, Buckets: metrics.ExponentialBuckets(60, 2, 10), }, []string{"transformation_type"}, )
Registered: 2024-06-15 01:39 - Last Modified: 2023-09-09 22:31 - 12K bytes - Viewed (0) -
pkg/kubelet/server/metrics/metrics.go
limitations under the License. */ package metrics import ( "sync" "time" "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) const ( kubeletSubsystem = "kubelet" ) var ( // HTTPRequests tracks the number of the http requests received since the server started. HTTPRequests = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: kubeletSubsystem,
Registered: 2024-06-15 01:39 - Last Modified: 2022-01-19 14:33 - 3.5K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/metrics.go
package portallocator import ( "sync" "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) const ( namespace = "kube_apiserver" subsystem = "nodeport_allocator" ) var ( // nodePortAllocated indicates the amount of ports allocated by NodePort Service. nodePortAllocated = metrics.NewGauge( &metrics.GaugeOpts{ Namespace: namespace, Subsystem: subsystem,
Registered: 2024-06-15 01:39 - Last Modified: 2023-01-26 06:44 - 3.7K bytes - Viewed (0)