skylight 0.5.1 → 0.5.2
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/CHANGELOG.md +9 -0
- data/ext/skylight_memprof.c +6 -0
- data/ext/skylight_native.c +0 -2
- data/ext/skylight_native.h +2 -0
- data/lib/skylight/config.rb +10 -0
- data/lib/skylight/instrumenter.rb +1 -1
- data/lib/skylight/version.rb +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: 298cf9d0f31b9d3dcb480039c94900a954263549
         | 
| 4 | 
            +
              data.tar.gz: 776b66cdce89e49c98bc12662a40865af657af2d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 45a4f7c2396dc01028e6df143ba618ff327191ae99cbf00dedfbf2e4fee8436c545b84a18e7cbfe47709dec4c7ac49180627abd22eb92c60c7762c1d1da44c3b
         | 
| 7 | 
            +
              data.tar.gz: fb9506358d97811463238d7363e730636657f96989f6c04c3ab3c0d8f43a9ab656df3c14f711db106361b8456111c4ee77c6ce0b3111dad04bb272712ca6134a
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,3 +1,12 @@ | |
| 1 | 
            +
            ## 0.5.2 (December 15, 2014)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            * [IMPROVEMENT] Support ignoring multiple heartbeat endpoints
         | 
| 4 | 
            +
            * [BUGFIX] Fix compilation errors on old GCC
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            ## 0.5.1 (December 5, 2014)
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            * [BUGFIX] Fix issues with working directory dissappearing
         | 
| 9 | 
            +
             | 
| 1 10 | 
             
            ## 0.5.0 (December 4, 2014)
         | 
| 2 11 | 
             
            * [IMPROVEMENT] Automatically load configuration from ENV
         | 
| 3 12 | 
             
            * [FEATURE] Track object allocations per span
         | 
    
        data/ext/skylight_memprof.c
    CHANGED
    
    | @@ -48,6 +48,12 @@ static sky_allocations_t* get_allocations() { | |
| 48 48 | 
             
            #endif
         | 
| 49 49 |  | 
| 50 50 | 
             
            static void sky_increment_allocation(rb_event_flag_t flag, VALUE data, VALUE self, ID mid, VALUE klass) {
         | 
| 51 | 
            +
              UNUSED(flag);
         | 
| 52 | 
            +
              UNUSED(data);
         | 
| 53 | 
            +
              UNUSED(self);
         | 
| 54 | 
            +
              UNUSED(mid);
         | 
| 55 | 
            +
              UNUSED(klass);
         | 
| 56 | 
            +
             | 
| 51 57 | 
             
              get_allocations()->allocations++;
         | 
| 52 58 | 
             
            }
         | 
| 53 59 |  | 
    
        data/ext/skylight_native.c
    CHANGED
    
    
    
        data/ext/skylight_native.h
    CHANGED
    
    
    
        data/lib/skylight/config.rb
    CHANGED
    
    | @@ -412,6 +412,16 @@ authentication: #{self[:authentication]} | |
| 412 412 | 
             
                  get('test.ignore_token')
         | 
| 413 413 | 
             
                end
         | 
| 414 414 |  | 
| 415 | 
            +
                # @api private
         | 
| 416 | 
            +
                def ignored_endpoints
         | 
| 417 | 
            +
                  @ignored_endpoints ||=
         | 
| 418 | 
            +
                    begin
         | 
| 419 | 
            +
                      val = Array(get(:'ignored_endpoint'))
         | 
| 420 | 
            +
                      val.concat(Array(get(:'ignored_endpoints')))
         | 
| 421 | 
            +
                      val
         | 
| 422 | 
            +
                    end
         | 
| 423 | 
            +
                end
         | 
| 424 | 
            +
             | 
| 415 425 | 
             
                def root
         | 
| 416 426 | 
             
                  self[:root] || Dir.pwd
         | 
| 417 427 | 
             
                end
         | 
| @@ -257,7 +257,7 @@ module Skylight | |
| 257 257 | 
             
                end
         | 
| 258 258 |  | 
| 259 259 | 
             
                def ignore?(trace)
         | 
| 260 | 
            -
                  config. | 
| 260 | 
            +
                  @config.ignored_endpoints.include?(trace.endpoint)
         | 
| 261 261 | 
             
                end
         | 
| 262 262 |  | 
| 263 263 | 
             
                # Validates that the provided authentication token is valid. This is done
         | 
    
        data/lib/skylight/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: skylight
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.5. | 
| 4 | 
            +
              version: 0.5.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tilde, Inc.
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014-12- | 
| 11 | 
            +
            date: 2014-12-15 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: activesupport
         |