honeybadger 5.13.1 → 5.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/honeybadger/config/defaults.rb +1 -1
- data/lib/honeybadger/events_worker.rb +7 -1
- data/lib/honeybadger/init/rails.rb +4 -0
- data/lib/honeybadger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9327612c1149635f6a4a1b23129051c56d65596f188aa6bf9959a9da31c54488
|
4
|
+
data.tar.gz: f56e6bb5aa6c836721aee93dbd2cff929c8d548480e204b561eb86a4a35fd528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5140d9dbb1944886bc8ae0043fcda126be62de9ef02192c72843cf194c708a93bd318053a20d9a640411678a122f9bbc6d78736a59b221f65d244757808df161
|
7
|
+
data.tar.gz: d70131e529f73076f258d9e7069b55e40d29f75b6694180d57b2c986d131ac649be372ee1f2f7b87ec0ceede7092e9d72002f681ae14d0d370e2eff910daea73
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
|
4
|
+
## [5.13.3](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.13.2...v5.13.3) (2024-07-06)
|
5
|
+
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* disable insights when loading rails console ([#580](https://github.com/honeybadger-io/honeybadger-ruby/issues/580)) ([94844bd](https://github.com/honeybadger-io/honeybadger-ruby/commit/94844bd72922f27ecf40453ef7c901433067688b))
|
10
|
+
|
11
|
+
## [5.13.2](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.13.1...v5.13.2) (2024-07-03)
|
12
|
+
|
13
|
+
|
14
|
+
### Bug Fixes
|
15
|
+
|
16
|
+
* buffer more and warn less ([#575](https://github.com/honeybadger-io/honeybadger-ruby/issues/575)) ([8e99e17](https://github.com/honeybadger-io/honeybadger-ruby/commit/8e99e17af65e8d0002e5e8204d5ded1cea891e86))
|
17
|
+
|
4
18
|
## [5.13.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.13.0...v5.13.1) (2024-07-01)
|
5
19
|
|
6
20
|
|
@@ -39,13 +39,14 @@ module Honeybadger
|
|
39
39
|
@pid = Process.pid
|
40
40
|
@send_queue = []
|
41
41
|
@last_sent = nil
|
42
|
+
@dropped_events = 0
|
42
43
|
end
|
43
44
|
|
44
45
|
def push(msg)
|
45
46
|
return false unless start
|
46
47
|
|
47
48
|
if queue.size >= config.events_max_queue_size
|
48
|
-
|
49
|
+
@dropped_events += 1
|
49
50
|
return false
|
50
51
|
end
|
51
52
|
|
@@ -207,7 +208,12 @@ module Honeybadger
|
|
207
208
|
send_now(mutex.synchronize { send_queue })
|
208
209
|
mutex.synchronize do
|
209
210
|
@last_sent = Time.now
|
211
|
+
debug { sprintf('Sending %s events', send_queue.length) }
|
210
212
|
send_queue.clear
|
213
|
+
if @dropped_events > 0
|
214
|
+
warn { sprintf('Dropped %s messages due to exceeding max queue size of %s', @dropped_events, config.events_max_queue_size) }
|
215
|
+
end
|
216
|
+
@dropped_events = 0
|
211
217
|
end
|
212
218
|
end
|
213
219
|
|
@@ -32,6 +32,10 @@ module Honeybadger
|
|
32
32
|
config.after_initialize do
|
33
33
|
Honeybadger.load_plugins!
|
34
34
|
end
|
35
|
+
|
36
|
+
console do
|
37
|
+
Honeybadger::Agent.instance.config[:'insights.enabled'] = false unless Honeybadger::Agent.instance.config.env.has_key?(:'insights.enabled')
|
38
|
+
end
|
35
39
|
end
|
36
40
|
end
|
37
41
|
end
|
data/lib/honeybadger/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybadger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.13.
|
4
|
+
version: 5.13.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Honeybadger Industries LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|