Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/metrics-v3-types.go

    	}
    	return md.labelSet
    }
    
    func (md *MetricDescriptor) toPromName(namePrefix string) string {
    	return prometheus.BuildFQName(namePrefix, "", string(md.Name))
    }
    
    func (md *MetricDescriptor) toPromDesc(namePrefix string, extraLabels map[string]string) *prometheus.Desc {
    	return prometheus.NewDesc(
    		md.toPromName(namePrefix),
    		md.Help,
    		md.VariableLabels, extraLabels,
    	)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top