opentelemetry-instrumentation-faraday 0.10.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 567978e25803d12495f05857e6a94a5186d5036473e0d75c7ddde7d10f5e7693
4
- data.tar.gz: aefce32643fd3b3f92c06fe4b55dfa91ebc49285cab0b7af461fe83dd65e42f7
3
+ metadata.gz: f7128cda68cd3d7476fef512d25082bded79a2104389c3153f680e7e0b2328a5
4
+ data.tar.gz: 172c46ad5ca28990aa7d2bdbd1b4a80169e8c435a050820168864aeecb354dbc
5
5
  SHA512:
6
- metadata.gz: 41b26faee797ceb4447b299d20fce36c2f0323f4ad8d7bacb57735308dd2a8027e445478b88dd62c9d2a4a38b228767473adaf1b33206e107e3516f90ad03fd1
7
- data.tar.gz: 9d5bccd66f56450f96e568da3fdb033a76cdc21a305275874617fbb46e6341c73181fb68055b9a7a577ed6394abe441ccbdebf2849de33342586f7dac6472b5b
6
+ metadata.gz: 4b5bbee39de11e84ea57be84ac4bb33a79cf704dbb700af553223c0fafff2e4a4a233c22f10232dfd27d69130a4408a04b8fc7ccd1e1a31dc574be2008690d50
7
+ data.tar.gz: 1fbb5ea504251f1ac94d56a722cecda9c251f40d88f58bb087a38f484c907c20e0710de0e3b8bb28a19cec4e185328b52a113da53199c9c8f59ff469e9e2ddb7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
2
2
 
3
+ ### v0.15.0 / 2021-02-18
4
+
5
+ * FIXED: Include http.status_text only if reason_phrase is in the response
6
+
7
+ ### v0.14.0 / 2021-02-03
8
+
9
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
10
+
11
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
12
+
13
+ ### v0.13.0 / 2021-01-29
14
+
15
+ * (No significant changes)
16
+
17
+ ### v0.12.0 / 2020-12-24
18
+
19
+ * (No significant changes)
20
+
21
+ ### v0.11.0 / 2020-12-11
22
+
23
+ * FIXED: Copyright comments to not reference year
24
+
3
25
  ### v0.10.0 / 2020-12-03
4
26
 
5
27
  * (No significant changes)
data/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2020 OpenTelemetry Authors
189
+ Copyright The OpenTelemetry Authors
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  ## Examples
34
34
 
35
- Example usage of faraday can be seen in the `./example/faraday.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/master/instrumentation/faraday/example/faraday.rb)
35
+ Example usage of faraday can be seen in the `./example/faraday.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/faraday/example/faraday.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
@@ -47,7 +47,7 @@ Apache 2.0 license. See [LICENSE][license-github] for more information.
47
47
  [faraday-home]: https://github.com/lostisland/faraday
48
48
  [bundler-home]: https://bundler.io
49
49
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
50
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/master/LICENSE
50
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
51
51
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
52
52
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
53
53
  [ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -34,7 +34,7 @@ module OpenTelemetry
34
34
  },
35
35
  kind: :client
36
36
  ) do |span|
37
- OpenTelemetry.propagation.http.inject(env.request_headers)
37
+ OpenTelemetry.propagation.inject(env.request_headers)
38
38
 
39
39
  app.call(env).on_complete { |resp| trace_response(span, resp) }
40
40
  end
@@ -50,7 +50,7 @@ module OpenTelemetry
50
50
 
51
51
  def trace_response(span, response)
52
52
  span.set_attribute('http.status_code', response.status)
53
- span.set_attribute('http.status_text', response.reason_phrase)
53
+ span.set_attribute('http.status_text', response.reason_phrase) if response.reason_phrase
54
54
  span.status = OpenTelemetry::Trace::Status.http_to_status(
55
55
  response.status
56
56
  )
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Faraday
10
- VERSION = '0.10.0'
10
+ VERSION = '0.15.0'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-03 00:00:00.000000000 Z
11
+ date: 2021-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.10.0
19
+ version: 0.15.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.10.0
26
+ version: 0.15.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: appraisal
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -186,10 +186,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
186
186
  licenses:
187
187
  - Apache-2.0
188
188
  metadata:
189
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.10.0/file.CHANGELOG.html
190
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/faraday
189
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.15.0/file.CHANGELOG.html
190
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/faraday
191
191
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
192
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.10.0
192
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.15.0
193
193
  post_install_message:
194
194
  rdoc_options: []
195
195
  require_paths: