Skip to content

0.10.0: Debug mode and histograms measuring block runtime

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jul 12:53
v0.10.0
d88c669

Added

  • Ability to pass a block to Yabeda::Histogram#measure to automatically measure its runtime in seconds using monotonic time.
  • Debug mode that will enable some additional metrics to help debug performance issues with your usage of Yabeda (or Yabeda itself). Use environment variable YABEDA_DEBUG to enable it or call Yabeda.debug!.
  • Debugging histogram yabeda_collect_duration that measures duration of every collect block, as they are used for collecting metrics of application state and usually makes some potentially slow queries to databases, network requests, etc.

Changed

  • Adapters now should use method Yabeda.collect! instead of manual calling of every collector block.