Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

v0.5.0

Latest
Compare
Choose a tag to compare
@yjacquin yjacquin released this 24 Feb 13:30
· 7 commits to master since this release
81243e5
EFFTECH-533 / Stop using Edge branch (#9)

* Add first working draft of Sidekiq Middleware

* move some config to OpenCensus config

* Add host_name config to OpenCensus and cleanup

* Move configuration options to shared config

* Extract ActiveSupport event handling to to new Sidekiq Integration

* Add some documentation about Sidekiq integration

* Leave todo about testing

* Use shared ActiveSupport integration in Sidekiq and Rails integrations

* Remove debug code

* Clean up some comments

* Move rails_test.rb to active_support_test.rb

* Style fixes

* More style fixes

* Add test for Sidekiq middleware

* Extract some strings to constants

* Remove circular require and comment

* Follow some Rubocop recommendations

* Send default_max_stack_frames to exporter

* Simplify #call method

* Remove Sidekiq middleware dependency on ActiveSupport Railtie

* Document ActiveSupport integration in README

* Add ability to include Sidekiq job attributes as span attributes

* Convert caller locations to strings

* Change test to expect string in frame

* Revert "Change test to expect string in frame"

This reverts commit 636bf00d712977301e88f4b526c84573738f7e9d.

* Revert "Convert caller locations to strings"

This reverts commit a65579eecc96dddf287ca44ddff22728beab7b93.

* Change Logger Exporter to output stack traces as strings

Details
-------
This was necessary because using Rails, Array#to_json was rendering
stack traces as [{},{},{},{},{},...]

* Add sanitize_path_proc feature

Co-authored-by: Daniel Barlow <[email protected]>
Co-authored-by: Daniel M Barlow <[email protected]>