fluent-plugin-airbrake-python 0.1.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_airbrake_python.rb +3 -6
- metadata +17 -11
- checksums.yaml +0 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2
|
@@ -71,6 +71,7 @@ class Fluent::AirbrakePythonOutput < Fluent::Output
|
|
71
71
|
backtrace = args.delete(:backtrace)
|
72
72
|
super
|
73
73
|
@error_class = args[:error_class]
|
74
|
+
@hostname = args[:hostname] if args[:hostname]
|
74
75
|
@backtrace = backtrace
|
75
76
|
end
|
76
77
|
end
|
@@ -109,7 +110,7 @@ class Fluent::AirbrakePythonOutput < Fluent::Output
|
|
109
110
|
end
|
110
111
|
|
111
112
|
def notification_needed(tag, time, record)
|
112
|
-
record['sys_levelno']
|
113
|
+
record['sys_levelno'] >= @loglevel
|
113
114
|
end
|
114
115
|
|
115
116
|
def build_component_name_py(record)
|
@@ -121,11 +122,7 @@ class Fluent::AirbrakePythonOutput < Fluent::Output
|
|
121
122
|
end
|
122
123
|
|
123
124
|
def build_message_py(record)
|
124
|
-
|
125
|
-
record['message'].sub(@message_regexp, @message_template)
|
126
|
-
else
|
127
|
-
nil
|
128
|
-
end
|
125
|
+
record['message'].sub(@message_regexp, @message_template)
|
129
126
|
end
|
130
127
|
|
131
128
|
def build_cgi_data_dump(record)
|
metadata
CHANGED
@@ -1,41 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-airbrake-python
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.2'
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Moriyoshi Koizumi
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-06-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: fluentd
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: airbrake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '3.1'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '3.1'
|
41
46
|
description: Airbrake (Python) plugin for Fluentd
|
@@ -53,25 +58,26 @@ files:
|
|
53
58
|
- lib/fluent/plugin/out_airbrake_python.rb
|
54
59
|
homepage: https://github.com/moriyoshi/fluent-plugin-airbrake-python
|
55
60
|
licenses: []
|
56
|
-
metadata: {}
|
57
61
|
post_install_message:
|
58
62
|
rdoc_options: []
|
59
63
|
require_paths:
|
60
64
|
- lib
|
61
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
62
67
|
requirements:
|
63
|
-
- - '>='
|
68
|
+
- - ! '>='
|
64
69
|
- !ruby/object:Gem::Version
|
65
70
|
version: '0'
|
66
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
67
73
|
requirements:
|
68
|
-
- - '>='
|
74
|
+
- - ! '>='
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
78
|
rubyforge_project:
|
73
|
-
rubygems_version:
|
79
|
+
rubygems_version: 1.8.23
|
74
80
|
signing_key:
|
75
|
-
specification_version:
|
81
|
+
specification_version: 3
|
76
82
|
summary: Airbrake (Python) plugin for Fluentd
|
77
83
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 28b0784c5ccaa56110dc027981366f8b72e8dbff
|
4
|
-
data.tar.gz: 2e6b222eac25217401a6c161bcc8c77c7e6b9db6
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 78cc6df0ccff5dae68a59a4094e197c9079483a9099ada9d0f0cf71f6058f463bdb96e8b254c153f658575be5f9fd4b47d9167d819be697806fdcb50f0999690
|
7
|
-
data.tar.gz: a81cbaab9515d316813fa245be498b1f28c4ec47cf0b79eadd99cf4c75d0eb62a6222286265061cdd96164252fb8edbc4ef0984a57b0ac48d58e62d7c14e0b42
|