Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StaticLabels (0.04 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 23 20:56:18 UTC 2025
    - 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)),
    	}
    	maps.Copy(metric.StaticLabels, m.StaticLabels)
    	maps.Copy(metric.VariableLabels, m.VariableLabels)
    	maps.Copy(metric.Histogram, m.Histogram)
    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