- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for peerMetricsGroups (0.33 sec)
-
cmd/peer-rest-server.go
// GetPeerMetrics gets the metrics to be federated across peers. func (s *peerRESTServer) GetPeerMetrics(_ *grid.MSS) (*grid.Array[*MetricV2], *grid.RemoteErr) { res := make([]*MetricV2, 0, len(peerMetricsGroups)) populateAndPublish(peerMetricsGroups, func(m MetricV2) bool { if m.VariableLabels == nil { m.VariableLabels = make(map[string]string, 1) } m.VariableLabels[serverName] = globalLocalNodeName res = append(res, &m)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0)