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 +4 -4
- data/CHANGELOG.md +22 -0
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/lib/opentelemetry-instrumentation-faraday.rb +1 -1
- data/lib/opentelemetry/instrumentation.rb +1 -1
- data/lib/opentelemetry/instrumentation/faraday.rb +1 -1
- data/lib/opentelemetry/instrumentation/faraday/instrumentation.rb +1 -1
- data/lib/opentelemetry/instrumentation/faraday/middlewares/tracer_middleware.rb +3 -3
- data/lib/opentelemetry/instrumentation/faraday/patches/rack_builder.rb +1 -1
- data/lib/opentelemetry/instrumentation/faraday/version.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7128cda68cd3d7476fef512d25082bded79a2104389c3153f680e7e0b2328a5
|
4
|
+
data.tar.gz: 172c46ad5ca28990aa7d2bdbd1b4a80169e8c435a050820168864aeecb354dbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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/
|
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/
|
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
|
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.
|
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,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
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
|
+
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.
|
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:
|
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.
|
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.
|
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.
|
190
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/
|
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.
|
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:
|