opentelemetry-instrumentation-action_pack 0.18.0 → 0.18.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: 46431af488a6114772a586e88736f364c00ca349d0167f135873b8f0c6bb3553
|
|
4
|
+
data.tar.gz: 4fff4df9a8b8b08f17d2c18160cc38c999dc0d67b76dffd6d492a52a9bbe3152
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac906bf3efc05332cbdc33647a71b4f60680e9017bdbcdabea1dc1d68df9551f61eddeaa521270cf39cb34d4ce5368e29ae74efccc808cbbf4bef3481c847b47
|
|
7
|
+
data.tar.gz: 11092c5aa54f6546ba2e571bf03c266766383db2af759b81a3191eba07d2ce4a45fb1f764a10d06a362d7c292636a894cebbed681d08025263116394cd0583af
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Release History: opentelemetry-instrumentation-action_pack
|
|
2
2
|
|
|
3
|
+
## v0.18.1 / 2026-08-18
|
|
4
|
+
|
|
5
|
+
- FIXED: Prepend engine mount path to http.route for mounted Rails engines (#2499)
|
|
6
|
+
|
|
3
7
|
## v0.18.0 / 2026-04-28
|
|
4
8
|
|
|
5
9
|
- BREAKING CHANGE: Min Rails 7.1 (enforced this time) (#2283)
|
data/README.md
CHANGED
|
@@ -48,7 +48,9 @@ This instrumentation generally uses [HTTP server semantic conventions](https://o
|
|
|
48
48
|
|
|
49
49
|
For Rails 7.1+, the span name is updated to match the HTTP method and route that was matched for the request using [`ActionDispatch::Request#route_uri_pattern`](https://api.rubyonrails.org/classes/ActionDispatch/Request.html#method-i-route_uri_pattern), e.g.: `GET /users/:id`
|
|
50
50
|
|
|
51
|
-
> !
|
|
51
|
+
> [!NOTE]
|
|
52
|
+
>
|
|
53
|
+
> Users may override the `span_naming` option to default to Legacy Span Naming Behavior that uses the controller's class name and action in Ruby documentation syntax, e.g. `ExampleController#index`.
|
|
52
54
|
|
|
53
55
|
This instrumentation does not emit any custom attributes.
|
|
54
56
|
|
|
@@ -32,6 +32,8 @@ module OpenTelemetry
|
|
|
32
32
|
# https://github.com/rails/rails/blob/747f85f200e7bb2c1a31b4e26e5a5655e2dc0cdc/actionpack/lib/action_dispatch/http/request.rb#L160
|
|
33
33
|
http_route = request.route_uri_pattern&.chomp('(.:format)') if request.respond_to?(:route_uri_pattern)
|
|
34
34
|
|
|
35
|
+
http_route = "#{request.script_name}#{http_route}" if http_route && !request.script_name.empty?
|
|
36
|
+
|
|
35
37
|
attributes = {
|
|
36
38
|
OpenTelemetry::SemanticConventions::Trace::CODE_NAMESPACE => String(payload[:controller]),
|
|
37
39
|
OpenTelemetry::SemanticConventions::Trace::CODE_FUNCTION => String(payload[:action])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opentelemetry-instrumentation-action_pack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.18.
|
|
4
|
+
version: 0.18.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenTelemetry Authors
|
|
@@ -46,10 +46,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
|
46
46
|
licenses:
|
|
47
47
|
- Apache-2.0
|
|
48
48
|
metadata:
|
|
49
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_pack/0.18.
|
|
50
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/opentelemetry-instrumentation-action_pack/v0.18.
|
|
49
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_pack/0.18.1/file/CHANGELOG.md
|
|
50
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/opentelemetry-instrumentation-action_pack/v0.18.1/instrumentation/action_pack
|
|
51
51
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
|
52
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_pack/0.18.
|
|
52
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-action_pack/0.18.1
|
|
53
53
|
rdoc_options: []
|
|
54
54
|
require_paths:
|
|
55
55
|
- lib
|
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: '0'
|
|
66
66
|
requirements: []
|
|
67
|
-
rubygems_version: 4.0.
|
|
67
|
+
rubygems_version: 4.0.16
|
|
68
68
|
specification_version: 4
|
|
69
69
|
summary: ActionPack instrumentation for the OpenTelemetry framework
|
|
70
70
|
test_files: []
|