waterdrop 2.2.0 → 2.3.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: db36e5203312e482d0d98a83d3bfb4fd5e274c342e5b3c63829d6bb5f616b52e
4
- data.tar.gz: 6e49baf2f5ebd33aded769899fc0eb7f3c130ac97d9a6156fd491d000fd04306
3
+ metadata.gz: f665d9dff358be819f65b6adb794175af3d0858062daaad60aef05cdd99f8023
4
+ data.tar.gz: 72598f0afd73a612c162e3e820d0ab705fbe79563f5637656842b8a3f07e357f
5
5
  SHA512:
6
- metadata.gz: 426d9f910ca5e24a7e86db1ceec672f895186ace830554708e8741d21bb83f929c9278ed5018bff6468b354523ac7cc790cba0b91b8c13dd2bb28e58f8a52dc6
7
- data.tar.gz: b3871df6868ce287daf0765f522031cfdd566b96d0e5f8bf3ca1cd9724a7a68d5b3e4e1a33e0bdcc9b65063150d48cfc213e19348d19a6268a309b1c69dcab50
6
+ metadata.gz: 7f43f5cff311886bf7e2ff26b3fac2c9280aa6a9916115ff93ee9b07e1dadf8ab8017d6cfce063db34bd00403cc452942d432f41e538ae0f0c23fb95997b2003
7
+ data.tar.gz: 89cba9dfeed151f61f6cc113f6b08ccd0ac365161897a3f938b31002a1933ebc40e3103307742281b7b389bcef0e550b98ada6207ac001e8115b03c0b9efaf90
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 2.3.0 (2022-04-03)
4
+ - Rename StdoutListener to LoggerListener (#240)
5
+
3
6
  ## 2.2.0 (2022-02-18)
4
7
  - Add Datadog listener for metrics + errors publishing
5
8
  - Add Datadog example dashboard template
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (2.2.0)
4
+ waterdrop (2.3.0)
5
5
  concurrent-ruby (>= 1.1)
6
6
  dry-configurable (~> 0.13)
7
7
  dry-monitor (~> 0.5)
@@ -12,13 +12,13 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.2)
15
+ activesupport (7.0.2.3)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
19
19
  tzinfo (~> 2.0)
20
20
  byebug (11.1.3)
21
- concurrent-ruby (1.1.9)
21
+ concurrent-ruby (1.1.10)
22
22
  diff-lcs (1.5.0)
23
23
  docile (1.4.0)
24
24
  dry-configurable (0.14.0)
@@ -41,7 +41,7 @@ GEM
41
41
  dry-configurable (~> 0.13, >= 0.13.0)
42
42
  dry-core (~> 0.5, >= 0.5)
43
43
  dry-events (~> 0.2)
44
- dry-schema (1.8.0)
44
+ dry-schema (1.9.1)
45
45
  concurrent-ruby (~> 1.0)
46
46
  dry-configurable (~> 0.13, >= 0.13.0)
47
47
  dry-core (~> 0.5, >= 0.5)
@@ -54,18 +54,18 @@ GEM
54
54
  dry-core (~> 0.5, >= 0.5)
55
55
  dry-inflector (~> 0.1, >= 0.1.2)
56
56
  dry-logic (~> 1.0, >= 1.0.2)
57
- dry-validation (1.7.0)
57
+ dry-validation (1.8.0)
58
58
  concurrent-ruby (~> 1.0)
59
59
  dry-container (~> 0.7, >= 0.7.1)
60
60
  dry-core (~> 0.5, >= 0.5)
61
61
  dry-initializer (~> 3.0)
62
- dry-schema (~> 1.8, >= 1.8.0)
63
- factory_bot (6.2.0)
62
+ dry-schema (~> 1.9, >= 1.9.1)
63
+ factory_bot (6.2.1)
64
64
  activesupport (>= 5.0.0)
65
65
  ffi (1.15.5)
66
- i18n (1.9.1)
66
+ i18n (1.10.0)
67
67
  concurrent-ruby (~> 1.0)
68
- mini_portile2 (2.7.1)
68
+ mini_portile2 (2.8.0)
69
69
  minitest (5.15.0)
70
70
  rake (13.0.6)
71
71
  rdkafka (0.11.1)
@@ -81,7 +81,7 @@ GEM
81
81
  rspec-expectations (3.11.0)
82
82
  diff-lcs (>= 1.2.0, < 2.0)
83
83
  rspec-support (~> 3.11.0)
84
- rspec-mocks (3.11.0)
84
+ rspec-mocks (3.11.1)
85
85
  diff-lcs (>= 1.2.0, < 2.0)
86
86
  rspec-support (~> 3.11.0)
87
87
  rspec-support (3.11.0)
@@ -90,12 +90,13 @@ GEM
90
90
  simplecov-html (~> 0.11)
91
91
  simplecov_json_formatter (~> 0.1)
92
92
  simplecov-html (0.12.3)
93
- simplecov_json_formatter (0.1.3)
93
+ simplecov_json_formatter (0.1.4)
94
94
  tzinfo (2.0.4)
95
95
  concurrent-ruby (~> 1.0)
96
96
  zeitwerk (2.5.4)
97
97
 
98
98
  PLATFORMS
99
+ arm64-darwin-21
99
100
  x86_64-linux
100
101
 
101
102
  DEPENDENCIES
@@ -106,4 +107,4 @@ DEPENDENCIES
106
107
  waterdrop!
107
108
 
108
109
  BUNDLED WITH
109
- 2.3.7
110
+ 2.3.10
data/README.md CHANGED
@@ -314,7 +314,7 @@ end
314
314
  producer.monitor.subscribe(listener)
315
315
  ```
316
316
 
317
- You can also find a ready to import DataDog dashboard configuration file that you can use to monitor all of your producer.
317
+ You can also find [here](https://github.com/karafka/waterdrop/blob/master/lib/waterdrop/instrumentation/vendors/datadog/dashboard.json) a ready to import DataDog dashboard configuration file that you can use to monitor all of your producers.
318
318
 
319
319
  ### Error notifications
320
320
 
@@ -6,8 +6,8 @@ module WaterDrop
6
6
  # It can be removed/replaced or anything without any harm to the Waterdrop flow
7
7
  # @note It is a module as we can use it then as a part of the Karafka framework listener
8
8
  # as well as we can use it standalone
9
- class StdoutListener
10
- # @param logger [Object] stdout logger we want to use
9
+ class LoggerListener
10
+ # @param logger [Object] logger we want to use
11
11
  def initialize(logger)
12
12
  @logger = logger
13
13
  end
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '2.2.0'
6
+ VERSION = '2.3.0'
7
7
  end
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- P0n�g��{�2��+Ix����t��F�F�����%�;d���
1
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waterdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -34,7 +34,7 @@ cert_chain:
34
34
  R2P11bWoCtr70BsccVrN8jEhzwXngMyI2gVt750Y+dbTu1KgRqZKp/ECe7ZzPzXj
35
35
  pIy9vHxTANKYVyI4qj8OrFdEM5BQNu8oQpL0iQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2022-02-18 00:00:00.000000000 Z
37
+ date: 2022-04-03 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: concurrent-ruby
@@ -155,8 +155,8 @@ files:
155
155
  - lib/waterdrop/instrumentation/callbacks/statistics.rb
156
156
  - lib/waterdrop/instrumentation/callbacks/statistics_decorator.rb
157
157
  - lib/waterdrop/instrumentation/callbacks_manager.rb
158
+ - lib/waterdrop/instrumentation/logger_listener.rb
158
159
  - lib/waterdrop/instrumentation/monitor.rb
159
- - lib/waterdrop/instrumentation/stdout_listener.rb
160
160
  - lib/waterdrop/instrumentation/vendors/datadog/dashboard.json
161
161
  - lib/waterdrop/instrumentation/vendors/datadog/listener.rb
162
162
  - lib/waterdrop/patches/rdkafka/bindings.rb
metadata.gz.sig CHANGED
Binary file