Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setLabel (0.28 sec)

  1. cmd/metrics-v2.go

    			// values
    			bugLogIf(GlobalContext, err)
    			continue
    		}
    
    		h := dtoMetric.GetHistogram()
    		for _, b := range h.Bucket {
    			labels := make(map[string]string)
    			for _, lp := range dtoMetric.GetLabel() {
    				if *lp.Name == "api" && toLowerAPILabels {
    					labels[*lp.Name] = strings.ToLower(*lp.Value)
    				} else {
    					labels[*lp.Name] = *lp.Value
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top