opentelemetry-instrumentation-rack 0.21.1 → 0.22.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adec146f5413f600be2f53c5a8ae9d2dd9388611c253886d60b0c2831546d711
|
4
|
+
data.tar.gz: 180d5b75cc9895b3d4aa9c01cf8c12d4e545c60fa477384a13350a8d4c93a6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c738d928bbf2ae2cfce23cb1235958817e7c5923ab8d45a8454679f300b835ee64e3e4c21026b35edfa258bb4ca8073ea77328df0195fca40fd68617ffc7e738
|
7
|
+
data.tar.gz: 2bbbe8be64060776b3afa9ea2d6ef675ccf7c0b74e3f44a52501d5346a2f460b36c2c8d63c0314448321057d075d864669d88bcffd986a4ba28ece3250f59ea7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-rack
|
2
2
|
|
3
|
+
### v0.22.0 / 2022-11-16
|
4
|
+
|
5
|
+
* ADDED: Add experimental traceresponse propagator to Rack instrumentation
|
6
|
+
|
3
7
|
### v0.21.1 / 2022-10-04
|
4
8
|
|
5
9
|
* FIXED: Bring http.request.header and http.response.header in line with semconv
|
@@ -30,6 +30,7 @@ module OpenTelemetry
|
|
30
30
|
option :untraced_endpoints, default: [], validate: :array
|
31
31
|
option :url_quantization, default: nil, validate: :callable
|
32
32
|
option :untraced_requests, default: nil, validate: :callable
|
33
|
+
option :response_propagators, default: [], validate: :array
|
33
34
|
|
34
35
|
private
|
35
36
|
|
@@ -82,6 +82,7 @@ module OpenTelemetry
|
|
82
82
|
OpenTelemetry::Instrumentation::Rack.with_span(request_span) do
|
83
83
|
@app.call(env).tap do |status, headers, response|
|
84
84
|
set_attributes_after_request(request_span, status, headers, response)
|
85
|
+
config[:response_propagators].each { |propagator| propagator.inject(headers) }
|
85
86
|
end
|
86
87
|
end
|
87
88
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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: 2022-
|
11
|
+
date: 2022-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: opentelemetry-sdk-experimental
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.1'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: opentelemetry-test-helpers
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -256,10 +270,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-contrib
|
|
256
270
|
licenses:
|
257
271
|
- Apache-2.0
|
258
272
|
metadata:
|
259
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-rack/v0.
|
273
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-rack/v0.22.0/file.CHANGELOG.html
|
260
274
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/rack
|
261
275
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
262
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-rack/v0.
|
276
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-rack/v0.22.0
|
263
277
|
post_install_message:
|
264
278
|
rdoc_options: []
|
265
279
|
require_paths:
|