(registry *routing.EndpointRegistry, endpoint routing.LBEndpoint, count int)
| 475 | } |
| 476 | |
| 477 | func addInflightRequests(registry *routing.EndpointRegistry, endpoint routing.LBEndpoint, count int) { |
| 478 | for i := 0; i < count; i++ { |
| 479 | endpoint.Metrics.IncInflightRequest() |
| 480 | registry.GetMetrics(endpoint.Host).IncInflightRequest() |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | // Measures how fair the hash ring is to each endpoint. |
| 485 | // i.e. Of the possible hashes, how many will go to each endpoint. The lower the standard deviation the better. |
no test coverage detected
searching dependent graphs…