Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Excon instrumentor providing instrumentation in Slides format.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/excon
test
.gitignore
README.md
Rakefile
excon-slides_instrumentor.gemspec

README.md

excon-slides_instrumentor

Excon instrumentor providing basic instrumentation in Slides format.

Bundle in your Gemfile:

gem "excon-slides_instrumentor"

Then start using it:

api = Excon.new(Facts::Config.api, ssl_verify_peer: false,
  instrumentor: Excon::SlidesInstrumentor.new(id: request.env["REQUEST_ID"]))

# or
Excon.defaults[:instrumentor] =
  Excon::SlidesInstrumentor.new(id: request.env["REQUEST_ID"])

Logging like the following will start to appear on $stdout:

excon.request host=facts-api.herokuapp.com path=/facts/latest method=get expects=200 id=ttnhll3u at=start
excon.request host=facts-api.herokuapp.com path=/facts/latest method=get expects=200 id=ttnhll3u at=finish elapsed=820ms
excon.response id=ttnhll3u at=start
excon.response id=ttnhll3u at=finish elapsed=0ms
Something went wrong with that request. Please try again.