opentelemetry-instrumentation-action_pack 0.1.3 → 0.1.4
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: f54c8884f925fb4daf93d7b3e19dbeb2916bce8bb3c9c3712a62f6ca03406be9
|
4
|
+
data.tar.gz: c77e2a17c3cb09e381e1ee20ef3e302d98be301fd7d35a1d3437d19f3d550e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d25ecdef19b36bdfde096bd8b3f240b4c10a9051695a09aa3fd042e78768e3191c694d00e102b170ef75e8e8c0ecd076beaf76f3d969a882230aa4c681bb63c
|
7
|
+
data.tar.gz: ae3f39973e0f34d7ea8df5475e10f33890bf68930142941b102e303f16c5781126107ef3f9d3c9f6f6e9f2dda245813dfc3a4818660fd7da648d66172fe33493
|
data/CHANGELOG.md
CHANGED
@@ -13,9 +13,14 @@ module OpenTelemetry
|
|
13
13
|
module Metal
|
14
14
|
def dispatch(name, request, response)
|
15
15
|
rack_span = OpenTelemetry::Instrumentation::Rack.current_span
|
16
|
-
|
16
|
+
if rack_span.recording?
|
17
|
+
rack_span.name = "#{self.class.name}##{name}" unless request.env['action_dispatch.exception']
|
18
|
+
|
19
|
+
add_rails_route(rack_span, request) if instrumentation_config[:enable_recognize_route]
|
20
|
+
|
21
|
+
rack_span.set_attribute('http.target', request.filtered_path) if request.filtered_path != request.fullpath
|
22
|
+
end
|
17
23
|
|
18
|
-
add_rails_route(rack_span, request) if instrumentation_config[:enable_recognize_route]
|
19
24
|
super(name, request, response)
|
20
25
|
end
|
21
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-action_pack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
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: 2022-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.20.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.20.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: opentelemetry-instrumentation-rack
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
228
228
|
licenses:
|
229
229
|
- Apache-2.0
|
230
230
|
metadata:
|
231
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_pack/v0.1.
|
231
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_pack/v0.1.4/file.CHANGELOG.html
|
232
232
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/action_pack
|
233
233
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
234
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_pack/v0.1.
|
234
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_pack/v0.1.4
|
235
235
|
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|