puma-plugin-telemetry 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -0
- data/.github/workflows/build.yml +20 -3
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -1
- data/lib/puma/plugin/telemetry/version.rb +1 -1
- data/puma-plugin-telemetry.gemspec +16 -7
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b31aee911567917f13e7f977ddeef8151bf77e0ce4c42c3d55cacb72e484282
|
4
|
+
data.tar.gz: 7d77fce9892123332269b790e99f3304b3ed6f964a2c6693e8490e32b1e90aa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab0213de9d5ab7501e073fe4741ab6c2d5d42789ca9373e33833e86312c3414ee22376192d97a7c45d0c84df429202d2ba0feb7f410daf947fdb660e0e5d2322
|
7
|
+
data.tar.gz: 63cb99867fef6f6f5f491bf37634b1dcdf17e5c5f279c9f032c164bb24887f85a193258e88511b7112be9a4539db4460a8910f3f9332d783fb168cf92eab7406
|
data/.github/CODEOWNERS
CHANGED
data/.github/workflows/build.yml
CHANGED
@@ -37,10 +37,27 @@ jobs:
|
|
37
37
|
echo "build complete"
|
38
38
|
|
39
39
|
release:
|
40
|
-
needs: build
|
41
|
-
if: contains(github.ref, 'tags') && github.event_name == 'create'
|
42
40
|
runs-on: ubuntu-20.04
|
41
|
+
|
42
|
+
needs:
|
43
|
+
- build
|
44
|
+
|
45
|
+
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
|
46
|
+
|
43
47
|
steps:
|
44
48
|
- uses: actions/checkout@v3
|
45
49
|
- uses: ruby/setup-ruby@v1
|
46
|
-
|
50
|
+
|
51
|
+
- name: Create credentials
|
52
|
+
run: |
|
53
|
+
mkdir -p ~/.gem
|
54
|
+
cat << EOF > ~/.gem/credentials
|
55
|
+
---
|
56
|
+
:rubygems_api_key: ${{ secrets.RUBYGEMS_TOKEN }}
|
57
|
+
EOF
|
58
|
+
chmod 0600 /home/runner/.gem/credentials
|
59
|
+
|
60
|
+
- name: Publish gem
|
61
|
+
run: |
|
62
|
+
gem build puma-plugin-telemetry.gemspec
|
63
|
+
gem push puma-plugin-telemetry-*.gem
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Puma::Plugin::Telemetry
|
2
2
|
|
3
|
-
Puma plugin
|
3
|
+
Puma plugin which should be able to handle all your metric needs regarding your webserver:
|
4
|
+
|
5
|
+
- ability to publish basic puma statistics (like queue backlog) to both logs and datadog
|
6
|
+
- ability to add custom target whenever you need it
|
7
|
+
- ability to monitor puma socket listen queue (!)
|
8
|
+
- ability to report requests queue time via custom rack middleware - the time request spent between being accepted by Load Balancer and start of its processing by Puma worker
|
4
9
|
|
5
10
|
## Install
|
6
11
|
|
@@ -2,16 +2,25 @@
|
|
2
2
|
|
3
3
|
require_relative 'lib/puma/plugin/telemetry/version'
|
4
4
|
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.authors
|
9
|
-
spec.email
|
5
|
+
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
6
|
+
spec.name = 'puma-plugin-telemetry'
|
7
|
+
spec.version = Puma::Plugin::Telemetry::VERSION
|
8
|
+
spec.authors = ['Leszek Zalewski']
|
9
|
+
spec.email = ['tnt@babbel.com']
|
10
10
|
|
11
|
-
spec.license
|
11
|
+
spec.license = 'MIT'
|
12
12
|
|
13
13
|
spec.summary = 'Puma plugin, adding ability to publish various metrics to your prefered targets.'
|
14
|
-
spec.
|
14
|
+
spec.description = <<~TXT
|
15
|
+
Puma plugin which should be able to handle all your metric needs regarding your webserver:
|
16
|
+
|
17
|
+
- ability to publish basic puma statistics (like queue backlog) to both logs and datadog
|
18
|
+
- ability to add custom target whenever you need it
|
19
|
+
- ability to monitor puma socket listen queue (!)
|
20
|
+
- ability to report requests queue time via custom rack middleware - the time request spent between being accepted by Load Balancer and start of its processing by Puma worker
|
21
|
+
TXT
|
22
|
+
|
23
|
+
spec.homepage = 'https://github.com/babbel/puma-plugin-telemetry'
|
15
24
|
|
16
25
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
|
17
26
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leszek Zalewski
|
@@ -24,7 +24,13 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.0'
|
27
|
-
description:
|
27
|
+
description: |
|
28
|
+
Puma plugin which should be able to handle all your metric needs regarding your webserver:
|
29
|
+
|
30
|
+
- ability to publish basic puma statistics (like queue backlog) to both logs and datadog
|
31
|
+
- ability to add custom target whenever you need it
|
32
|
+
- ability to monitor puma socket listen queue (!)
|
33
|
+
- ability to report requests queue time via custom rack middleware - the time request spent between being accepted by Load Balancer and start of its processing by Puma worker
|
28
34
|
email:
|
29
35
|
- tnt@babbel.com
|
30
36
|
executables: []
|
@@ -81,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: '0'
|
83
89
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
90
|
+
rubygems_version: 3.0.3
|
85
91
|
signing_key:
|
86
92
|
specification_version: 4
|
87
93
|
summary: Puma plugin, adding ability to publish various metrics to your prefered targets.
|