Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCounterMD (0.07 sec)

  1. cmd/metrics-v3-types.go

    	return prometheus.NewDesc(
    		md.toPromName(namePrefix),
    		md.Help,
    		md.VariableLabels, extraLabels,
    	)
    }
    
    // NewCounterMD - creates a new counter metric descriptor.
    func NewCounterMD(name MetricName, help string, labels ...string) MetricDescriptor {
    	return MetricDescriptor{
    		Name:           name,
    		Type:           CounterMT,
    		Help:           help,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top