stack-service-base 0.0.13 → 0.0.14
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 +4 -4
- data/lib/stack-service-base/open_telemetry.rb +5 -2
- data/lib/stack-service-base.rb +1 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd3a6544546c69ce6ebd7eff7341a5c1de98b1507da11b9c8e295422192c2141
|
4
|
+
data.tar.gz: 2328aa5384c4f3fd04af5fc98c86abc39ecf263c95cc5b1b3566a6689cae5214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3738ed3de0e7a67c9bcc96bac1032b3d9f3e3c795468073f6056a00cfa56f1b83d4eb07ef5a3f5cc35f80304c2cbf18c45ca42b3502ca6677a9f876e6765b479
|
7
|
+
data.tar.gz: 17d3f71a9195f62b5d40870ae38d278e6306d0a58c5f843b98547bc886ac1b5d2a30c5550bac8939b82164d1b410fd808f006484d128143dda51e97d6994f3a0
|
@@ -60,10 +60,13 @@ def otel_initialize
|
|
60
60
|
|
61
61
|
OpenTelemetry::SDK.configure do |c|
|
62
62
|
OpenTelemetry::Instrumentation::Rack
|
63
|
+
# OpenTelemetry::Instrumentation::Rack::Middlewares::TracerMiddleware
|
64
|
+
# Rack::Builder
|
65
|
+
OpenTelemetry::Instrumentation::Sinatra
|
63
66
|
c.use_all({
|
64
|
-
'OpenTelemetry::Instrumentation::Sinatra' => { install_rack:
|
67
|
+
'OpenTelemetry::Instrumentation::Sinatra' => { install_rack: false }, # instlled by stack-service-base.rb#24 (use *OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.middleware_args)
|
65
68
|
'OpenTelemetry::Instrumentation::Rack' => {
|
66
|
-
use_rack_events: false, # TODO: doesnt work with
|
69
|
+
use_rack_events: false, # TODO: doesnt work with Websoket requests
|
67
70
|
# /home/user/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/opentelemetry-instrumentation-rack-0.26.0/lib/opentelemetry/instrumentation/rack/instrumentation.rb#43
|
68
71
|
url_quantization: ->(path, env) { "HTTP #{env['REQUEST_METHOD']} #{path}" },
|
69
72
|
untraced_requests: ->(env) { env['HTTP_UPGRADE'] == 'websocket' }
|
data/lib/stack-service-base.rb
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack-service-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|