• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-ruby / 3614
97%

Build:
DEFAULT BRANCH: master
Ran 10 Feb 2020 10:23PM UTC
Jobs 6
Files 100
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3614

push

travis-ci

web-flow
Add `request_begin` instrumentation callback (#902)

Adds a new instrumentation callback called `request_begin` which, as the
name suggests, is invoked before an HTTP request is dispatched. As
outlined originally in #900, the idea is that this will enable a set of
hooks that can be used for distributed tracing.

The PR also renames the existing `request` callback to `request_end`,
although the old name is still invoked for the time being for backwards
compatibility.

A special `user_data` property is passed to `request_begin` which allows
subscribers to set custom data that will be passed through to
`request_end` for any given request. This allows, for example, a user
assigned ID to be set for the request and recognized on both ends.

I chose the naming `_begin` and `_end` (as opposed to start/finish or
any other combination) based on the naming conventions of Ruby itself.

Fixes #900.

1983 of 2060 relevant lines covered (96.26%)

2947.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3614.1 (2.3) 10 Feb 2020 10:23PM UTC 0
96.36
Travis Job 3614.1
2 3614.2 (2.4) 10 Feb 2020 10:24PM UTC 0
96.36
Travis Job 3614.2
3 3614.3 (2.5) 10 Feb 2020 10:24PM UTC 0
96.36
Travis Job 3614.3
4 3614.4 (2.6) 10 Feb 2020 10:24PM UTC 0
96.34
Travis Job 3614.4
5 3614.5 (2.7) 10 Feb 2020 10:24PM UTC 0
96.34
Travis Job 3614.5
6 3614.6 (jruby-9.2.7.0) 10 Feb 2020 10:26PM UTC 0
0.0
Travis Job 3614.6
Source Files on build 3614
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3614
  • 81407b68 on github
  • Prev Build on master (#3609)
  • Next Build on master (#3615)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc