1. 19 Jun, 2023 1 commit
  2. 15 Jun, 2023 1 commit
  3. 08 Jun, 2023 1 commit
  4. 10 Sep, 2022 1 commit
  5. 09 Aug, 2022 1 commit
  6. 01 Aug, 2022 1 commit
    • bgrozev's avatar
      feat: Add silence detection to DSI. (#127) · 4543f763
      bgrozev authored
      * ref: Remove unused method.
      * feat: Add silence detection to DSI.
      * test: Add tests for silence detection.
      * ref: Pass "now" as a parameter, reduce use of clock.millis().
      4543f763
  7. 25 Jul, 2022 1 commit
  8. 20 Jul, 2022 2 commits
  9. 19 Jul, 2022 1 commit
    • bgrozev's avatar
      Refactor DSI and add tests (#123) · 40c4d6da
      bgrozev authored
      * ref: Use a Clock instead of System.currentTimeMillis().
      * ref: Use a ScheduledExecutor for DSI DecisionMaker
      
      Schedule the decision maker in a ScheduledExecutorService instead of
      running in it's own thread and pausing using sleep(). Facilitates
      testing.
      
      * ref: Pull in FakeClock and FakeScheduledExecutorService from jicoco.
      
      * test: Add test for DSI.
      40c4d6da
  10. 26 May, 2022 1 commit
  11. 25 May, 2022 1 commit
  12. 24 May, 2022 1 commit
    • bgrozev's avatar
      ref: Update the BucketStats API (#120) · b93957d7
      bgrozev authored
      Changes:
      * Use a list instead of array in the constructor
      * Support negative values in BucketStats.
      * Do not automatically append MIN_ and MAX_VALUE thresholds.
      * Change the JSON format for BucketStats to avoid special characters (<, =, ' ', etc)
      * Add CumulativeLeft and CumulativeRight output.
      * Switch to intervals closed on the left (useful for [0,1)).
      * Make getBucketsJson open
      * Support adding Number.
      * Add a ConferenceSizeBuckets utility.
      b93957d7
  13. 02 May, 2022 1 commit
    • bgrozev's avatar
      Remove the guava dependency (#119) · 43815ed6
      bgrozev authored
      * ref: Move LogContext to kt (remove guava dep).
      
      * ref: Port LogContextTest to kt
      
      * ref: Remove JMap. Java 1.9+ Map.of (or other lternatives) should be used instead.
      43815ed6
  14. 25 Apr, 2022 1 commit
  15. 04 Mar, 2022 1 commit
  16. 10 Feb, 2022 1 commit
  17. 25 Jan, 2022 1 commit
  18. 11 Jan, 2022 1 commit
  19. 11 Nov, 2021 1 commit
    • Pawel Domas's avatar
      ref(EventEmitter): use error lvl for throwables · 480acf0c
      Pawel Domas authored
      Log unhandled exceptions inside event handlers on the error level.
      Usually this indicates an unexpected bug and having it on the error
      level brings more attention. On the warning level  it gets mixed with
      other non-critical messages which are often expected to happen under
      normal operating conditions.
      480acf0c
  20. 08 Nov, 2021 8 commits
  21. 27 Oct, 2021 1 commit
    • bgrozev's avatar
      Fix slow initial convergence in RateTracker. (#111) · f60ac156
      bgrozev authored
      * fix: Fix the scale in RateStatistics.
      
      * fix: Slow initial convergence in RateTracker
      
      We used to use the full window as the denumerator when calculating the average rate.
      This results in slow convergence at the start, e.g. a tracker with a 5 s
      window would return only 20% of the observed rate when queried 1 s after
      a value was added.
      
      We now keep track of how much of the window is used, so we have a more accurate rate earlier.
      
      * test: Add a trace of packet sizes and a disabled RateTracker test that reads it.
      f60ac156
  22. 04 Aug, 2021 2 commits
  23. 03 Aug, 2021 1 commit
  24. 16 Jul, 2021 1 commit
  25. 14 Jul, 2021 1 commit
  26. 06 Jul, 2021 1 commit
  27. 29 Jun, 2021 1 commit
  28. 23 Jun, 2021 1 commit
    • bgrozev's avatar
      Update the EventEmitter API. (#103) · ea9f167a
      bgrozev authored
      * ref: Use an Executor instead of a full ExecutorService.
      
      * ref: Use the same method to emit events sync and async.
      
      * feat: Support an initial list of event handlers.
      ea9f167a
  29. 14 Jun, 2021 1 commit
  30. 12 May, 2021 1 commit
  31. 26 Apr, 2021 1 commit