opentelemetry-instrumentation-trilogy 0.55.0 → 0.55.1
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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8cc568f9e1a5d6a330ffddee8c6888fac1c7b1c84433a003cf68673d654e6008
         | 
| 4 | 
            +
              data.tar.gz: ccfa730942e2472d8ad4978ed229d6b1fc44a597ac74331bfe1e17be28fcd4a1
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e92928d645e72804e3dfc5d10069856585f0d48badf6a8dd2ecabf2c471012222b33d70bc16d247adeee6d0c98196ab53bda948e36aafd23ec898b5fd202050a
         | 
| 7 | 
            +
              data.tar.gz: 72f70ea92bf8f58c0cf767898362724ba6e9c1d73adcdec2a2ffb0ce0f84c6540880b8a9e359e43b06797514b5789f7b0d8db9f98df107ce5db0a655acde46b0
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -86,8 +86,12 @@ module OpenTelemetry | |
| 86 86 |  | 
| 87 87 | 
             
                      def obfuscate_sql(sql)
         | 
| 88 88 | 
             
                        if sql.size > config[:obfuscation_limit]
         | 
| 89 | 
            -
                           | 
| 90 | 
            -
                           | 
| 89 | 
            +
                          first_match_index = sql.index(FULL_SQL_REGEXP)
         | 
| 90 | 
            +
                          truncation_message = "SQL truncated (> #{config[:obfuscation_limit]} characters)"
         | 
| 91 | 
            +
                          return truncation_message unless first_match_index
         | 
| 92 | 
            +
             | 
| 93 | 
            +
                          truncated_sql = sql[..first_match_index - 1]
         | 
| 94 | 
            +
                          "#{truncated_sql}...\n#{truncation_message}"
         | 
| 91 95 | 
             
                        else
         | 
| 92 96 | 
             
                          obfuscated = OpenTelemetry::Common::Utilities.utf8_encode(sql, binary: true)
         | 
| 93 97 | 
             
                          obfuscated = obfuscated.gsub(FULL_SQL_REGEXP, '?')
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: opentelemetry-instrumentation-trilogy
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.55. | 
| 4 | 
            +
              version: 0.55.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OpenTelemetry Authors
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-06-01 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: opentelemetry-api
         | 
| @@ -275,10 +275,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib | |
| 275 275 | 
             
            licenses:
         | 
| 276 276 | 
             
            - Apache-2.0
         | 
| 277 277 | 
             
            metadata:
         | 
| 278 | 
            -
              changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.55. | 
| 278 | 
            +
              changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.55.1/file/CHANGELOG.md
         | 
| 279 279 | 
             
              source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/trilogy
         | 
| 280 280 | 
             
              bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
         | 
| 281 | 
            -
              documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.55. | 
| 281 | 
            +
              documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.55.1
         | 
| 282 282 | 
             
            post_install_message: 
         | 
| 283 283 | 
             
            rdoc_options: []
         | 
| 284 284 | 
             
            require_paths:
         |