Class RecentClientErrors
java.lang.Object
com.vaadin.observability.micrometer.insights.RecentClientErrors
Bounded in-memory ring buffer of errors reported by browsers. Oldest entries
are evicted first; memory use is hard-capped by
capacity.
Kept apart from RecentInteractions for the same reason the query
buffer is: reports arrive from every browser at once when connectivity comes
back, and a burst of them must not evict the server-side interactions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CapturedClientError error) snapshot()Returns a snapshot, newest first.
-
Constructor Details
-
RecentClientErrors
public RecentClientErrors(int capacity)
-
-
Method Details
-
add
-
snapshot
Returns a snapshot, newest first.
-