No commit activity in last 3 years
No release in over 3 years
Excon instrumentor providing instrumentation in Slides format.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 0.1
 Project Readme

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