Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for metricsLogIf (0.32 sec)

  1. cmd/metrics-v3-handler.go

    	"github.com/minio/pkg/v3/env"
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/promhttp"
    )
    
    type promLogger struct{}
    
    func (p promLogger) Println(v ...any) {
    	metricsLogIf(GlobalContext, fmt.Errorf("metrics handler error: %v", v))
    }
    
    type metricsV3Server struct {
    	registry *prometheus.Registry
    	opts     promhttp.HandlerOpts
    	auth     func(http.Handler) http.Handler
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. cmd/logging.go

    	logger.LogIf(ctx, "etcd", err, errKind...)
    }
    
    func etcdLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "etcd", err, id, errKind...)
    }
    
    func metricsLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "metrics", err, errKind...)
    }
    
    func s3LogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "s3", err, errKind...)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		// metrics pertinent to site replication - overall roll up.
    		if globalSiteReplicationSys.isEnabled() {
    			m, err := globalSiteReplicationSys.getSiteMetrics(GlobalContext)
    			if err != nil {
    				metricsLogIf(GlobalContext, err)
    				return ml
    			}
    			ml = append(ml, MetricV2{
    				Description: getRepReceivedBytesMD(clusterMetricNamespace),
    				Value:       float64(m.ReplicaSize),
    			})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
Back to top