- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for VariableLabels (0.08 sec)
-
cmd/metrics-v2.go
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 } for k, v := range m.Histogram { metric.Histogram[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) -
cmd/metrics-v2_gen.go
return } case "VariableLabels": var zb0003 uint32 zb0003, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err, "VariableLabels") return } if z.VariableLabels == nil { z.VariableLabels = make(map[string]string, zb0003) } else if len(z.VariableLabels) > 0 { for key := range z.VariableLabels { delete(z.VariableLabels, 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) -
cmd/metrics-v3-types.go
Type MetricType Help string VariableLabels []string // managed values follow: labelSet map[string]struct{} } func (md *MetricDescriptor) getLabelSet() map[string]struct{} { if md.labelSet != nil { return md.labelSet } md.labelSet = make(map[string]struct{}, len(md.VariableLabels)) for _, label := range md.VariableLabels { md.labelSet[label] = struct{}{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0) -
cmd/data-usage-utils.go
Description: getClusterTransitionedBytesMD(), Value: float64(st.TotalSize), VariableLabels: map[string]string{"tier": tier}, }) metrics = append(metrics, MetricV2{ Description: getClusterTransitionedObjectsMD(), Value: float64(st.NumObjects), VariableLabels: map[string]string{"tier": tier}, }) metrics = append(metrics, MetricV2{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/metrics-resource.go
Value: rm.Current, VariableLabels: cloneMSS(rm.Labels), }) if requireAvgMax { avgName := MetricName(fmt.Sprintf("%s_avg", name)) avgHelp := fmt.Sprintf("%s (avg)", help) metrics = append(metrics, MetricV2{ Description: getResourceMetricDescription(subSys, avgName, avgHelp), Value: math.Round(rm.Avg*100) / 100, VariableLabels: cloneMSS(rm.Labels), })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 23:30:33 UTC 2024 - 17.2K bytes - Viewed (0) -
cmd/peer-rest-server.go
res := make([]*MetricV2, 0, len(resourceMetricsGroups)) populateAndPublish(resourceMetricsGroups, func(m MetricV2) bool { if m.VariableLabels == nil { m.VariableLabels = make(map[string]string, 1) } m.VariableLabels[serverName] = globalLocalNodeName res = append(res, &m) return true }) return aoMetricsGroup.NewWith(res), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
cmd/tier.go
metrics = append(metrics, MetricV2{ Description: tierRequestsSuccessMD, Value: float64(stat.success), VariableLabels: map[string]string{"tier": tier}, }) metrics = append(metrics, MetricV2{ Description: tierRequestsFailureMD, Value: float64(stat.failure), VariableLabels: map[string]string{"tier": tier}, }) } return metrics }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
var commonLabels []string for k := range mg.ExtraLabels { commonLabels = append(commonLabels, k) } for _, d := range mg.Descriptors { labels := slices.Clone(d.VariableLabels) labels = append(labels, commonLabels...) metric := metricDisplay{ Name: mg.MetricFQN(d.Name), Help: d.Help, Type: d.Type.String(), Labels: labels, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 7.8K bytes - Viewed (0)