Package com.netflix.zuul.stats
Class ErrorStatsData
java.lang.Object
com.netflix.zuul.stats.ErrorStatsData
- All Implemented Interfaces:
NamedCount
Implementation of a Named counter to monitor and count error causes by route. Route is a defined zuul concept to
categorize requests into buckets. By default this is the first segment of the uri
-
Constructor Summary
ConstructorsConstructorDescriptionErrorStatsData
(String route, String cause) create a counter by route and cause of error -
Method Summary
-
Constructor Details
-
ErrorStatsData
create a counter by route and cause of error- Parameters:
route
-cause
-
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
update
public void update()increments the counter -
getName
- Specified by:
getName
in interfaceNamedCount
-
getCount
public long getCount()- Specified by:
getCount
in interfaceNamedCount
-