fluent-plugin-sentry-rubrik 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-sentry.gemspec +1 -1
- data/lib/fluent/plugin/out_sentry.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8e8165d016b68154e8b81133a00585e0495d416
|
4
|
+
data.tar.gz: 8e716a1d64215b418c396ae70253ea752ade1341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26185c4184d3aa7cd0a0e19aded2cff2c8ee8861095332b33d3b4d98b93eb1267c62f72812c64d66d21b969aa4cb8b35b6cbcbe514b89aa315676d198a59fb31
|
7
|
+
data.tar.gz: e1e17c2620d08f158d35e1799d266ffe703846029ee02bce6cdf2eaaeb6bd3b279d8590da8d27b307ccb9cea93717147226c37ae0ee475718dd4318e6702adb1
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-sentry-rubrik"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.13"
|
8
8
|
spec.authors = ["Kentaro Yoshida", "François-Xavier Bourlet"]
|
9
9
|
spec.email = ["y.ken.studio@gmail.com", "fx.bourlet@rubrik.com"]
|
10
10
|
spec.summary = %q{Fluentd output plugin that sends aggregated errors/exception events to Sentry. Sentry is a event logging and aggregation platform.}
|
@@ -10,7 +10,7 @@ module Fluent
|
|
10
10
|
include Fluent::HandleTagNameMixin
|
11
11
|
|
12
12
|
LOG_LEVEL = %w(fatal error warn warning info debug).to_set()
|
13
|
-
EVENT_KEYS = %w(message msg timestamp level logger
|
13
|
+
EVENT_KEYS = %w(message msg timestamp level logger).to_set()
|
14
14
|
DEFAULT_HOSTNAME_COMMAND = 'hostname'
|
15
15
|
|
16
16
|
config_param :default_level, :string, :default => 'info'
|
@@ -93,10 +93,11 @@ module Fluent
|
|
93
93
|
:message => record['message'] || record['msg'] || "",
|
94
94
|
)
|
95
95
|
|
96
|
-
stacktrace = record['
|
96
|
+
stacktrace = record['stacktrace']
|
97
97
|
if stacktrace
|
98
98
|
if @stacktrace_expand_json_escaping
|
99
99
|
stacktrace = stacktrace.gsub(/\\[nt]/, '\n' => "\n", '\t' => "\t")
|
100
|
+
record['stacktrace'] = stacktrace
|
100
101
|
end
|
101
102
|
event.interface(:stacktrace) do |int|
|
102
103
|
int.frames = event.stacktrace_interface_from(stacktrace)
|