Collects number of pass and fail invokes. More...
Public Member Functions | |
void | flush () |
Method is not used for this collector => disabled. More... | |
void | onError (Object query, Object endpoint, Throwable error) |
Method is called when some error occurred. More... | |
void | onFail (Object query, Object endpoint, InvocationException e) |
Method is called when invoke failed. More... | |
void | onStart (Object query, Object endpoint) |
Method is called before invoke to save invoke start time. More... | |
void | onSuccess (Object query, Object endpoint, Object result, long duration) |
Method is called when invoke was successful. More... | |
SuccessRateCollector (String sessionId, String taskId, NodeContext kernelContext, String name) | |
Default constructor. More... | |
Public Member Functions inherited from com.griddynamics.jagger.engine.e1.collector.MetricCollector< Q, R, E > | |
void | flush () |
MetricCollector (String sessionId, String taskId, NodeContext kernelContext, MetricCalculator metricCalculator, String name) | |
void | onError (Q query, E endpoint, Throwable error) |
void | onFail (Q query, E endpoint, InvocationException e) |
void | onStart (Q query, E endpoint) |
void | onSuccess (Q query, E endpoint, R result, long duration) |
Additional Inherited Members | |
Static Public Attributes inherited from com.griddynamics.jagger.engine.e1.collector.MetricCollector< Q, R, E > | |
static final String | METRIC_MARKER = "METRIC" |
Collects number of pass and fail invokes.
Collects number of pass and fail invokes.
Success rate and number of fails are calculated from this data.
Calculation is provided by aggregators: