honeybadger 5.26.3 → 5.27.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 +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/honeybadger/breadcrumbs/active_support.rb +1 -1
- data/lib/honeybadger/config/defaults.rb +2 -2
- data/lib/honeybadger/notice.rb +3 -3
- 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: fbd7746df88c3b6dd14133fa6d4bdc4494784bb313664d650a98518de3461164
|
4
|
+
data.tar.gz: cb730660a692f813e5446fdacc88840b3d60931a073a193a8a36715630b8d792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 060ab52bd078db8ca738a29d56bd002ebbb4f1faa4e9f6dd93d84b1bbaae2bc2805304befd47aa60d6c35d24080b0f51511c0e1a18e9a3fd0e0ad15f6f077f02
|
7
|
+
data.tar.gz: 4472a8bc2a79c6674b10257051f44b036717c4e3fb5f08bfad8b04d200883f3a42f9e6e57a02a2ad206c14a021bb6605a2207846b9d5791dc079fd1c2f662034
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
|
4
|
+
## [5.27.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.26.4...v5.27.0) (2025-03-13)
|
5
|
+
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* set action and component from context ([#672](https://github.com/honeybadger-io/honeybadger-ruby/issues/672)) ([1704486](https://github.com/honeybadger-io/honeybadger-ruby/commit/17044868f28c78f76752e1464c3eea30cc75d74b))
|
10
|
+
|
11
|
+
## [5.26.4](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.26.3...v5.26.4) (2025-02-18)
|
12
|
+
|
13
|
+
|
14
|
+
### Bug Fixes
|
15
|
+
|
16
|
+
* ignore transactions with the immediate keyword ([#668](https://github.com/honeybadger-io/honeybadger-ruby/issues/668)) ([43e9ccb](https://github.com/honeybadger-io/honeybadger-ruby/commit/43e9ccb8afb86b6be340dba064af14c5cfd4929f))
|
17
|
+
|
4
18
|
## [5.26.3](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.26.2...v5.26.3) (2025-02-10)
|
5
19
|
|
6
20
|
|
@@ -27,7 +27,7 @@ module Honeybadger
|
|
27
27
|
exclude_when: lambda do |data|
|
28
28
|
# Ignore schema, begin, and commit transaction queries
|
29
29
|
data[:name] == "SCHEMA" ||
|
30
|
-
(data[:sql] && (Util::SQL.force_utf_8(data[:sql].dup) =~ /^(begin|commit)( transaction)?$/i))
|
30
|
+
(data[:sql] && (Util::SQL.force_utf_8(data[:sql].dup) =~ /^(begin|commit)( immediate)?( transaction)?$/i))
|
31
31
|
end
|
32
32
|
},
|
33
33
|
|
@@ -32,8 +32,8 @@ module Honeybadger
|
|
32
32
|
'Sidekiq::JobRetry::Skip'].map(&:freeze).freeze
|
33
33
|
|
34
34
|
IGNORE_EVENTS_DEFAULT = [
|
35
|
-
{ event_type: 'metric.hb', metric_name: 'duration.sql.active_record', query: /^(begin|commit)( transaction)?$/i },
|
36
|
-
{ event_type: 'sql.active_record', query: /^(begin|commit)( transaction)?$/i },
|
35
|
+
{ event_type: 'metric.hb', metric_name: 'duration.sql.active_record', query: /^(begin|commit)( immediate)?( transaction)?$/i },
|
36
|
+
{ event_type: 'sql.active_record', query: /^(begin|commit)( immediate)?( transaction)?$/i },
|
37
37
|
{ event_type: 'sql.active_record', query: /(solid_queue|good_job)/i },
|
38
38
|
{ event_type: 'sql.active_record', name: /^GoodJob/ },
|
39
39
|
{ event_type: 'process_action.action_controller', controller: 'Rails::HealthController' }
|
data/lib/honeybadger/notice.rb
CHANGED
@@ -217,9 +217,9 @@ module Honeybadger
|
|
217
217
|
self.tags = construct_tags(opts[:tags]) | construct_tags(context[:tags])
|
218
218
|
|
219
219
|
self.url = opts[:url] || request_hash[:url] || nil
|
220
|
-
self.action = opts[:action] || request_hash[:action]
|
221
|
-
self.component = opts[:controller] || opts[:component] || request_hash[:component] || nil
|
222
|
-
self.params = opts[:parameters] || opts[:params] || request_hash[:params]
|
220
|
+
self.action = opts[:action] || context[:_action] || request_hash[:action] || nil
|
221
|
+
self.component = opts[:controller] || opts[:component] || context[:_component] || request_hash[:component] || nil
|
222
|
+
self.params = opts[:parameters] || opts[:params] || request_hash[:params] || {}
|
223
223
|
self.session = opts[:session] || request_hash[:session] || {}
|
224
224
|
self.cgi_data = opts[:cgi_data] || request_hash[:cgi_data] || {}
|
225
225
|
self.details = opts[:details] || {}
|
data/lib/honeybadger/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybadger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Honeybadger Industries LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-13 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: logger
|