| Constructor and Description |
|---|
Metrics.Errors() |
| Modifier and Type | Method and Description |
|---|---|
com.yammer.metrics.core.Counter |
getConnectionErrors()
Returns the number of connection to Cassandra nodes errors.
|
com.yammer.metrics.core.Counter |
getIgnores()
Returns the number of times a request was ignored
due to the
RetryPolicy, for
example due to timeouts or unavailability. |
com.yammer.metrics.core.Counter |
getOthers()
Returns the number of requests that returned errors not accounted for by
another metric.
|
com.yammer.metrics.core.Counter |
getReadTimeouts()
Returns the number of read requests that returned a timeout (independently
of the final decision taken by the
RetryPolicy). |
com.yammer.metrics.core.Counter |
getRetries()
Returns the number of times a request was retried due to the
RetryPolicy. |
com.yammer.metrics.core.Counter |
getUnavailables()
Returns the number of requests that returned an unavailable exception
(independently of the final decision taken by the
RetryPolicy). |
com.yammer.metrics.core.Counter |
getWriteTimeouts()
Returns the number of write requests that returned a timeout (independently
of the final decision taken by the
RetryPolicy). |
public com.yammer.metrics.core.Counter getConnectionErrors()
This represents the number of times that a request to a Cassandra node has failed due to a connection problem. This thus also corresponds to how often the driver had to pick a fallback host for a request.
You can expect a few connection errors when a Cassandra node fails (or is stopped) ,but if that number grows continuously you likely have a problem.
public com.yammer.metrics.core.Counter getWriteTimeouts()
RetryPolicy).public com.yammer.metrics.core.Counter getReadTimeouts()
RetryPolicy).public com.yammer.metrics.core.Counter getUnavailables()
RetryPolicy).public com.yammer.metrics.core.Counter getOthers()
public com.yammer.metrics.core.Counter getRetries()
RetryPolicy.RetryPolicy.public com.yammer.metrics.core.Counter getIgnores()
RetryPolicy, for
example due to timeouts or unavailability.RetryPolicy.Copyright © 2014. All Rights Reserved.