- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newMetricGroups (0.34 sec)
-
cmd/metrics-v3.go
bucketMGMap map[collectorPath]*MetricsGroup // Gatherers for non-bucket MetricsGroup's mgGatherers map[collectorPath]prometheus.Gatherer collectorPaths []collectorPath } func newMetricGroups(r *prometheus.Registry) *metricsV3Collection { // Create all metric groups. apiRequestsMG := NewMetricsGroup(apiRequestsCollectorPath, []MetricDescriptor{ apiRejectedAuthTotalMD, apiRejectedHeaderTotalMD,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 17:37:57 GMT 2024 - 10.7K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
registry := prometheus.NewRegistry() authFn := AuthMiddleware if authType == prometheusPublic { authFn = NoAuthMiddleware } metricGroups := newMetricGroups(registry) return &metricsV3Server{ registry: registry, opts: promhttp.HandlerOpts{ ErrorLog: promLogger{}, ErrorHandling: promhttp.HTTPErrorOnError, Registry: registry,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 17:37:57 GMT 2024 - 7.5K bytes - Viewed (0)