public static class LoadBalancerEventsListener.ServerCounters extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PER_SERVER_CATEGORY |
static String |
SERVER_TAG |
Constructor and Description |
---|
ServerCounters(CounterRegistry registry,
URI server) |
Modifier and Type | Method and Description |
---|---|
IntegerCounter |
getIsBestServerCount() |
SamplingCounter |
getLatencyMicros() |
IntegerCounter |
getPingRequestCount() |
IntegerCounter |
getPingRequestErrorCount() |
SamplingCounter |
getPingRequestLatencyMillis() |
IntegerCounter |
getPingRequestTimeoutCount() |
IntegerCounter |
getRequestCount() |
IntegerCounter |
getRequestErrorCount() |
SamplingCounter |
getRequestSizeBytes() |
IntegerCounter |
getRequestTimeoutCount() |
SamplingCounter |
getResponseSizeBytes() |
IntegerCounter |
getServerNotHealthyCount() |
static com.google.common.collect.ImmutableMap<String,String> |
getTagsForServer(URI server) |
public static final String PER_SERVER_CATEGORY
public static final String SERVER_TAG
public ServerCounters(CounterRegistry registry, URI server)
public IntegerCounter getIsBestServerCount()
public SamplingCounter getPingRequestLatencyMillis()
public IntegerCounter getPingRequestCount()
public IntegerCounter getPingRequestErrorCount()
public IntegerCounter getPingRequestTimeoutCount()
public IntegerCounter getServerNotHealthyCount()
public SamplingCounter getRequestSizeBytes()
public SamplingCounter getLatencyMicros()
public SamplingCounter getResponseSizeBytes()
public IntegerCounter getRequestCount()
public IntegerCounter getRequestErrorCount()
public IntegerCounter getRequestTimeoutCount()