async-service-supervisor 0.12.0 → 0.13.0

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: af7b7a67aaac7ed8eadf666de3a01345e949ba59829aa6c864e94af19f5d422a
4
- data.tar.gz: 9765b0474d90eff9294e7865708a0c772a87e8ff7b0787baf0478f67e742b22b
3
+ metadata.gz: 6452960a45d9826d2e779d54ff18c5009fc678721de4da210c1ed7e2fc9248d3
4
+ data.tar.gz: 53a8015e7205c698268975621f14205d0f39546138d06f6a1496e1897fd1f0b1
5
5
  SHA512:
6
- metadata.gz: b678aebfa3fe28e7930c4c2426daae4f18acd8da24aa423994d8271c6a2ef8674a0dcdaa138d40c2db98e15faf4d2aa1e85815d63faae3a4cecdd374784409bc
7
- data.tar.gz: 118ab77fbf30089894f3537ba839e292d59b5263056efd07aa34af35f1dca599d087a0896a0b1dbe5b0bb1f6654751f87b2f66c98ff2fb5e15d68ac20f372637
6
+ metadata.gz: 543facc8525ffec8e9e05c231c1f7953e764268e2e8da9a6de2bae2aad3170d195cf3cac2d38dcb53df7e49ad5b27242044b6cf285245762322602f26f645df5
7
+ data.tar.gz: 9a55a1fd5a30289cec9864dfb629179e1c30298962928f728dcb395ca2c49368c8f20b16bcdeabfad1d71ce56df82e794bd6e8a90777ce5295cfa4d37305e5f6
checksums.yaml.gz.sig CHANGED
Binary file
@@ -303,6 +303,9 @@ module Async
303
303
  aggregated[service_name][key] = value
304
304
  end
305
305
  end
306
+
307
+ # Count workers per service (for utilization denominator)
308
+ aggregated[service_name][:worker_count] = (aggregated[service_name][:worker_count] || 0) + 1
306
309
  end
307
310
 
308
311
  aggregated
@@ -9,7 +9,7 @@ module Async
9
9
  module Service
10
10
  # @namespace
11
11
  module Supervisor
12
- VERSION = "0.12.0"
12
+ VERSION = "0.13.0"
13
13
  end
14
14
  end
15
15
  end
data/readme.md CHANGED
@@ -30,6 +30,10 @@ Please see the [project documentation](https://socketry.github.io/async-service-
30
30
 
31
31
  Please see the [project releases](https://socketry.github.io/async-service-supervisor/releases/index) for all releases.
32
32
 
33
+ ### v0.13.0
34
+
35
+ - Add `worker_count` to `UtilizationMonitor` aggregated metrics per service, indicating how many workers contributed to each service's metrics (useful for utilization denominator).
36
+
33
37
  ### v0.12.0
34
38
 
35
39
  - Introduce `UtilizationMonitor`, that uses shared memory to track worker utilization metrics, like total and active requests, connections, etc.
@@ -75,10 +79,6 @@ Please see the [project releases](https://socketry.github.io/async-service-super
75
79
 
76
80
  - Add agent context documentation.
77
81
 
78
- ### v0.6.2
79
-
80
- - Fix timed out RPCs and subsequent responses which should be ignored.
81
-
82
82
  ## Contributing
83
83
 
84
84
  We welcome contributions to this project.
data/releases.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.13.0
4
+
5
+ - Add `worker_count` to `UtilizationMonitor` aggregated metrics per service, indicating how many workers contributed to each service's metrics (useful for utilization denominator).
6
+
3
7
  ## v0.12.0
4
8
 
5
9
  - Introduce `UtilizationMonitor`, that uses shared memory to track worker utilization metrics, like total and active requests, connections, etc.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-service-supervisor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file