Class RecentClientErrors

java.lang.Object
com.vaadin.observability.micrometer.insights.RecentClientErrors

public class RecentClientErrors extends Object
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 Details

    • RecentClientErrors

      public RecentClientErrors(int capacity)
  • Method Details