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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef870a39dc363601523e7f7a514d351706e4621e
4
- data.tar.gz: 5b1c11fa9cfb4b0f019664029df18b70c50484fc
3
+ metadata.gz: d8e8165d016b68154e8b81133a00585e0495d416
4
+ data.tar.gz: 8e716a1d64215b418c396ae70253ea752ade1341
5
5
  SHA512:
6
- metadata.gz: f1b923555c5c7d899b52f5bb5e95b0fcf07ded1cb6515ac6d3bbfe7d1f28bcce3a937537bd681bcb5ad29b11f3522776b9606d6d54c72b1dc2fad4ac169090cb
7
- data.tar.gz: 79c314e65964b2d7826d2ac01f55d0a792e65581968209b4b440c6af328e2a21a73bd17863c6f945d6ceacf915aa714e2816ee270d5cffecb4297452748c3689
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.12"
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 stacktrace backtrace).to_set()
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['backtrace'] || record['stacktrace']
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sentry-rubrik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Yoshida