bigcommerce / bc-lightstep-ruby Goto Github PK
View Code? Open in Web Editor NEWGeneric lightstep library for distributed tracing in ruby
License: MIT License
Generic lightstep library for distributed tracing in ruby
License: MIT License
I was adding the Faraday middleware to one of the calls in a service and noticed that adding the middleware was causing some webmock specs to fail. It seems like the response and/or response body are being returned incorrectly.
When using lightstep 0.12.0 (released on July 30th), we get the following error when loading.
NameError: uninitialized constant LightStep::Tracer::FORMAT_TEXT_MAP
/opt/app/vendor/cache/bc-lightstep-ruby-1d872a370b6e/lib/bigcommerce/lightstep/tracer.rb:100:in `determine_parent'
/opt/app/vendor/cache/bc-lightstep-ruby-1d872a370b6e/lib/bigcommerce/lightstep/tracer.rb:46:in `start_span'
/opt/app/vendor/cache/bc-instrumentation-ruby-3cb9f731f8e3/lib/bigcommerce/instrumentation/databases/mysql2.rb:18:in `execute_with_inst'
/opt/ruby2.4/bin/bundle:23:in `load'
/opt/ruby2.4/bin/bundle:23:in `<main>'
Looks like this commit broke things for us.
Currently we are adding conditionals throughout the codebase to disable lightstep, it would be really cool to support disabling the sending of spans through a config in the initialization of the gem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.