Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StaticLabels (0.07 sec)

  1. cmd/metrics-v2_gen.go

    				return
    			}
    		case "StaticLabels":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "StaticLabels")
    				return
    			}
    			if z.StaticLabels == nil {
    				z.StaticLabels = make(map[string]string, zb0002)
    			} else if len(z.StaticLabels) > 0 {
    				for key := range z.StaticLabels {
    					delete(z.StaticLabels, key)
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		Value:                m.Value,
    		HistogramBucketLabel: m.HistogramBucketLabel,
    		StaticLabels:         make(map[string]string, len(m.StaticLabels)),
    		VariableLabels:       make(map[string]string, len(m.VariableLabels)),
    		Histogram:            make(map[string]uint64, len(m.Histogram)),
    	}
    	for k, v := range m.StaticLabels {
    		metric.StaticLabels[k] = v
    	}
    	for k, v := range m.VariableLabels {
    		metric.VariableLabels[k] = v
    	}
    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