harness-active_publisher 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/harness/active_publisher.rb +1 -1
- data/lib/harness/active_publisher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 305ec8bb2aeba0fb34e7b71a622de8ba12f77b50
|
4
|
+
data.tar.gz: 4698fa4418a5f48735f3419c09f0afd9da1cd124
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6027666c07475c3ddaccde78e7aca7414fa5a604c5323cfaef0bad37031c93208632081c61b19937225ad12cebe7a883c6df4abc61129249bd0b4cb34222dac6
|
7
|
+
data.tar.gz: d2dea45b8463dc632fdb0d2513c1d2cc1099cb81aaf0fab50985b51abbacf55a670aae1aca7440148464c2cb8f78efbeea8d9ec1b5937e4767dc7a5069ddd381
|
@@ -20,7 +20,7 @@ end
|
|
20
20
|
::ActiveSupport::Notifications.subscribe "message_published.active_publisher" do |*args|
|
21
21
|
event = ::ActiveSupport::Notifications::Event.new(*args)
|
22
22
|
message_count = event.payload.fetch(:message_count, 1)
|
23
|
-
::Harness.
|
23
|
+
::Harness.count PUBLISHED_METRIC, message_count
|
24
24
|
::Harness.timing LATENCY_METRIC, event.duration
|
25
25
|
end
|
26
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harness-active_publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Ries
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|