- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 634 for epmetrics (0.65 sec)
-
test/typeparam/metrics.go
} if got, want := m1.Metrics(), []string{"a"}; !_SlicesEqual(got, want) { panic(fmt.Sprintf("Metrics = %v, want %v", got, want)) } m2 := _Metric2[int, float64]{} m2.Add(1, 1) m2.Add(2, 2) m2.Add(3, 3) m2.Add(3, 3) k1, k2 := m2.Metrics() sort.Ints(k1) w1 := []int{1, 2, 3} if !_SlicesEqual(k1, w1) { panic(fmt.Sprintf("_Metric2.Metrics first slice = %v, want %v", k1, w1)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/metrics.go
*/ package aggregated import ( "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) var ( regenerationCounter = metrics.NewCounter( &metrics.CounterOpts{ Name: "aggregator_discovery_aggregation_count_total", Help: "Counter of number of times discovery was aggregated", StabilityLevel: metrics.ALPHA, }, ) ) func init() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 17:24:02 UTC 2023 - 1009 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics.go
"sync" "time" "k8s.io/apiserver/pkg/authentication/authenticator" "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" "k8s.io/utils/clock" ) const ( namespace = "apiserver" subsystem = "authentication" ) var ( jwtAuthenticatorLatencyMetric = metrics.NewHistogramVec( &metrics.HistogramOpts{ Namespace: namespace, Subsystem: subsystem,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/metrics-v2.go
MetricV2{ Description: getMinioProcessIOReadBytesMD(), Value: float64(io.ReadBytes), }) } if io.WriteBytes > 0 { metrics = append(metrics, MetricV2{ Description: getMinioProcessIOWriteBytesMD(), Value: float64(io.WriteBytes), }) } if io.RChar > 0 { metrics = append(metrics, MetricV2{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 131.9K bytes - Viewed (0) -
cmd/metrics-router.go
) const ( prometheusMetricsPathLegacy = "/prometheus/metrics" prometheusMetricsV2ClusterPath = "/v2/metrics/cluster" prometheusMetricsV2BucketPath = "/v2/metrics/bucket" prometheusMetricsV2NodePath = "/v2/metrics/node" prometheusMetricsV2ResourcePath = "/v2/metrics/resource" // Metrics v3 endpoints metricsV3Path = "/metrics/v3" ) // Standard env prometheus auth type const (
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/metrics-v3.go
) // Collector paths. // // These are paths under the top-level /minio/metrics/v3 metrics endpoint. Each // of these paths returns a set of V3 metrics. // // Per-bucket metrics endpoints always start with /bucket and the bucket name is // appended to the path. e.g. if the collector path is /bucket/api, the endpoint // for the bucket "mybucket" would be /minio/metrics/v3/bucket/api/mybucket const (
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/metrics.go
limitations under the License. */ package webhook import ( "context" ) // AuthenticatorMetrics specifies a set of methods that are used to register various metrics type AuthenticatorMetrics struct { // RecordRequestTotal increments the total number of requests for webhooks RecordRequestTotal func(ctx context.Context, code string)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 29 07:49:14 UTC 2021 - 1.2K bytes - Viewed (0) -
cmd/metrics-v2_test.go
ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val) } } metrics := getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), false) // additional labels for +Inf for all histogram metrics if expPoints := len(labels) * (len(histBuckets) + 1); expPoints != len(metrics) { t.Fatalf("Expected %v data points but got %v", expPoints, len(metrics)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.3K bytes - Viewed (0) -
src/go/parser/testdata/metrics.go2
package metrics import "sync" type Metric1[T comparable] struct { mu sync.Mutex m map[T]int } func (m *Metric1[T]) Add(v T) { m.mu.Lock() defer m.mu.Unlock() if m.m == nil { m.m = make(map[T]int) } m[v]++ } type key2[T1, T2 comparable] struct { f1 T1 f2 T2 } type Metric2[T1, T2 cmp2] struct { mu sync.Mutex m map[key2[T1, T2]]int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 24 19:44:06 UTC 2020 - 908 bytes - Viewed (0) -
pilot/cmd/pilot-agent/metrics/metrics.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package metrics import ( "time" "istio.io/istio/pkg/log" "istio.io/istio/pkg/monitoring" ) var ( typeTag = monitoring.CreateLabel("type")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 24 04:04:42 UTC 2023 - 1.8K bytes - Viewed (0)