Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement RouteSender and Airbrake.inc_request #348

Merged
merged 1 commit into from
Oct 25, 2018
Merged

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Oct 25, 2018

RouteSender aggregates information about requests and periodically sends
collected data to Airbrake.

The 'route_stats_flush_period' option allows:

  • refactoring unit tests without messing with Airbrake Ruby's internals
  • libraries that depend on airbrake-ruby can generate route stats
    faster. Without this option there's no way to configure the delay, so every
    time the user invokes this method, they have to wait 15 seconds for route
    stats. With this option we can set it 0 and the request will be invoked
    immediately

This feature is currently in beta and not available for everyone.

RouteSender aggregates information about requests and periodically sends
collected data to Airbrake.

The 'route_stats_flush_period' option allows:

* refactoring unit tests without messing with Airbrake Ruby's internals
* libraries that depend on airbrake-ruby can generate route stats
  faster. Without this option there's no way to configure the delay, so every
  time the user invokes this method, they have to wait 15 seconds for route
  stats. With this option we can set it 0 and the request will be invoked
  immediately

This feature is currently in beta and not available for everyone.
@kyrylo kyrylo merged commit c3c85f1 into master Oct 25, 2018
@kyrylo kyrylo deleted the route-stats branch October 25, 2018 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant