airbrake-api 3.3.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +8 -2
- data/README.md +55 -31
- data/airbrake-api.gemspec +3 -1
- data/lib/airbrake-api.rb +2 -20
- data/lib/airbrake-api/base.rb +17 -0
- data/lib/airbrake-api/client.rb +149 -26
- data/lib/airbrake-api/configuration.rb +55 -0
- data/lib/airbrake-api/error.rb +20 -35
- data/lib/airbrake-api/middleware/raise_response_error.rb +17 -0
- data/lib/airbrake-api/middleware/raise_server_error.rb +16 -0
- data/lib/airbrake-api/middleware/scrub_response.rb +15 -0
- data/lib/airbrake-api/notice.rb +21 -49
- data/lib/airbrake-api/project.rb +10 -9
- data/lib/airbrake-api/version.rb +1 -1
- data/spec/airbrake_api/client_spec.rb +178 -0
- data/spec/airbrake_api/notice_spec.rb +9 -1
- data/spec/airbrake_api_spec.rb +27 -3
- data/spec/fixtures/deploys.xml +275 -0
- data/spec/fixtures/empty_deploys.xml +5 -0
- data/spec/fixtures/individual_notice.xml +109 -109
- data/spec/spec_helper.rb +11 -6
- metadata +56 -14
- data/lib/airbrake-api/core_extensions.rb +0 -5
data/spec/airbrake_api_spec.rb
CHANGED
@@ -4,9 +4,7 @@ describe AirbrakeAPI do
|
|
4
4
|
|
5
5
|
context "configuration" do
|
6
6
|
before(:each) do
|
7
|
-
AirbrakeAPI.
|
8
|
-
AirbrakeAPI.auth_token = nil
|
9
|
-
AirbrakeAPI.secure = false
|
7
|
+
AirbrakeAPI.reset
|
10
8
|
end
|
11
9
|
|
12
10
|
it "should allow setting of the account" do
|
@@ -36,6 +34,18 @@ describe AirbrakeAPI do
|
|
36
34
|
AirbrakeAPI.account.should == 'anapp'
|
37
35
|
AirbrakeAPI.account_path.should == 'https://anapp.airbrake.io'
|
38
36
|
end
|
37
|
+
|
38
|
+
it 'takes a block' do
|
39
|
+
AirbrakeAPI.configure do |config|
|
40
|
+
config.account = 'anapp'
|
41
|
+
config.auth_token = 'abcdefghij'
|
42
|
+
config.secure = true
|
43
|
+
end
|
44
|
+
|
45
|
+
AirbrakeAPI.protocol.should == 'https'
|
46
|
+
AirbrakeAPI.auth_token.should == 'abcdefghij'
|
47
|
+
AirbrakeAPI.account.should == 'anapp'
|
48
|
+
end
|
39
49
|
end
|
40
50
|
|
41
51
|
context "when using SSL" do
|
@@ -56,4 +66,18 @@ describe AirbrakeAPI do
|
|
56
66
|
end
|
57
67
|
end
|
58
68
|
|
69
|
+
describe '#options' do
|
70
|
+
it 'returns a Hash' do
|
71
|
+
AirbrakeAPI.options.should be_kind_of(Hash)
|
72
|
+
end
|
73
|
+
|
74
|
+
context 'when configured' do
|
75
|
+
it 'returns a Hash based on the configuration' do
|
76
|
+
AirbrakeAPI.configure(:account => 'anapp', :auth_token => 'abcdefg', :secure => true)
|
77
|
+
|
78
|
+
AirbrakeAPI.options[:auth_token].should eq('abcdefg')
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
59
83
|
end
|
@@ -0,0 +1,275 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
|
3
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
4
|
+
<projects>
|
5
|
+
<deploy>
|
6
|
+
<id>3484129</id>
|
7
|
+
<project-id>12345</project-id>
|
8
|
+
<rails-env>production</rails-env>
|
9
|
+
<created-at>2011-11-11 19:35:29 UTC</created-at>
|
10
|
+
<ends-at>2011-11-18 00:48:22 UTC</ends-at>
|
11
|
+
<scm-revision>7d660b1f8518359e666d79f2ad9553719c93ca36</scm-revision>
|
12
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
13
|
+
</deploy>
|
14
|
+
<deploy>
|
15
|
+
<id>3447037</id>
|
16
|
+
<project-id>12345</project-id>
|
17
|
+
<rails-env>production</rails-env>
|
18
|
+
<created-at>2011-11-09 16:30:23 UTC</created-at>
|
19
|
+
<ends-at>2011-11-11 19:35:29 UTC</ends-at>
|
20
|
+
<scm-revision>071ec92f2873e0eec628b20787521f02e83401c5</scm-revision>
|
21
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
22
|
+
</deploy>
|
23
|
+
<deploy>
|
24
|
+
<id>3447025</id>
|
25
|
+
<project-id>12345</project-id>
|
26
|
+
<rails-env>staging</rails-env>
|
27
|
+
<created-at>2011-11-09 16:30:06 UTC</created-at>
|
28
|
+
<ends-at>2011-11-18 00:48:22 UTC</ends-at>
|
29
|
+
<scm-revision>071ec92f2873e0eec628b20787521f02e83401c5</scm-revision>
|
30
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
31
|
+
</deploy>
|
32
|
+
<deploy>
|
33
|
+
<id>3447009</id>
|
34
|
+
<project-id>12345</project-id>
|
35
|
+
<rails-env>development</rails-env>
|
36
|
+
<created-at>2011-11-09 16:29:50 UTC</created-at>
|
37
|
+
<ends-at>2011-11-18 00:48:22 UTC</ends-at>
|
38
|
+
<scm-revision>071ec92f2873e0eec628b20787521f02e83401c5</scm-revision>
|
39
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
40
|
+
</deploy>
|
41
|
+
<deploy>
|
42
|
+
<id>3342521</id>
|
43
|
+
<project-id>12345</project-id>
|
44
|
+
<rails-env>production</rails-env>
|
45
|
+
<created-at>2011-11-01 15:53:41 UTC</created-at>
|
46
|
+
<ends-at>2011-11-09 16:30:23 UTC</ends-at>
|
47
|
+
<scm-revision>91eff7dded6cd7d1a097a36f0df6b65407e79a76</scm-revision>
|
48
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
49
|
+
</deploy>
|
50
|
+
<deploy>
|
51
|
+
<id>3342493</id>
|
52
|
+
<project-id>12345</project-id>
|
53
|
+
<rails-env>production</rails-env>
|
54
|
+
<created-at>2011-11-01 15:52:34 UTC</created-at>
|
55
|
+
<ends-at>2011-11-01 15:53:41 UTC</ends-at>
|
56
|
+
<scm-revision>77740e3ed160edcc0fc22d1076295b975773efc4</scm-revision>
|
57
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
58
|
+
</deploy>
|
59
|
+
<deploy>
|
60
|
+
<id>3263641</id>
|
61
|
+
<project-id>12345</project-id>
|
62
|
+
<rails-env>production</rails-env>
|
63
|
+
<created-at>2011-10-25 21:15:38 UTC</created-at>
|
64
|
+
<ends-at>2011-11-01 15:52:34 UTC</ends-at>
|
65
|
+
<scm-revision>c625b6dcc96de7f9a1461ab4707f6833b9b6e5a9</scm-revision>
|
66
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
67
|
+
</deploy>
|
68
|
+
<deploy>
|
69
|
+
<id>3263293</id>
|
70
|
+
<project-id>12345</project-id>
|
71
|
+
<rails-env>staging</rails-env>
|
72
|
+
<created-at>2011-10-25 20:51:40 UTC</created-at>
|
73
|
+
<ends-at>2011-11-09 16:30:06 UTC</ends-at>
|
74
|
+
<scm-revision>7a39487cdb016da456afc8cb335202722dc72ee3</scm-revision>
|
75
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
76
|
+
</deploy>
|
77
|
+
<deploy>
|
78
|
+
<id>3261749</id>
|
79
|
+
<project-id>12345</project-id>
|
80
|
+
<rails-env>development</rails-env>
|
81
|
+
<created-at>2011-10-25 19:16:44 UTC</created-at>
|
82
|
+
<ends-at>2011-11-09 16:29:50 UTC</ends-at>
|
83
|
+
<scm-revision>7a39487cdb016da456afc8cb335202722dc72ee3</scm-revision>
|
84
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
85
|
+
</deploy>
|
86
|
+
<deploy>
|
87
|
+
<id>3261633</id>
|
88
|
+
<project-id>12345</project-id>
|
89
|
+
<rails-env>development</rails-env>
|
90
|
+
<created-at>2011-10-25 19:10:01 UTC</created-at>
|
91
|
+
<ends-at>2011-10-25 19:16:44 UTC</ends-at>
|
92
|
+
<scm-revision>48096996253edb7d109e98468252c32e6520eb37</scm-revision>
|
93
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
94
|
+
</deploy>
|
95
|
+
<deploy>
|
96
|
+
<id>2988365</id>
|
97
|
+
<project-id>12345</project-id>
|
98
|
+
<rails-env>development</rails-env>
|
99
|
+
<created-at>2011-09-30 20:44:57 UTC</created-at>
|
100
|
+
<ends-at>2011-10-25 19:10:01 UTC</ends-at>
|
101
|
+
<scm-revision>67659600e67a3a8c83a4e4cac11f078dc06e1b07</scm-revision>
|
102
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
103
|
+
</deploy>
|
104
|
+
<deploy>
|
105
|
+
<id>2988361</id>
|
106
|
+
<project-id>12345</project-id>
|
107
|
+
<rails-env>staging</rails-env>
|
108
|
+
<created-at>2011-09-30 20:44:43 UTC</created-at>
|
109
|
+
<ends-at>2011-10-25 20:51:40 UTC</ends-at>
|
110
|
+
<scm-revision>67659600e67a3a8c83a4e4cac11f078dc06e1b07</scm-revision>
|
111
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
112
|
+
</deploy>
|
113
|
+
<deploy>
|
114
|
+
<id>2988349</id>
|
115
|
+
<project-id>12345</project-id>
|
116
|
+
<rails-env>production</rails-env>
|
117
|
+
<created-at>2011-09-30 20:44:26 UTC</created-at>
|
118
|
+
<ends-at>2011-10-25 21:15:38 UTC</ends-at>
|
119
|
+
<scm-revision>67659600e67a3a8c83a4e4cac11f078dc06e1b07</scm-revision>
|
120
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
121
|
+
</deploy>
|
122
|
+
<deploy>
|
123
|
+
<id>2988145</id>
|
124
|
+
<project-id>12345</project-id>
|
125
|
+
<rails-env>production</rails-env>
|
126
|
+
<created-at>2011-09-30 20:32:25 UTC</created-at>
|
127
|
+
<ends-at>2011-09-30 20:44:26 UTC</ends-at>
|
128
|
+
<scm-revision>44410b4e6604b3e4c9307fe3552e6f3d2b185659</scm-revision>
|
129
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
130
|
+
</deploy>
|
131
|
+
<deploy>
|
132
|
+
<id>2987953</id>
|
133
|
+
<project-id>12345</project-id>
|
134
|
+
<rails-env>production</rails-env>
|
135
|
+
<created-at>2011-09-30 20:19:01 UTC</created-at>
|
136
|
+
<ends-at>2011-09-30 20:32:25 UTC</ends-at>
|
137
|
+
<scm-revision>34b8c3c8a57584a6f86e7ad077a1c29070fa3811</scm-revision>
|
138
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
139
|
+
</deploy>
|
140
|
+
<deploy>
|
141
|
+
<id>2987865</id>
|
142
|
+
<project-id>12345</project-id>
|
143
|
+
<rails-env>production</rails-env>
|
144
|
+
<created-at>2011-09-30 20:12:10 UTC</created-at>
|
145
|
+
<ends-at>2011-09-30 20:19:01 UTC</ends-at>
|
146
|
+
<scm-revision>28950c58b04b41729acc8d3d876b11c968c283a3</scm-revision>
|
147
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
148
|
+
</deploy>
|
149
|
+
<deploy>
|
150
|
+
<id>2987845</id>
|
151
|
+
<project-id>12345</project-id>
|
152
|
+
<rails-env>staging</rails-env>
|
153
|
+
<created-at>2011-09-30 20:11:21 UTC</created-at>
|
154
|
+
<ends-at>2011-09-30 20:44:43 UTC</ends-at>
|
155
|
+
<scm-revision>28950c58b04b41729acc8d3d876b11c968c283a3</scm-revision>
|
156
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
157
|
+
</deploy>
|
158
|
+
<deploy>
|
159
|
+
<id>2856825</id>
|
160
|
+
<project-id>12345</project-id>
|
161
|
+
<rails-env>development</rails-env>
|
162
|
+
<created-at>2011-09-28 12:36:26 UTC</created-at>
|
163
|
+
<ends-at>2011-09-30 20:44:57 UTC</ends-at>
|
164
|
+
<scm-revision>28950c58b04b41729acc8d3d876b11c968c283a3</scm-revision>
|
165
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
166
|
+
</deploy>
|
167
|
+
<deploy>
|
168
|
+
<id>2735133</id>
|
169
|
+
<project-id>12345</project-id>
|
170
|
+
<rails-env>development</rails-env>
|
171
|
+
<created-at>2011-09-16 18:47:14 UTC</created-at>
|
172
|
+
<ends-at>2011-09-28 12:36:26 UTC</ends-at>
|
173
|
+
<scm-revision>28950c58b04b41729acc8d3d876b11c968c283a3</scm-revision>
|
174
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
175
|
+
</deploy>
|
176
|
+
<deploy>
|
177
|
+
<id>2712305</id>
|
178
|
+
<project-id>12345</project-id>
|
179
|
+
<rails-env>development</rails-env>
|
180
|
+
<created-at>2011-09-15 03:04:45 UTC</created-at>
|
181
|
+
<ends-at>2011-09-16 18:47:14 UTC</ends-at>
|
182
|
+
<scm-revision>3aeacea4967b9d94cb7219166296f9a3639dc500</scm-revision>
|
183
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
184
|
+
</deploy>
|
185
|
+
<deploy>
|
186
|
+
<id>2514785</id>
|
187
|
+
<project-id>12345</project-id>
|
188
|
+
<rails-env>development</rails-env>
|
189
|
+
<created-at>2011-08-29 15:01:36 UTC</created-at>
|
190
|
+
<ends-at>2011-09-15 03:04:45 UTC</ends-at>
|
191
|
+
<scm-revision>2ad82bf3e1adc0bef25e2c58a1cb31053dc1a53e</scm-revision>
|
192
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
193
|
+
</deploy>
|
194
|
+
<deploy>
|
195
|
+
<id>1831461</id>
|
196
|
+
<project-id>12345</project-id>
|
197
|
+
<rails-env>production</rails-env>
|
198
|
+
<created-at>2011-07-11 17:22:12 UTC</created-at>
|
199
|
+
<ends-at>2011-09-30 20:12:10 UTC</ends-at>
|
200
|
+
<scm-revision>d792b6b64e8bc88de36775890daf3fc09c4efab9</scm-revision>
|
201
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
202
|
+
</deploy>
|
203
|
+
<deploy>
|
204
|
+
<id>1831305</id>
|
205
|
+
<project-id>12345</project-id>
|
206
|
+
<rails-env>staging</rails-env>
|
207
|
+
<created-at>2011-07-11 17:09:52 UTC</created-at>
|
208
|
+
<ends-at>2011-09-30 20:11:21 UTC</ends-at>
|
209
|
+
<scm-revision>d792b6b64e8bc88de36775890daf3fc09c4efab9</scm-revision>
|
210
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
211
|
+
</deploy>
|
212
|
+
<deploy>
|
213
|
+
<id>1829505</id>
|
214
|
+
<project-id>12345</project-id>
|
215
|
+
<rails-env>staging</rails-env>
|
216
|
+
<created-at>2011-07-11 14:56:38 UTC</created-at>
|
217
|
+
<ends-at>2011-07-11 17:09:52 UTC</ends-at>
|
218
|
+
<scm-revision>d792b6b64e8bc88de36775890daf3fc09c4efab9</scm-revision>
|
219
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
220
|
+
</deploy>
|
221
|
+
<deploy>
|
222
|
+
<id>1829285</id>
|
223
|
+
<project-id>12345</project-id>
|
224
|
+
<rails-env>development</rails-env>
|
225
|
+
<created-at>2011-07-11 14:40:32 UTC</created-at>
|
226
|
+
<ends-at>2011-08-29 15:01:36 UTC</ends-at>
|
227
|
+
<scm-revision>d792b6b64e8bc88de36775890daf3fc09c4efab9</scm-revision>
|
228
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
229
|
+
</deploy>
|
230
|
+
<deploy>
|
231
|
+
<id>1743121</id>
|
232
|
+
<project-id>12345</project-id>
|
233
|
+
<rails-env>production</rails-env>
|
234
|
+
<created-at>2011-07-01 02:52:54 UTC</created-at>
|
235
|
+
<ends-at>2011-07-11 17:22:12 UTC</ends-at>
|
236
|
+
<scm-revision>67d71fe0454dacccbdb93bfa8e1efbbc415c16db</scm-revision>
|
237
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
238
|
+
</deploy>
|
239
|
+
<deploy>
|
240
|
+
<id>1743113</id>
|
241
|
+
<project-id>12345</project-id>
|
242
|
+
<rails-env>staging</rails-env>
|
243
|
+
<created-at>2011-07-01 02:52:12 UTC</created-at>
|
244
|
+
<ends-at>2011-07-11 14:56:38 UTC</ends-at>
|
245
|
+
<scm-revision>7c922dd8e917c12db98bb81cfdb024f05e68b99a</scm-revision>
|
246
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
247
|
+
</deploy>
|
248
|
+
<deploy>
|
249
|
+
<id>1743109</id>
|
250
|
+
<project-id>12345</project-id>
|
251
|
+
<rails-env>development</rails-env>
|
252
|
+
<created-at>2011-07-01 02:51:53 UTC</created-at>
|
253
|
+
<ends-at>2011-07-11 14:40:32 UTC</ends-at>
|
254
|
+
<scm-revision>7c922dd8e917c12db98bb81cfdb024f05e68b99a</scm-revision>
|
255
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
256
|
+
</deploy>
|
257
|
+
<deploy>
|
258
|
+
<id>1740161</id>
|
259
|
+
<project-id>12345</project-id>
|
260
|
+
<rails-env>production</rails-env>
|
261
|
+
<created-at>2011-06-30 21:34:18 UTC</created-at>
|
262
|
+
<ends-at>2011-07-01 02:52:54 UTC</ends-at>
|
263
|
+
<scm-revision></scm-revision>
|
264
|
+
<scm-repository></scm-repository>
|
265
|
+
</deploy>
|
266
|
+
<deploy>
|
267
|
+
<id>1722985</id>
|
268
|
+
<project-id>12345</project-id>
|
269
|
+
<rails-env>staging</rails-env>
|
270
|
+
<created-at>2011-06-29 18:34:44 UTC</created-at>
|
271
|
+
<ends-at>2011-07-01 02:52:12 UTC</ends-at>
|
272
|
+
<scm-revision>b584a48bea9353c8950d76061d13acf1c564847e</scm-revision>
|
273
|
+
<scm-repository>git@github.com:account/project.git</scm-repository>
|
274
|
+
</deploy>
|
275
|
+
</projects>
|
@@ -5,7 +5,7 @@ HTTP/1.1 200 OK
|
|
5
5
|
<created-at type="datetime">2010-05-21T13:40:00Z</created-at>
|
6
6
|
<error-message>NoMethodError: undefined method `timezone_adjusted_traded_at' for nil:NilClass</error-message>
|
7
7
|
<group-id type="integer">1827573</group-id>
|
8
|
-
<id type="integer">
|
8
|
+
<id type="integer">1234</id>
|
9
9
|
<project-id type="integer">248</project-id>
|
10
10
|
<updated-at type="datetime">2010-05-21T13:40:00Z</updated-at>
|
11
11
|
<environment>
|
@@ -17,7 +17,7 @@ HTTP/1.1 200 OK
|
|
17
17
|
<passenger-app-spawner-idle-time>0</passenger-app-spawner-idle-time>
|
18
18
|
<http-user-agent>Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)</http-user-agent>
|
19
19
|
<rack-run-once>false</rack-run-once>
|
20
|
-
<path-info>/
|
20
|
+
<path-info>/notes</path-info>
|
21
21
|
<http-te>chunked;q=1.0</http-te>
|
22
22
|
<rack-input>#<Rack::RewindableInput:0x2ad2d6d0b9d8></rack-input>
|
23
23
|
<content-length>0</content-length>
|
@@ -27,7 +27,7 @@ HTTP/1.1 200 OK
|
|
27
27
|
<server-protocol>HTTP/1.0</server-protocol>
|
28
28
|
<action-controller-request-request-parameters></action-controller-request-request-parameters>
|
29
29
|
<server-addr>127.0.0.1</server-addr>
|
30
|
-
<http-host>
|
30
|
+
<http-host>myapp.com</http-host>
|
31
31
|
<rack-errors>#<IO:0x2ad2cc818ea8></rack-errors>
|
32
32
|
<script-name></script-name>
|
33
33
|
<remote-addr>127.0.0.1</remote-addr>
|
@@ -41,13 +41,13 @@ HTTP/1.1 200 OK
|
|
41
41
|
<http-true-client-ip>66.249.65.108</http-true-client-ip>
|
42
42
|
<action_controller.request.path_parameters>
|
43
43
|
<action>index</action>
|
44
|
-
<controller>
|
44
|
+
<controller>notes</controller>
|
45
45
|
<company-id>qek-la</company-id>
|
46
46
|
</action_controller.request.path_parameters>
|
47
47
|
<rack-multiprocess>true</rack-multiprocess>
|
48
48
|
<http-x-akamai-config-log-detail>true</http-x-akamai-config-log-detail>
|
49
|
-
<request-uri>/
|
50
|
-
<document-root>/data/
|
49
|
+
<request-uri>/notes</request-uri>
|
50
|
+
<document-root>/data/myapp/current/public</document-root>
|
51
51
|
<server-port>81</server-port>
|
52
52
|
<scgi>1</scgi>
|
53
53
|
<passenger-app-type>rails</passenger-app-type>
|
@@ -85,114 +85,114 @@ HTTP/1.1 200 OK
|
|
85
85
|
</data>
|
86
86
|
</session>
|
87
87
|
<request>
|
88
|
-
<rails-root>/data/
|
89
|
-
<url>http://
|
88
|
+
<rails-root>/data/myapp/releases/20100520043505</rails-root>
|
89
|
+
<url>http://myapp.com/uri</url>
|
90
90
|
<params>
|
91
91
|
<action>index</action>
|
92
|
-
<controller>
|
92
|
+
<controller>notes</controller>
|
93
93
|
<company-id>qek-la</company-id>
|
94
94
|
</params>
|
95
95
|
</request>
|
96
96
|
<backtrace>
|
97
|
-
<line>/data/
|
98
|
-
<line>/data/
|
99
|
-
<line>/data/
|
100
|
-
<line>/data/
|
101
|
-
<line>/data/
|
102
|
-
<line>/data/
|
103
|
-
<line>/data/
|
104
|
-
<line>/data/
|
105
|
-
<line>/data/
|
106
|
-
<line>/data/
|
107
|
-
<line>/data/
|
108
|
-
<line>/data/
|
109
|
-
<line>/data/
|
110
|
-
<line>/data/
|
111
|
-
<line>/data/
|
112
|
-
<line>/data/
|
113
|
-
<line>/data/
|
114
|
-
<line>/data/
|
115
|
-
<line>/data/
|
116
|
-
<line>/data/
|
117
|
-
<line>/data/
|
118
|
-
<line>/data/
|
119
|
-
<line>/data/
|
120
|
-
<line>/data/
|
121
|
-
<line>/data/
|
122
|
-
<line>/data/
|
123
|
-
<line>/data/
|
124
|
-
<line>/data/
|
125
|
-
<line>/data/
|
126
|
-
<line>/data/
|
127
|
-
<line>/data/
|
128
|
-
<line>/data/
|
129
|
-
<line>/data/
|
130
|
-
<line>/data/
|
131
|
-
<line>/data/
|
132
|
-
<line>/data/
|
133
|
-
<line>/data/
|
134
|
-
<line>/data/
|
135
|
-
<line>/data/
|
136
|
-
<line>/data/
|
137
|
-
<line>/data/
|
138
|
-
<line>/data/
|
139
|
-
<line>/data/
|
140
|
-
<line>/data/
|
141
|
-
<line>/data/
|
142
|
-
<line>/data/
|
143
|
-
<line>/data/
|
144
|
-
<line>/data/
|
145
|
-
<line>/data/
|
146
|
-
<line>/data/
|
147
|
-
<line>/data/
|
148
|
-
<line>/data/
|
149
|
-
<line>/data/
|
150
|
-
<line>/data/
|
151
|
-
<line>/data/
|
152
|
-
<line>/data/
|
153
|
-
<line>/data/
|
154
|
-
<line>/data/
|
155
|
-
<line>/data/
|
156
|
-
<line>/data/
|
157
|
-
<line>/data/
|
158
|
-
<line>/data/
|
159
|
-
<line>/data/
|
160
|
-
<line>/data/
|
161
|
-
<line>/data/
|
162
|
-
<line>/data/
|
163
|
-
<line>/data/
|
164
|
-
<line>/data/
|
165
|
-
<line>/data/
|
166
|
-
<line>/data/
|
167
|
-
<line>/data/
|
168
|
-
<line>/data/
|
169
|
-
<line>/data/
|
170
|
-
<line>/data/
|
171
|
-
<line>/data/
|
172
|
-
<line>/data/
|
173
|
-
<line>/data/
|
174
|
-
<line>/data/
|
175
|
-
<line>/data/
|
176
|
-
<line>/data/
|
177
|
-
<line>/data/
|
178
|
-
<line>/data/
|
179
|
-
<line>/data/
|
180
|
-
<line>/data/
|
181
|
-
<line>/data/
|
182
|
-
<line>/data/
|
183
|
-
<line>/data/
|
184
|
-
<line>/data/
|
185
|
-
<line>/data/
|
186
|
-
<line>/data/
|
187
|
-
<line>/data/
|
188
|
-
<line>/data/
|
189
|
-
<line>/data/
|
190
|
-
<line>/data/
|
191
|
-
<line>/data/
|
192
|
-
<line>/data/
|
193
|
-
<line>/data/
|
194
|
-
<line>/data/
|
195
|
-
<line>/data/
|
196
|
-
<line>/data/
|
97
|
+
<line>/data/myapp/releases/20100520043505/app/helpers/application_helper.rb:47:in `posted_time_ago'</line>
|
98
|
+
<line>/data/myapp/releases/20100520043505/app/views/notes/_in_list.html.erb:54:in `_run_erb_app47views47notes47_in_list46html46erb_locals_in_list_object_note'</line>
|
99
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'</line>
|
100
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render_without_trace_View___path__Rendering'</line>
|
101
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'</line>
|
102
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render_without_trace_View___path__Rendering'</line>
|
103
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:161:in `render'</line>
|
104
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
|
105
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:160:in `render'</line>
|
106
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render'</line>
|
107
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'</line>
|
108
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render'</line>
|
109
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'</line>
|
110
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:44:in `render_partial_without_trace_View___path__Partial'</line>
|
111
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:161:in `render_partial'</line>
|
112
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
|
113
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:160:in `render_partial'</line>
|
114
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/partials.rb:184:in `render_partial'</line>
|
115
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:267:in `render'</line>
|
116
|
+
<line>/data/myapp/releases/20100520043505/app/views/notes/_notes.html.erb:3:in `_run_erb_app47views47notes47_notes46html46erb_locals_object_notes'</line>
|
117
|
+
<line>/data/myapp/releases/20100520043505/app/views/notes/_notes.html.erb:1:in `each'</line>
|
118
|
+
<line>/data/myapp/releases/20100520043505/app/views/notes/_notes.html.erb:1:in `_run_erb_app47views47notes47_notes46html46erb_locals_object_notes'</line>
|
119
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'</line>
|
120
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render_without_trace_View___path__Rendering'</line>
|
121
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'</line>
|
122
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render_without_trace_View___path__Rendering'</line>
|
123
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:161:in `render'</line>
|
124
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
|
125
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:160:in `render'</line>
|
126
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render'</line>
|
127
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'</line>
|
128
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render'</line>
|
129
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'</line>
|
130
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:44:in `render_partial_without_trace_View___path__Partial'</line>
|
131
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:161:in `render_partial'</line>
|
132
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
|
133
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:160:in `render_partial'</line>
|
134
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/partials.rb:184:in `render_partial'</line>
|
135
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:267:in `render'</line>
|
136
|
+
<line>/data/myapp/releases/20100520043505/app/views/notes/index.html.erb:32:in `_run_erb_app47views47notes47index46html46erb'</line>
|
137
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'</line>
|
138
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render_without_trace_View___path__Rendering'</line>
|
139
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'</line>
|
140
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render_without_trace_View___path__Rendering'</line>
|
141
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:161:in `render'</line>
|
142
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
|
143
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:160:in `render'</line>
|
144
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'</line>
|
145
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render'</line>
|
146
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout'</line>
|
147
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render'</line>
|
148
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file'</line>
|
149
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:945:in `render_without_benchmark'</line>
|
150
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'</line>
|
151
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'</line>
|
152
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime'</line>
|
153
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'</line>
|
154
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'</line>
|
155
|
+
<line>/data/myapp/releases/20100520043505/app/controllers/notes_controller.rb:33:in `index'</line>
|
156
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `call'</line>
|
157
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `custom'</line>
|
158
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:175:in `call'</line>
|
159
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:175:in `respond'</line>
|
160
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:173:in `each'</line>
|
161
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:173:in `respond'</line>
|
162
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:107:in `respond_to'</line>
|
163
|
+
<line>/data/myapp/releases/20100520043505/app/controllers/notes_controller.rb:32:in `index'</line>
|
164
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send'</line>
|
165
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters'</line>
|
166
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'</line>
|
167
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters'</line>
|
168
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'</line>
|
169
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'</line>
|
170
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'</line>
|
171
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters'</line>
|
172
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'</line>
|
173
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'</line>
|
174
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'</line>
|
175
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime'</line>
|
176
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'</line>
|
177
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'</line>
|
178
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'</line>
|
179
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action_without_newrelic_trace'</line>
|
180
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:138:in `perform_action'</line>
|
181
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:62:in `trace_method_execution_with_scope'</line>
|
182
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:122:in `perform_action'</line>
|
183
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/method_tracer.rb:38:in `trace_method_execution_no_scope'</line>
|
184
|
+
<line>/data/myapp/releases/20100520043505/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:117:in `perform_action'</line>
|
185
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'</line>
|
186
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'</line>
|
187
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'</line>
|
188
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'</line>
|
189
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'</line>
|
190
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'</line>
|
191
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'</line>
|
192
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'</line>
|
193
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'</line>
|
194
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'</line>
|
195
|
+
<line>/data/myapp/releases/20100520043505/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'</line>
|
196
|
+
<line>/data/myapp/releases/20100520043505/vendor/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'</line>
|
197
197
|
</backtrace>
|
198
198
|
</notice>
|