harness-protobuf-nats 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cfd1c6a5f74e049c7463ed34a6ecd29bde90bfb
4
- data.tar.gz: 1c5147884a8be1bf3069f7bcdff7c90a15f0740b
3
+ metadata.gz: 92beaddfd49411748ddf113cfc71e83085a73d14
4
+ data.tar.gz: cf0a3d0c4a2ebe88a6f712b2c654c38bdfaf1b8f
5
5
  SHA512:
6
- metadata.gz: 7bb51eedf76fe3404129525f99d075594fa0e71a8ace36f1fd2ddc5ddeb1abb7320724a64400a039f11e6697015558311a99d7d4123d469bc484811f0056ae5d
7
- data.tar.gz: 4f8a7c5fb23b9b1993b8928614419e1fd26595ea45022b2167927b4ae7b63a195ccf2e3b11810628a699c1e4d942bf64165e8fda8f2dcb3d52ae2bccd37f3b4b
6
+ metadata.gz: bb2c60a4049d18e13ed0e8e07c97c33c9090d77f1f30a6c1abe2976434211ad5c60e243d570e119e5fec950ab562eacd5034fff476f6ce5f922e8dd5d26b87fb
7
+ data.tar.gz: 969fba7fcf81db2eac98a480b409fa52a281c3190a2b06db2bd43bf607e8ba376aaf56c0f68bf4924aed7c84197495b4ee6d67073b34dcf571e401388e5b7ec3
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ .ruby-*
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /Gemfile.lock
@@ -37,3 +37,7 @@ end
37
37
  event = ::ActiveSupport::Notifications::Event.new(*args)
38
38
  ::Harness.timing "protobuf-nats.client.request_duration", event.duration
39
39
  end
40
+
41
+ ::ActiveSupport::Notifications.subscribe "client.subscription_pool_available_size.protobuf-nats" do |_, _, _, _, available_size|
42
+ ::Harness.count "protobuf-nats.client.subscription_pool_available_size", available_size
43
+ end
@@ -1,7 +1,7 @@
1
1
  module Harness
2
2
  module Protobuf
3
3
  module Nats
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harness-protobuf-nats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garrett Thornburg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-20 00:00:00.000000000 Z
11
+ date: 2017-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport