You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// RetrieveNodeStateParallel pulls all the dtstate from nodes in the cluster all at once
func (c *EcsClient) RetrieveNodeStateParallel() []NodeState {
var NodeStates []NodeState
ch := make(chan NodeState)
for _, node := range c.nodeListMgmtIP {
go c.retrieveNodeState(node, ch)
}
for range c.nodeListMgmtIP {
NodeStates = append(NodeStates, <-ch)
}
return NodeStates
}
RetrieveNodeStateParallel needs to be removed it will cause massive outage during an upgrade
DTState only needs to be pulled from Rack1 node1 in the cluster.
Also please use this API so it uses cached results /stats/dt/DTAutoCheckResult
The text was updated successfully, but these errors were encountered:
https://github.com/paychex/prometheus-emcecs-exporter/blob/master/pkg/ecsclient/ecsclient.go
RetrieveNodeStateParallel needs to be removed it will cause massive outage during an upgrade
DTState only needs to be pulled from Rack1 node1 in the cluster.
Also please use this API so it uses cached results /stats/dt/DTAutoCheckResult
The text was updated successfully, but these errors were encountered: