puma-plugin-telemetry 1.1.4 → 1.1.5
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/CHANGELOG.md +15 -0
- data/lib/puma/plugin/telemetry/version.rb +1 -1
- data/lib/rack/request_queue_time_middleware.rb +3 -0
- data/puma-plugin-telemetry.gemspec +1 -1
- 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: 11d56a181ec584a1aa210c42cba01bb7a4fd84db6c93e286659bf4b9b521b574
|
|
4
|
+
data.tar.gz: '03595cbd38cd0dad1de93b33547562f54821c83446b341d9a6ba1873f6ea133a'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05f5c45ad8322900fb45338ededde9ca63d67676bfbaf75fc7c7876f0fe6396c39b9b84273aff792482e3a42d59f611e417eabffbd682a8f7fe2581643da5aee
|
|
7
|
+
data.tar.gz: 606b79611ccc56e63eccdb8d7f2919b5b3201b21688f3ec0397a55d86df183eef09fb0f0dc40e68b213ff9ba91ec53899828a30379b807d12ae2184dff8579db
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.5]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Allow puma 7 (#40)
|
|
14
|
+
- Updated gems in the lockfile
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- Check for support for 'ubuntu-24.04'
|
|
18
|
+
- Check for support for Ruby 3.4
|
|
19
|
+
|
|
20
|
+
### Dropped
|
|
21
|
+
- Check for support for 'ubuntu-20.04'
|
|
22
|
+
- Check for support for Ruby 2.6 and 2.7
|
|
23
|
+
|
|
24
|
+
|
|
10
25
|
## [1.1.4]
|
|
11
26
|
|
|
12
27
|
### Changed
|
|
@@ -37,7 +37,10 @@ class RequestQueueTimeMiddleware
|
|
|
37
37
|
# see also: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-request-tracing.html
|
|
38
38
|
def queue_start(env)
|
|
39
39
|
value = env['HTTP_X_AMZN_TRACE_ID']
|
|
40
|
+
# TODO: rewrite this line to please Rubocop
|
|
41
|
+
# rubocop:disable Style/SafeNavigationChainLength
|
|
40
42
|
value&.split('Root=')&.last&.split('-')&.fetch(1)&.to_i(16)
|
|
43
|
+
# rubocop:enable Style/SafeNavigationChainLength
|
|
41
44
|
end
|
|
42
45
|
|
|
43
46
|
def request_start
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puma-plugin-telemetry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leszek Zalewski
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: puma
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "<"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '8'
|
|
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: '
|
|
26
|
+
version: '8'
|
|
27
27
|
description: |
|
|
28
28
|
Puma plugin which should be able to handle all your metric needs regarding your webserver:
|
|
29
29
|
|
|
@@ -65,7 +65,7 @@ metadata:
|
|
|
65
65
|
changelog_uri: https://github.com/babbel/puma-plugin-telemetry/blob/main/CHANGELOG.md
|
|
66
66
|
github_repo: ssh://github.com/babbel/puma-plugin-telemetry
|
|
67
67
|
rubygems_mfa_required: 'true'
|
|
68
|
-
post_install_message:
|
|
68
|
+
post_install_message:
|
|
69
69
|
rdoc_options: []
|
|
70
70
|
require_paths:
|
|
71
71
|
- lib
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
83
|
rubygems_version: 3.0.3.1
|
|
84
|
-
signing_key:
|
|
84
|
+
signing_key:
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: Puma plugin, adding ability to publish various metrics to your prefered targets.
|
|
87
87
|
test_files: []
|