rails_opentracer 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/lib/rails_opentracer.rb +1 -1
- data/lib/rails_opentracer/version.rb +1 -1
- data/rails_opentracer.gemspec +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b7a8cdaee2d66697c908505b63d0d438858e5e02
         | 
| 4 | 
            +
              data.tar.gz: 5741336f562d8dee0e72b908bf9bd7a4217e060a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 04eb632df7bc3ab8d46766931255ec25535afc395bd4e95afab4861c38ddf74adf70c98be00e5dd3382fbe8cc09d623a00d58bdf1322fa139a932294dc188dad
         | 
| 7 | 
            +
              data.tar.gz: dd6cb2f4d5b30a0db23b35f84d21cd2fc7b1844d75f20861b89483d759ebafcdf506a191da34aa8a8bdeb0837874375545fcb264d5deccf993a87dc49c83e3e5
         | 
    
        data/README.md
    CHANGED
    
    | @@ -1,8 +1,16 @@ | |
| 1 1 | 
             
            # RailsOpentracer
         | 
| 2 2 |  | 
| 3 | 
            +
            Gem is in active development. If you see this then us devs aren't quite done yet.
         | 
| 4 | 
            +
             | 
| 3 5 | 
             
            This gem instruments an application to be used with a tracing client. At this stage it is configured to be used with Zipkin only, but
         | 
| 4 6 | 
             
            this can be changed at a later stage.
         | 
| 5 7 |  | 
| 8 | 
            +
            TODO:
         | 
| 9 | 
            +
            - Testz
         | 
| 10 | 
            +
            - Is faraday_tracer.rb required ?
         | 
| 11 | 
            +
            - Instrument active record tracing (and give creditz to ruby-rails-tracer's dude)
         | 
| 12 | 
            +
            - Are all those generators "the way" we want to do thingz?
         | 
| 13 | 
            +
             | 
| 6 14 | 
             
            ## Installation
         | 
| 7 15 |  | 
| 8 16 | 
             
            Add this line to your application's Gemfile:
         | 
| @@ -35,7 +43,9 @@ To run Zipkin locally, do: | |
| 35 43 |  | 
| 36 44 | 
             
              $ docker run -d -p 9411:9411 openzipkin/zipkin
         | 
| 37 45 |  | 
| 38 | 
            -
            You will need to set an environment variable with the Zipkin client URL. Locally this would be: | 
| 46 | 
            +
            You will need to set an environment variable with the Zipkin client URL. Locally this would be:
         | 
| 47 | 
            +
             | 
| 48 | 
            +
            `ENV['ZIPKIN_SERVICE_URL']='http://localhost:9411'`.
         | 
| 39 49 |  | 
| 40 50 | 
             
            Whenever a request is made to another application, do:
         | 
| 41 51 |  | 
| @@ -47,7 +57,7 @@ in the applicable controller, and then: | |
| 47 57 |  | 
| 48 58 | 
             
            ```ruby
         | 
| 49 59 | 
             
            with_span 'name of span' do
         | 
| 50 | 
            -
               | 
| 60 | 
            +
              get(URL)
         | 
| 51 61 | 
             
            end
         | 
| 52 62 | 
             
            ```
         | 
| 53 63 |  | 
    
        data/lib/rails_opentracer.rb
    CHANGED
    
    
    
        data/rails_opentracer.gemspec
    CHANGED
    
    | @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| | |
| 11 11 |  | 
| 12 12 | 
             
              spec.summary       = %q{Gem that auto-instruments application with OpenTracing}
         | 
| 13 13 | 
             
              # spec.description   = %q{TODO: Write a longer description or delete this line.}
         | 
| 14 | 
            -
              spec.homepage      = "https://github.com/ | 
| 14 | 
            +
              spec.homepage      = "https://github.com/nuclearnic/rails_opentracer"
         | 
| 15 15 | 
             
              spec.license       = "MIT"
         | 
| 16 16 |  | 
| 17 17 | 
             
              # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: rails_opentracer
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.5
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Erik Botes
         | 
| @@ -117,7 +117,7 @@ files: | |
| 117 117 | 
             
            - lib/rails_opentracer.rb
         | 
| 118 118 | 
             
            - lib/rails_opentracer/version.rb
         | 
| 119 119 | 
             
            - rails_opentracer.gemspec
         | 
| 120 | 
            -
            homepage: https://github.com/ | 
| 120 | 
            +
            homepage: https://github.com/nuclearnic/rails_opentracer
         | 
| 121 121 | 
             
            licenses:
         | 
| 122 122 | 
             
            - MIT
         | 
| 123 123 | 
             
            metadata: {}
         |